QZ Tray as "Windows Service"

70 views
Skip to first unread message

baij...@gmail.com

unread,
Feb 12, 2021, 11:39:46 AM2/12/21
to qz-print

Hi,

We are planning to setup QZ Tray for our organization users as QZ Tray as "Windows Service".

As a testing phase, I am following the guidelines given in "Wiki-Windows Service" section

I am stuck up with following steps or  Not clear with following steps. 

Especially the step1 not  clear to me.

----------

  1. Warning: Services can NOT show the "Trusted" dialog. If not already...
    • Visit a website with the certificate that needs to be whitelisted.
    • Click "Remember this decision". This will save a file allowed.dat to %APPDATA%\qz.
  2. Open a command prompt As Administrator
  3. Create a .bat file that can launch QZ Tray
    echo wmic.exe process where "Name like '%%java%%' and CommandLine like '%%qz-tray.jar%%'" call terminate>"%PROGRAMFILES%\QZ Tray\qz-tray.bat"
    echo java.exe -Xms512M -jar "%~dp0qz-tray.jar" %*>> "%PROGRAMFILES%\QZ Tray\qz-tray.bat"
  4. Make a location for SYSTEM certificate whitelist
    mkdir "%WINDIR%\System32\config\systemprofile\AppData\Roaming\qz"
  5. Copy the allowed.dat to the SYSTEM profile
    copy /Y "%APPDATA%\qz\allowed.dat" "%WINDIR%\System32\config\systemprofile\AppData\Roaming\qz\allowe
-----------


I appreciate if anyone would assist me with the above steps .

Thank you.

Regards,
Baijumon 

Baijumon Mani

unread,
Feb 12, 2021, 11:42:54 AM2/12/21
to qz-p...@googlegroups.com

Hi,

 

We are planning to setup QZ Tray for our organization users as QZ Tray as "Windows Service".

 

As a testing phase, I am following the guidelines given in "Wiki-Windows Service" section.

 

I am stuck up with following steps or  Not clear with following steps. 

 

Especially the step1 not  clear to me.

 

----------

 

  1. Warning: Services can NOT show the "Trusted" dialog. If not already...
    • Visit a website with the certificate that needs to be whitelisted.
    • Click "Remember this decision". This will save a file allowed.dat to %APPDATA%\qz.
  2. Open a command prompt As Administrator
  3. Create a .bat file that can launch QZ Tray

4.  echo wmic.exe process where "Name like '%%java%%' and CommandLine like '%%qz-tray.jar%%'" call terminate>"%PROGRAMFILES%\QZ Tray\qz-tray.bat"

echo java.exe -Xms512M -jar "%~dp0qz-tray.jar" %*>> "%PROGRAMFILES%\QZ Tray\qz-tray.bat"

  1. Make a location for SYSTEM certificate whitelist

mkdir "%WINDIR%\System32\config\systemprofile\AppData\Roaming\qz"

  1. Copy the allowed.dat to the SYSTEM profile

copy /Y "%APPDATA%\qz\allowed.dat" "%WINDIR%\System32\config\systemprofile\AppData\Roaming\qz\allowe

-----------

 

 

I appreciate if anyone would assist me with the above steps.

 

Thank you.

 

Regards,

Baijumon Mani

System Administrator

 

E  bm...@herculesslr.com

P  902-482-3125 X 249

C 902-402-4257

 


Hercules Group of Companies

520 Windmill Road

Dartmouth, Nova Scotia B3B 1B3

 

THEHERCGROUP.COM

 

Don’t forget to stay connected with us on Facebook, Twitter, LinkedIn and Instagram for our latest news, updates and offers.

 

      

 

Lite Finocchiaro

unread,
Feb 12, 2021, 11:56:49 AM2/12/21
to baij...@gmail.com, qz-print
Baijumon:

The first step is with regards to signing.


We don't help with self-signed certificates on this list, but if you have a license, we'll be happy to assist.

You can also buy a license at https://buy.qz.io

Feel free to reply to me off-list with any questions.

Kind regards,

Lite Finocchiaro
VP, QZ Industries

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/de20b193-af4c-4f80-854b-1ca46b052f23o%40googlegroups.com.

Lite Finocchiaro

unread,
Feb 12, 2021, 12:00:41 PM2/12/21
to Baijumon Mani, qz-p...@googlegroups.com
Baijumon:

I have replied in a separate email.

Kind regards,

Lite Finocchiaro
VP, QZ Industries
--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.

Baijumon Mani

unread,
Feb 12, 2021, 12:21:45 PM2/12/21
to Lite Finocchiaro, qz-p...@googlegroups.com

Hi Lite,

 

Thank you.

 

I have not received your email.

 

Could you please resend it.

baij...@gmail.com

unread,
Feb 12, 2021, 12:55:54 PM2/12/21
to qz-print
Hi Lite,

Yes , we have a license from QZ tray.

 
To unsubscribe from this group and stop receiving emails from it, send an email to qz-p...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages