Tech Support > Operating Systems > Windows 2000 > Running a batch file or script at boot without login
Running a batch file or script at boot without login
Posted by Ahmed on January 16th, 2004


Does anyone know how to run a batch file or VB script at
server start without login to the server.

Posted by Torgeir Bakken (MVP) on January 16th, 2004


Ahmed wrote:

Hi

Create e.g. a scheduled task that is configured to run at computer startup.


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter



Posted by David H. Lipman on January 16th, 2004


Create the script and then edit the Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\RunServices

Create a String Value with a description of the script and then put the fully qualified path
to the script in for the Value Data.

Dave



"Ahmed" <anonymous@discussions.microsoft.com> wrote in message
news:042201c3dc79$3b8c4d70$a101280a@phx.gbl...
| Does anyone know how to run a batch file or VB script at
| server start without login to the server.