Sections Automatic Worker Startup
Manual informationAutomatic Worker Startup
1.0 | May 7, 2024 | Initial Version | Team
Document conventions
Convention | Explanation |
|---|---|
Bold | For file names, commands, fields, menus, options, and window names. |
Courier New | Commands as you should type them. |
Lucida Console | Example output generated by the system. |
Italics | For configuration variables, including variable portions of file names and URLs. Also indicates a document name. |
Note / Blue Callout | The Blue Callout text indicates information that is of special interest or importance, an idea that could be useful or additional information about a product or a feature. |
| The Caution icon along with the text indicates actions that can lead to problems in system operation or configuration settings if the instructions are not followed properly. |
Revision history
This section tracks the initial creation of the document after each major version thereafter.
Ver: | Date | Description | Reviewed / Approved By |
|---|---|---|---|
1.0 | May 7, 2024 | Initial Version | Team |
Overview#
Use this procedure to configure a viewpoint Worker host machine to automatically start the Viewpoint Worker when the host machine is rebooted. Clients find this to be helpful as it streamlines the reboot process, removing the need to involve a party familiar with Viewpoint at the time of reboot.
This document assumes a working Viewpoint environment and assumes the reader is familiar with general IT terminology.
Procedure#
Follow this procedure to cause a Viewpoint Worker host machine to automatically initiate a login after reboot, and then automatically start the Viewpoint Worker application (via the click-once application web link)
Automatic Login#
This can be deployed as a group policy or set as a local registry change on each of the workers.
- Open the Windows Registry by executing “regedit.exe” at the command prompt.
- Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon - Set/create the following Key/Value pairs:
Value | Value Type | Data |
|---|---|---|
AutoAdminLogon | REG_SZ (String) | 1 |
DefaultDomainName | REG_SZ (String) | (client domain name) |
DefaultUsername | REG_SZ (String) | (Admin account username) |
DefaultPassword | REG_SZ (String) | (password for the account) |
- To test the results, restart the Viewpoint Worker host machine. After a few minutes have passed, test to see if the worker automatically logged in, before continuing with this guide. If the worker is not automatically logging in, revisit these steps until the worker is automatically logging in after being restarted. You may be able to verify that a worker is logged in by running the PMC, selecting the Worker tab and using the Remote Desktop feature to remote into the worker – if the machine has automatically logged in you should be able to quickly view the worker through the Remote Desktop window. If the worker is not responding, or seems to be going through the boot-up process, then your worker may not be automatically logging in.
Automatically launching Viewpoint Worker#
Once the Viewpoint Worker host machine is configured to automatically login as the worker user, the next step is to cause Windows to automatically open the Edge web browser and navigate to the Viewpoint Worker application.
- Open the Windows Registry by executing “regedit.exe” at the command prompt.
- Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run - Create key “VP Auto-Start” with type “REG_SZ (String)”.
- Set the data for this key to point to the Edge web browser, with the URL of the Viewpoint Worker web link. For example:
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" http://<IIS Server Name>/worker/LateralData.Consoles.WorkflowRuntimeHost.application?server=<Processing SQL Server>
..You will need to populate the following values with your specific installation’s values:
<IIS Server Name> : The URL of the IIS Server which hosts the Viewpoint Worker web link
<Processing SQL Server> :The name of the MSSQL instance that the Viewpoint Worker should attach to
