Modify "Change the Time Zone" settings with a script?
-
Monday, December 10, 2012 11:27 AM
Hi,
Since the "Change the Time Zone" rights are not registry keys, how am I supposed to change that with a script?
I can't just use the import/export in secpol.msc, too many servers that runs different softwares. secpol.msc would override everything.
All Replies
-
Monday, December 10, 2012 12:35 PM
Please see this to do it via scripting: http://blogs.technet.com/b/latam/archive/2008/10/16/argentinadstoption1.aspx
This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
-
Monday, December 10, 2012 12:58 PM
Hi X,
I wasn't trying to change the TZ .. but to modify the corresponding item in gpedit.msc, I want to remove everyone but "Local Service" in the "Modify Time zone" item.
-
Tuesday, December 11, 2012 8:07 AMModerator
Hi,
Firstly, if you have set up a domain, you can deploy the police to your domain by referring to Group Policy Planning and Deployment Guide.
If not, you can refer to Time Zone - Allow or Prevent Users and Groups from Changing.
In addition, if you would like to achieve via script, it is recommended to address the question in Scripting Forums for better assistance.
Hope this helps.
Jeremy Wu
TechNet Community Support- Proposed As Answer by Jeremy_WuMicrosoft Contingent Staff, Moderator Thursday, December 13, 2012 6:08 PM
- Marked As Answer by Jeremy_WuMicrosoft Contingent Staff, Moderator Saturday, December 15, 2012 4:55 AM


