Starting agents and VDog MasterService as applications
On certain devices, depending on your environment, you must start either the agent or the VDog MasterService as an application rather than running it solely as a background service.
When launched as an application, the services behave like any manually started program (e.g., a web browser).
Devices that need agents or VDog MasterService started as applications
- Atlas Copco nutrunner controls (Power Focus 4000 & MACS 4000): Required for upload
- MELSOFT GX Works3: Required for comparison
- Microsoft Word: Required for comparison
- Omron CX-Programmer: Required for upload
- Omron Sysmac Studio: Required for upload
- RSLogix 5 / 500 / 5000: Recommended for upload
- SEW MOVITOOLS MotionStudio v6.20, v6.30, v6.40: Required for upload
- Siemens SINAMICS inverters: Required for upload
- Siemens TIA Portal: Required when using upload variant Software upload until V15.1
To start a service as an application, choose either Option A or Option B based on your environment and preference.
- Option A guides you through creating a shortcut that runs the agent with administrator privileges. Placing the shortcut in the startup folder allows the agent to launch automatically at login.
- Option B shows you how to start the agent from the command line and how to automate this process using a batch file.
Info
- You can use both methods to start the VDog MasterService as an application.
- Before starting the VDog MasterService or any agent as an application, ensure the related agent services (VDogUploadAgent and VDogCompareAgent) are stopped. You can stop them using Task Manager. Next, disable these services in Windows to prevent them from restarting automatically after a system reboot.
Option A. Starting agents or VDog MasterService as applications by creating a shortcut
- Open Windows Services and open the properties of the agent service.
- Copy the service path and paste it into a text editor (e.g., Notepad).
-
Modify the path to match your Windows version:
-
Windows 10 and Windows Server 2016:
Example:
Original path:Modified path:
Powershell Start-Process -Verb Runas -FilePath 'C:\Program Files (x86)\vdogAgents\VDogCompareAgent.exe' -ArgumentList '/RD:D:\vdAgentArchive','/AT:S','/app','/visible'
Ensure that all double quotes (") are replaced with single quotes (') or escaped properly if needed.
-
Older Windows Versions:
Example:
Original path:Modified path:
Info
The
/visible
parameter launches the process with a visible application window. This setting is optional.
-
-
Create a new shortcut (e.g., on your desktop).
-
Paste the modified path into the shortcut location field.
-
Select Next, assign a name to the shortcut, and select Finish.
-
If you're using a version older than Windows 10 or Windows Server 2016:
- Right-click the shortcut and select Properties.
- In the Compatibility tab, select Change settings for all users.
- Check the box for Run this program as an administrator.
-
To enable automatic startup:
- Move the shortcut to the startup folder:
C:\Users\auvesy\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
- In User Account Control (UAC) settings, set notifications to Never notify to avoid prompts during login.
- Move the shortcut to the startup folder:
Info
If UAC prompts cannot be disabled, the shortcut cannot run automatically with administrator privileges. In this case, the user must start the shortcut manually after each system restart.
Option B. Starting agents or VDog MasterService as applications via the command line
-
Run one of the following commands, based on the agent you need to start:
-
To automate startup, create a batch file that contains the required command and move the file to the startup folder. Each batch file should contain only one command.
- To start the agent manually, right-click the batch file and select Run as administrator.