How can I get W7 to update the clock from the internet on boot?

Not sure, but couldn't you adjust the timezone by an hour in Windows? I can't think of any knock on effect unless you're joining a domain.
 
Put a batch file in startup containing...

w32tm /resync

Though this may error if the time service is set to manual start.
In which case edit the file to be...

sc start W32Time
w32tm /resync
sc stop W32Time

Which should work, though does depend on NTP etc being set up and working.

edit: actually, forget the start up folder have a look at task scheduler and see what triggers there are, should be one for on boot/startup that will run it earlier than you having to log on and it getting around to processing the start up group.
 
Last edited:
Not sure, but couldn't you adjust the timezone by an hour in Windows? I can't think of any knock on effect unless you're joining a domain.
Hmm, I've just tried that doesn't seem to work, I set my timezone to Amsterdam, and even then my clock was an hour out after rebooting into OSX then back to W7.
Though this may error if the time service is set to manual start.
In which case edit the file to be...

sc start W32Time
w32tm /resync
sc stop W32Time

Which should work, though does depend on NTP etc being set up and working.
Those 3 commands worked great, but the only problem is that these command have to be run as admin.

I've made a batch file, and I can run the batch file as an admin when I right click on the batch file and click on "Run as Administrator", but when I try and make a shortcut to the batch file in the startup folder, the "Run as Administrator" box is greyed out as you can see here:

screenshot.26-10-2010%2023.56.06.png


If I could figure out how to run a batch file at startup with admin rights then this would work well I think.
edit: actually, forget the start up folder have a look at task scheduler and see what triggers there are, should be one for on boot/startup that will run it earlier than you having to log on and it getting around to processing the start up group.
I've just seen this, I seem to have found it in task scheduler, and have added a trigger to update the time at logon, as opposed to startup, as it takes a few seconds for my wifi to connect...

I'll reboot now and see if it works. :)
 
Back
Top Bottom