Set time during deployment
Good day everyone,
I am trying to set the time of the computer during deployment. Ideally, I would like to set it as a pre-installation task in the K2000 KBE using an NTP source.
But I have not been able to find a resource to do that for me.
If the time is off by too much, Group Polices do not update and the K2000 breadcrumb doesn't have accurate time info.
Any help will be greatly appreciated.
1 Comment
[ + ] Show comment
-
I've put this on hold for now because while experimenting with w32tm, I got a lot of errors when I removed a computer from the domain and then tried to re-add it. It would say that the time is out of sync with the domain, but it wasn't actually on the domain and the time was actually the same. - egas 8 years ago
Answers (2)
Please log in to answer
Posted by:
cserrins
8 years ago
Have you tried using net time?
https://technet.microsoft.com/en-us/library/bb490716.aspx
-Corey
https://technet.microsoft.com/en-us/library/bb490716.aspx
-Corey
Comments:
-
I use this in my first post lines to set to domain ntp time.
net start w32time
%SystemRoot%\system32\w32tm /config /update /manualpeerlist:tmccacad.tmcc.edu /syncfromflags:manual
see
http://ss64.com/nt/w32tm.html - SMal.tmcc 8 years ago-
Smal.tmcc, thanks for the response.
I tested net start w32time command in the KBE - Windows recovery area to simulate a Pre-Installation task but no go.
It said the Windows service couldn't be started. Access is denied. It was an Administrator prompt - egas 8 years ago
-
Thanks for the response Corey, but net time reports that /setsntp is deprecated and to see w32tm.exe - egas 8 years ago