Link to home
Start Free TrialLog in
Avatar of Shaun Wingrin
Shaun WingrinFlag for South Africa

asked on

Windows 2003 startup script

Say, there are routes added on boot of the server. What possible places are there for them to be added at boot time?
I wish to run a bat file on boot to add route, how can I do this?
It must be run even if no one logs into server.
If I add route -p Will this remain on future boots?
Avatar of jhill777
jhill777

You can do it via login script or put in the startup but that won't take effect until somebody logs in.  The static routes created should stick for future boots after that though.
Avatar of Shaun Wingrin

ASKER

How does one run a script that will take effect at boot automatically?
Edit the registry is one way.   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Create a new string value and point the value to the script.
Any other way as trying to find this route file at boot?
ASKER CERTIFIED SOLUTION
Avatar of jhill777
jhill777

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial