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

Comments

  • 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.
Please log in to comment

Community Chosen Answer

1
Have you tried using net time?
https://technet.microsoft.com/en-us/library/bb490716.aspx

-Corey
Answered 07/21/2016 by: cserrins
Red Belt

  • 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, 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
  • Thanks for the response Corey, but net time reports that /setsntp is deprecated and to see w32tm.exe
Please log in to comment

Answers

0

In a post install task try


net time \\ip-of-k1000 /set /yes
Answered 08/05/2016 by: flip1001
Fourth Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity