Automate time Zone selection, what am I doing wrong?

P

Paul O'Donnell

Hi folks

I started out with the desire to set timezone via group policy, but found
that wasn't possible, and that I need a script that runs the command...
control.exe timedate.cpl,,/Z [Time_zone]

So being in the UK, I tried...
control.exe timedate.cpl,,/Z (GMT) Greenwich Mean Time :Dublin, Edinburgh,
Lisbon, London

And all it does is bring up the time zone control panel window but makes no
changes.

What am I doing wrong here?

Paul
 
T

Ted King

You need to use the command line
Control.exe TIMEDATE.CPL,,/Z Greenwich Standard Time

to effect the change you want. I haven't been able to get the full strings
to work, but the standard strings do work.

Enjoy,
Ted
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top