Integration with Other Applications > Windchill Workgroup Manager Documentation > SolidWorks > Administration and Configuration > Configuring Business Practices with SolidWorks > Using a File Synchronization-Capable Worker with Windchill Workgroup Manager > Configuring the Worker > Defining the Variable PTC_WGM_ROOT Folder Location to Create Application Data with SolidWorks
  
Defining the Variable PTC_WGM_ROOT Folder Location to Create Application Data with SolidWorks
File synchronization may not function if a SolidWorks worker is started from the "GS Worker Daemon" service on the Windows XP x64 (64-bit) platform. This issue is known to affect SolidWorks 2009, 2010 x64, and later editions. This configuration issue can be addressed by setting a fixed PTC_WGM_ROOT location by adding a SYSTEM level environment variable for PTC_WGM_ROOT:
1. Install the Creo View Adapter and Windchill Workgroup Manager on the worker target machine where SolidWorks is already installed.
2. Set the system level environment variable PTC_WGM_ROOT to the desired folder location (i.e., where the Windchill Workgroup Manager Application Registry should be created, e.g., C:\PTC\WGM).
3. Run the Windchill Workgroup Manager client, register SolidWorks, and close the Windchill Workgroup Manager client.
4. Set the system level environment variable PRO_MACHINE_TYPE=x86e_win64.
5. Reboot the machine.
6. Configure the "GS Worker Daemon" as Windows Service (for SolidWorks only: with the logon as "local SYSTEM account" and "Allow service to interact with the desktop" checked).
If problems persist, this problem is only affecting file-synchronization enabled workers started from the "GS Worker Daemon" service. Perform one of the following:
Disable file synchronization on the Windchill server, by removing the "useworkerdownload" argument and value from the publish.cadconvert.<AuthoringApplication> property in wvs.properties (use the xconfmanager command or edit the site.xconf and propagate with "xconfmanager -p").
Stop the "GS Worker Daemon" service and start it manually in a foreground login session on the worker machine, using the command "<PV_Adapters>\i486_nt\obj\WorkerDaemon", which will start the daemon listening on default port 601.  To start it on another port, add the desired port as the only argument to the command, e.g. "<PV_Adapters>\i486_nt\obj\WorkerDaemon 602".