CompleteView™ Tech Note: Running Admin Console as a Service CompleteView™ Version 4.7.1
TableofContents
Introduction ................................................................................................. 3
Configuring Admin Console as a Service using Windows 7 ...................... 4
Configuring Admin Console as a Service using Windows Server 2008 .. 12
Additional Resources ................................................................................ 20
Tech Note: Running Admin Console as a Service Page 3
Introduction Configuring CompleteView’s Admin Console to run as a Windows Service provides a way for Admin Console to start automatically when the computer boots. This configuration is most helpful for organizations that rely on Admin Console’s email notifications. If a computer running Admin Console loses power or turns off for any reason, this configuration will ensure Admin Console begins running automatically without requiring a user to log into the computer and start Admin Console.
Tech Note: Running Admin Console as a Service Page 4
Configuring Admin Console as a Service using Windows 7
1. Ensure Admin Console is configured as desired. This should include making sure email notification will send successfully by using the ‘Send Test Email’ function of the Admin Console’s Session Settings.
2. Save the Admin Console Session from File‐>Save Session. Make sure the
file name does not contain any spaces.
3. It is necessary to obtain two files from the Windows Resource Kit. The two files are instsrv.exe and srvany.exe. Download and install the Windows Resource Kit and copy the files to the target computer which Admin Console will be configured to run as a service.
a. The Windows Server 2003 Resource Kit can be downloaded here.
Note: A separate computer running the target operating system for the resource kit installer may be
required to install the resource kit and obtain the files. Contact Salient System for assistance with
obtaining the correct files.
Tech Note: Running Admin Console as a Service Page 5
4. In the C:\ drive create a new folder called ‘reskit’.
5. Copy instsrv.exe and srvany.exe files, obtained in step 3, to the C:\reskit folder.
6. Copy the Admin Console session file to the c:\reskit
7. Open the Windows Command Prompt (from Start->Run; type ‘cmd’)
Tech Note: Running Admin Console as a Service Page 6
8. Type ‘cd c:\reskit’ and press Enter.
9. The next command will create the service. Type instsrv “Admin Console” c:\reskit\srvany.exe
10. The new service will apear in the Services list of Windows. The service must now be associated Admin Console. Open Widnows Registry Editor. Click Start->Run; type regedit and press Enter.
Tech Note: Running Admin Console as a Service Page 7
11. Navigate to HKEY_LOCAL_MACHINE ‐> SYSTEM ‐> CurrentControlSet ‐> Services ‐> Admin Console
Tech Note: Running Admin Console as a Service Page 8
12. Right Click on Admin Console and choose New -> Key
13. Name the Key ‘Parameters’.
14. Right Click and choose New -> String Value
Tech Note: Running Admin Console as a Service Page 9
15. Name the String Value ‘Application’. Right click on the ‘Application’ String Value and choose ‘Modify’. Enter "C:\Program Files\CompleteView\AdminConsole.exe" c:\reskit\AdminConsoleConfig.acsf as the Value Data.
16. Click OK and close Windows Registry Editor.
Tech Note: Running Admin Console as a Service Page 10
17. Open the Windows Service list. From Control Panel click Administrative Tools -> Services. Right click on the Admin Console service and choose Properties.
18. Click the Log On tab and check “Allow service to interact with desktop”. Click OK.
Tech Note: Running Admin Console as a Service Page 11
The configuration is now complete. The service will start the next time Windows boots. To test the service right click on the “Admin Console” from the Windows Services list and choose ‘Start’.
Tech Note: Running Admin Console as a Service Page 12
Configuring Admin Console as a Service using Windows Server 2008 1. Ensure Admin Console is configured
as desired. This should include making sure email notification will send successfully by using the ‘Send Test Email’ function of the Admin Console’s Session Settings.
2. Save the Admin Console Session from File‐>Save Session. Make sure the
file name does not contain any spaces.
3. It is necessary to obtain srvany.exe from the Windows Resource Kit. Download and install the Windows Resource Kit and copy srvany.exe to the target computer which Admin Console will be configured to run as a service.
a. The Windows Server 2003 Resource Kit can be downloaded here.
Note: A separate computer running the target operating system for the resource kit installer may be
required to install the resource kit and obtain the files. Contact Salient System for assistance with
obtaining the correct file.
Tech Note: Running Admin Console as a Service Page 13
4. In the C:\ drive create
a new folder called ‘reskit’.
5. Copy srvany.exe, obtained in step 3, to the C:\reskit folder.
6. Copy the Admin Console session file to the c:\reskit
7. Open the Windows Command Prompt (from Start->Run; type ‘cmd’)
Tech Note: Running Admin Console as a Service Page 14
8. Type ‘cd c:\reskit’ and press Enter.
9. Use the "sc" command to create a new service that launches "srvany" (e.g. sc create AdminConsole binPath= C:\reskit\srvany.exe DisplayName= "Admin Console")
10. The new service will apear in the Services list of Windows. The service must now be associated Admin Console. Open Widnows Registry Editor. Click Start->Run; type regedit and press Enter.
Note: Make sure the spaces exist after the “=” sign in the command above.
Tech Note: Running Admin Console as a Service Page 15
11. Navigate to HKEY_LOCAL_MACHINE ‐> SYSTEM ‐> CurrentControlSet ‐> Services ‐> AdminConsole
Tech Note: Running Admin Console as a Service Page 16
12. Right Click on Admin Console and choose New -> Key
13. Name the Key ‘Parameters’.
Tech Note: Running Admin Console as a Service Page 17
14. Right Click and choose New -> String Value
15. Name the String Value ‘Application’. Right click on the ‘Application’ String Value and choose ‘Modify’. Enter "C:\Program Files\CompleteView\AdminConsole64.exe" c:\reskit\AdminConsoleConfig.acsf as the Value Data.
16. Click OK and close Windows Registry Editor.
Tech Note: Running Admin Console as a Service Page 18
17. Open the Windows Service list. From Control Panel click Administrative Tools -> Services. Right click on the AdminConsole service and choose Properties.
18. Click the Log On tab and check “Allow service to interact with desktop”. Click OK.
Tech Note: Running Admin Console as a Service Page 19
The configuration is now complete. The service will start the next time Windows boots. To test the service right click on the “AdminConsole” from the Windows Services list and choose ‘Start’.
Tech Note: Running Admin Console as a Service Page 20
Additional Resources
Visit the Salient website, www.salientsys.com, for additional support and CompleteView training:
Manuals & Documentation (http://www.salientsys.com/support/manuals‐and‐documentation/) – Includes Administrator’s Manual, Client User Manuals (including Video, Alarm and Web clients), How To Guides and Tips.
Online Tech Support (http://www.salientsys.com/support/– Get quick access to online tech support modules that cover the most frequently asked product questions, such as “Adding and Moving IP Camera Licenses.”
Training http://www.salientsys.com/support/training/ – we offer both online and classroom training. o CompleteView™ Online Certification - Register online for access to interactive training modules
covering the Video, Alarm, Mapping and Web clients o CompleteView™ Classroom Certification - Our traditional classroom training is available
throughout the United States. Please visit the Salient website for link to online training, training calendar, agenda and registration
©2016 Salient Systems Corporation. Company and product names mentioned are registered trademarks of their respective owners.
Salient Systems 4616 W. Howard Ln. Building 1, Suite 100 Austin, TX 78728 512.617.4800 512.617.4801 Fax www.salientsys.com