Edit Local Group Policy from command line?
I have some Windows 7 PC which are not in a domain, I need to disable the ability for any user(Inc. Admins) to change the time of these PCs. The setting for this is: "Computer Configuration / Windows Settings / Security Settings / Local Polices / User Rights Assignment / Change the system time" How can I do this from the command line so I can put it into a script? If there isn't a way to control gpedit from the command line, is there a registry key I can change to get the same result? Thanks
January 26th, 2012 6:39am

That doesn't help, that is just for opening a remote GUI to edit the policy on another computer. I need to make changes from the command line.
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2012 6:48am

http://technet.microsoft.com/en-us/library/cc737822(WS.10).aspx
January 26th, 2012 8:45am

http://technet.microsoft.com/en-us/library/cc737822(WS.10).aspx Thats the link i got the info i posted up (before deleting my post) as far as i can see, apart from launching group policy from command line and running gpresult and gpupdate there is no command line utility for changing the local group policies. i have heard there are some cmdlets in powershell which may be able to do the job but im not 100% sure on that.
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2012 8:55am

anyone have any luck with this?!?!?! I'm in the same boat as dunn... I have used powershell if anyone one knows or has a cmdlet that would let me set what users can change the date and time that would be a big help
May 18th, 2012 11:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics