TonyMiles Posted February 18, 2011 Posted February 18, 2011 I've just taken over at a Primary school that has a 2008 R2 Server and 90 win 7 clients all on static ip's. I need to enable DHCP on all machines and I was hoping to achieve this by using GPO. I have a bat files that runs netsh commands which works on XP and only works on win 7 when I 'Run as administrator' needless to say when I deploy it via GPO nothing happens. Is there any way I can run the script with the admin credentials? Thanks in advance Tony
McBridge Posted February 28, 2011 Posted February 28, 2011 Are you setting it as a computer startup script in GP or a user logon script? My understanding of it is if it is applied by GP as a computer startup script it should be running with system privilages which should get the job done. If it still does not work I think you would need a vbs script that elevates its permisions before preforming the task. Hope this helps.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now