Configuring the Worker Daemon to automatically start when a user logs in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Configuring the Worker Daemon to automatically start when a user logs in
Version: Windchill 12.1
Use Case: Configured the Worker Daemon to automatically start when a user logs in. Followed steps mention in PTC article - CS93677. Steps: 1. Create a Windows shortcut on the user's desktop for the WorkerDaemon.exe: The WorkerDaemon.exe is located in the i486_nt\obj sub-folder of the adapters installation For example, here: C:\PTC\creo_view_adapters\i486_nt\obj\WorkerDaemon.exe Note: Starting Creo View Adapter 6.0, WorkerDaemon.exe location has been changed to C:\PTC\creo_view_adapters\x86e_win64\obj\WorkerDaemon.exe 2. Right-click on the shortcut and select Properties 3. Modify the shortcut's Target: Append the port number on which the Worker Daemon should listen for connections from the WVS Worker Agent For example: C:\PTC\creo_view_adapters\i486_nt\obj\WorkerDaemon.exe 601 Where 601 is the port number that the Worker Daemon will listen on and the Worker Agent should be configured to connect to 4. Right Click on Start menu > Run and: Type shell:startup and press OK 5. The Startup folder location opens in Windows Explorer, e.g. C:\Users\\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup 6. Copy the WorkerDaemon.exe shortcut you created at Step 1 and paste it into the Startup folder 7. Verify that the Worker Daemon will launch automatically on windows startup by checking the system configuration: 7-1. Click Start > Run 7-2. Enter msconfig in the Run field and click OK 7-3. Select the Startup tab and verify that the PTC Creo View Worker Daemon entry is there. Issue 1 : Can't see the Startup tab to verify that the PTC Creo View Worker Daemon entry. Issue 2 : Tried using registry editor(using service account), it allows CAD Worker to auto start in foreground but when I tried to start CAD Worker, it gets failed.
Description:
Configured the Worker Daemon to automatically start when a user logs in.
Followed steps mention in PTC article - CS93677.
Steps:
1. Create a Windows shortcut on the user's desktop for the WorkerDaemon.exe:
The WorkerDaemon.exe is located in the i486_nt\obj sub-folder of the adapters installation
For example, here: C:\PTC\creo_view_adapters\i486_nt\obj\WorkerDaemon.exe
Note: Starting Creo View Adapter 6.0, WorkerDaemon.exe location has been changed
to C:\PTC\creo_view_adapters\x86e_win64\obj\WorkerDaemon.exe
2. Right-click on the shortcut and select Properties
3. Modify the shortcut's Target:
Append the port number on which the Worker Daemon should listen for connections from the WVS Worker Agent
For example: C:\PTC\creo_view_adapters\i486_nt\obj\WorkerDaemon.exe 601
Where 601 is the port number that the Worker Daemon will listen on and the Worker Agent should be configured to connect to
4. Right Click on Start menu > Run and:
Type shell:startup and press OK
5. The Startup folder location opens in Windows Explorer, e.g. C:\Users\<account>\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
6. Copy the WorkerDaemon.exe shortcut you created at Step 1 and paste it into the Startup folder
7. Verify that the Worker Daemon will launch automatically on windows startup by checking the system configuration:
7-1. Click Start > Run
7-2. Enter msconfig in the Run field and click OK
7-3. Select the Startup tab and verify that the PTC Creo View Worker Daemon entry is there.
Issue 1 : Can't see the Startup tab to verify that the PTC Creo View Worker Daemon entry.
Issue 2 : Tried using registry editor(using service account), it allows CAD Worker to auto start in foreground but when I tried to start CAD Worker, it gets failed.
- Tags:
- Worker Daemon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I just create a Windows scheduled task to do this, triggered on login. Then the next step is to enable automatic login on boot so it comes up after Windows patching restarts.
With what you have, just check the Windows Task Manager for the WorkerDaemon.exe process to confirm it is running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @mmeadows-3, @HelesicPetr, @avillanueva,
Do you have any reference article for this or can you please provide me steps.
Actually, I tried this one but didn't get expected output so that is the reason I am checking with PTC Community.
Suppose, if Worker Daemon gets crashed then how I can get notified and also scheduler should restart upon crashed event.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You could write a cmd file, where you can check if the deamon service/process is run
If not, run it again and send an email.
Plan this cmd file to be run every 5 minutes by windows schedule.
Done.
PetrH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
What forced you down this route? What workers are you using? Are you running this on a Windows Server or a normal windows system?
