Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing time zones 1

Status
Not open for further replies.

blackrabbit

IS-IT--Management
Joined
Aug 22, 2002
Messages
204
Location
US
We have several pc's in our domain with the wrong timezone set. I remote desktop into them and change the timezone and the time but then after i log out of the remote desktop session it just changes back to what it was before. Is there anyway I can fix this?
 
To change the value you have to be on the remote computer a member of the local administrator group. It is likely your are domain admin, but not local admin.
 
blackrabbit,

The info is stored in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation.

Only a local Administrator can access HKEY_LOCAL_MACHINE to change this (as bcastner has pointed out) so one way would be to use Fast User Switching to login locally as Administrator to make the change.

Another way would be to export this key to a REG file then, on the remote PC, use RunAs (as Administrator) on regedit.exe then import the REG file.

This is OK on a few PC's but may be tedious if you needed to make the changes on a large number of PC's. If so then it may be easier to script regedit.exe using either SENDKEYS or the excellent freeware SANUR.EXE (available from You could then package this up as a self-executable run from login if needs be.

Hope this helps...

Rick
 
A star from me.
A much better answer than I attempted.

Bill
 
Bill,

Thanks for star. Spooky we roam similar forums.

(PS - I looked at 'Tek-Tips in the UK' forum [earlier post of yours somewhere else here] but couldn't make head nor tail of the post headers... so retreated without delving further! I agree with you... Brits are weird.)

 
Rick,

Two nations seperated by a common language.
 
Bill,

You are joking? Humor v humour? Color v Colour?

How come you folks keep dropping perfectly good consonants? <ROFL>

Regards,

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top