My PC running in Windows 2000 Server has 2 network card. Somehow, after booting up, the IP address set for both network card is always gone. So I need to manually set it back, thus it is very troublesome for me. Thus I write a script and put in the startup.
Echo Setting IP Address for Interface "LAN"
netsh interface ip set address "LAN" static 22.214.171.124 255.255.255.0
Echo Setting IP Address for Interface "Internet"
netsh interface ip set address "Internet" static 126.96.36.199 255.255.255.240 188.8.131.52
netsh interface ip set dns "Internet" static 184.108.40.206
netsh interface ip add dns "Internet" 220.127.116.11
Echo Setting of IP completed.
However, this will only be activate when I log in.
How can I set the IPs after booting up automatically, because I am planning to schedule for a auto-reboot every morning.