I have this code (.bat file) that I want to run by going to each computer that is logged in and executing it. However, not all users have admin rights. Is there anything I can do without logging off to change the IP's from static to DHCP?
netsh interface ip set address name="Local Area Connection" source=dhcp
netsh interface ip set dns name="Local Area Connection" source=dhcp
Domain Computershave read access to. If you're putting it in sysvol, it already has this permission. Also, it only runs at startup so reboot. If you link it at the domain level, it's going to apply to every computer in the domain including your servers. I doubt you actually want to do this. – MDMarra Dec 05 '12 at 16:54Computerscontainer is a special object. The top-levelUserscontainer is also the same way, if you notice. Neither of them are, technically, OUs (even though they look like it), they're default containers and cannot have a Group Policy directly linked to them. You should make an OU (or OU tree) for your computer objects and put your computers in there so that you can apply Group Policy Objects to them. – MDMarra Dec 05 '12 at 16:59gpupdate /forceon it to get the new policy immediately after moving it, then reboot and make sure you're good. If you are, move the rest. – MDMarra Dec 05 '12 at 17:08Domain Computersgroup? – MDMarra Dec 05 '12 at 17:10Domain Computersgroup is not part of Authenticated users, and of course it needs to be shared. How else would the computers have access to the script if it isn't shared? A standard place to put this is the sysvol share for the domain. It sounds like you might need to read through some TechNet articles about Group Policy design and implementation before you go any farther. Group Policy is very powerful and you should have a much better understanding of how it works before you go any farther. It's a very dangerous thing if you don't know what you're doing. – MDMarra Dec 05 '12 at 17:22