Интеграция с другими приложениями > Документация Windchill Workgroup Manager > CATIA 3DEXPERIENCE > Администратор > Administration and Configuration for CATIA 3DEXPERIENCE > Theorem Worker Setup > Installing and Configuring Theorem Worker > Configuring Theorem Worker to Run as a Service
  
Configuring Theorem Worker to Run as a Service
As an option, you can configure the Theorem Worker to run automatically as a service. If you choose to configure this option, be aware that when errors occur, the error messages are recorded in a log. To view these messages, you must check the log file located in the Theorem Worker installation directory.
* 
Before beginning the following configuration procedure, Theorem Worker and your server must already be configured as described in Configuring the Windchill Server-side Worker Agent for Theorem Worker
To configure the worker to run as a service:
1. On the client machine where Theorem Worker is installed, open a command prompt window.
2. Change the directory to <Theorem installation location>\i486\obj, and then enter the following:
WorkerDaemon.exe -install
3. Access the Windows Services window (services.msc) and confirm that GS Worker Daemon is listed with a startup type of Automatic.
If it is not listed, confirm that Theorem Worker has been configured.
4. View the properties of the GS Worker Daemon service.
On the Log On tab, select This account. Enter the user name and password for the Windows user account that installed the Windchill Workgroup Manager and Theorem Worker software.
5. From a command line, enter set.
This command shows all environment variables. Make a note of the HOMEDRIVE and HOMEPATH settings.
6. From the catia6_setup directory in the Theorem installation location, open the catia6worker.bat file.
7. Set the HOMEDRIVE and HOMEPATH environment variables to match the settings that you noted in the previous step.
For example:
set HOMEDRIVE=C:
set HOMEPATH=\users\ptcuser
8. Reboot the client machine, but do not log in.
Theorem Worker now runs automatically as a service.
* 
You can log on to the worker if necessary. However, do not attempt to run WorkerDaemon.exe manually while the service is running.