Question:

How would I write a script to automatically run the VNC service in Server 2003 after a reboot?

by  |  earlier

0 LIKES UnLike

I am experiencing an issue currently where some of our users require to use VNC to remote into a server to run certain applications. The issue is that after the Windows Server 2003 is rebooted for some reason the VNC service will not automatically start unless I manually login as an admin into the server via remote desktop or in person. Is it possible to write a script that would run after a reboot and automatically start the VNC service? If so, can anyone give me some pointers as I have no experience in writing scripts.

Thanks :)

 Tags:

   Report

1 ANSWERS


  1. Check the vnc service in the services window, and make sure it is set to automatic, log on is set to autostart and service is local system account and allowed to interact with the desktop.  I have this set on 6 servers, and the service autostarts without a problem on reboot.  Getting scripts to run after restart without logon are usually chancy at best, but you could put something in the scheduled tasks that runs at system startup if the above fails.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.