Changing Windows timezone from the command line

To change the timezone from the command line in Windows, type the following at the prompt and press enter. This will open up the timezone setting window from the Control Panel.

RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z US Eastern Standard Timep

In a limited access account, (all members of the USER group) you can run this command using Runas.

runas /u:%computername%\administrator cmd

followed by

RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z US Eastern Standard Timep

This method works in both XP and Vista.

[src]

Leave a Reply