I need to lockdown the system time on a number of PCs via gpedit.msc and then removing administrators from the group and then adding 'administrator' and 'polling'. Can I do this via a script?
Essentially I have to;
Run gpedit.msc
Computer Configuration
Windows Settings
Security Settings
Local Policies
User Rights Assignment
Double Click Change the system time
Select Administrators > Click Remove
Click Add User or Group
Type Administrator > Click Check Names
Type polling > Click Check Names
OK > Apply > OK
Logoff
I have to do this for a huge number of computers so is there a batch file I could run on each PC to do this? Your help would be very much appreciated.