Window's interactive services stops ZBot on Vista/7/8/10

July 04, 2019


You have installed ZBot as a service on a Windows Vista, 7, 8, or 10 OS and are attempting to use it for automation integration. While you can fire off the ZBot from inside Zephyr, nothing happens on the machine


Newer versions of Windows (Vista, 7, 8, 10) have the 'interactive service' that is supposed to enhance security by not allowing services to open other programs that have a graphical user interface


Conduct the following steps on the machine that is hosting the ZBot.

  1. Change the ZBot service so it starts manually, not automatically. To do so, navigate to your services window via Start->Program Files->Admin Tools/Services. Select the ZBot Service. Stop the service. Right click to open its properties and toggle startup type to Manual
  2. Navigate to the ZBot bin folder: %ZBOT_HOME%\bin
  3. Create a shortcut of the batch file, Zbot.bat
  4. Give that shortcut administrator privileges by right clicking the shortcut and going to Properties->Advanced->Check 'Run As Administrator'->'Ok' on both screens
  5. Copy this shortcut into the Start-up folder for the user who will be logged in while ZBot is running, folder location at:
    C:\Users\<YOUR_USER>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  6. Restart machine
  7. A command line window will open. Please leave it open on the machine. The ZBot process will end if this window is closed
  8. The ZBot will now successfully interact with the desktop