/build/static/layout/Breadcrumb_cap_w.png

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 7 years ago

Answers (2)

Posted by: cserrins 7 years ago
Red Belt
1
Have you tried using net time?
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 7 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 7 years ago
  • Thanks for the response Corey, but net time reports that /setsntp is deprecated and to see w32tm.exe - egas 7 years ago
Posted by: flip1001 7 years ago
Black Belt
0

In a post install task try


net time \\ip-of-k1000 /set /yes

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ