Re: change time zone
From: Sameh Ahmed (essoplus_at_hotmail.com)
Date: 02/23/04
- Next message: Eimis: "setting time zone"
- Previous message: Glenn V.: "can you sendTelnet commands with VBscript"
- In reply to: Torgeir Bakken (MVP): "Re: change time zone"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 00:21:46 +0200
that was quick answering the 2 questions : )
thanks
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:403A7702.F7156813@hydro.com...
> Sameh Ahmed wrote:
>
> > hello there
> > is there a way to change the time zone through WMI?
> > Win32_TimeZone does not have any methods.
>
> Hi
>
> Time zone change using the command line utility Control.exe (Win2k/WinXP):
>
>
> Control.exe TIMEDATE.CPL,,/Z (GMT-08:00) Pacific Time (US & Canada);
Tijuana
>
> alternatively:
> RUNDLL32.EXE SHELL32.DLL,Control_RunDLL TIMEDATE.CPL,,/Z (GMT-08:00)
Pacific
> Time (US & Canada); Tijuana
>
> where '(GMT-08:00) Pacific Time (US & Canada); Tijuana' is the timezone to
be
> set.
>
> Input value behind /Z is from the Display value under the registry key
> 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones'
>
> You can use the Std value in those registry keys as well, this is
equivalent
> with "(GMT-08:00) Pacific Time (US & Canada); Tijuana":
>
> Control.exe TIMEDATE.CPL,,/Z Pacific Standard Time
>
>
> --
> torgeir
> Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of the 1328 page
> Scripting Guide: http://www.microsoft.com/technet/scriptcenter
>
>
- Next message: Eimis: "setting time zone"
- Previous message: Glenn V.: "can you sendTelnet commands with VBscript"
- In reply to: Torgeir Bakken (MVP): "Re: change time zone"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|