Client has a SBS 2003 server with XP computers. When two people are out a client they run an application that demands that they have static IP address. They can then use a x-over cable to connect the two computers together and share this application. I have created two batch files that each users runs. One batch file assigns 192.168.0.10 and the other 192.168.0.20 to there computers. I have created a third batch file that the user is suppose to run to reset there IP configuration back to DHCP. I have called this batch file BackinOffice.bat
netsh interface ip set address name = "Local Area Connection" source = dhcp
netsh interface ip set dns name = "Local Area Connection" source = dhcp
What seems to be happening is that the users are forgetting to run BackinOffice.bat before they shutdown their computers in field. So when they get back to the office and log in they have no access to any network recourses because our internal IP address scheme is 10.0.0.X.
I would like to have the BackinOffice.bat run on every computer when they boot up in the office automatically. Of course I would not this batch file to run on any of our three servers when they are rebooted. I am think that Group Policies is the best way to accomplish this but unsure of how to do this.
Thanks for your help.