FAQ TWedge
How Can I Setup TWedge 3 to Run As Service
How Can I Setup TWedge 3 to Run As Service
For manual configuration, follow the instructions in the user manual Appendix D: Run TWedge as Service
For scripting these configuration steps (e.g. as part of a custom setup), follow the guide below:
Specify the TWG file that should be automatically opened by the service during startup:
- Navigate to the following file:
C:\ProgramData\TEC-IT\TWedge\3.6\twedge.bcopt
- Edit or overwrite this file with your presets.
- Enter the full path to the TWG configuration file in the designated XML node:
<ServiceConfigFile>>C:/Project/MyTWedgeConfig.twg</ServiceConfigFile>
- After making changes to this file, if the service is already running, it must be restarted. This can be done using the following commands:
net stop "TEC-IT TWedge" net start "TEC-IT TWedge"
To configure the service to start automatically when the system boots, execute the following command:
sc config "TEC-IT TWedge" start=auto
It's possible to configure the service to allow interaction with the Desktop, although this functionality cannot be guaranteed. Use the following command:
sc config "TEC-IT TWedge" type=interact type=own
All commands must be executed with Admin permissions, e.g. via Admin console.