W32TM.exe – Windows CMD Command


Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Time Service Utility.

The W32Time service is not a full-featured Network Time Protocol (NTP) solution that meets time-sensitive needs.

By default the Windows Time service (w32time) will synchronize it’s time once per week.
This can be extended to daily by setting a Scheduled Task to start the service and run w32tm /resync.

The options /debug, /packetinfo and /ipprotocol are available from Windows Vista and above.

/stripchart /packetinfo – will output three timestamps – The first hex number is byte order reversed NTP date, followed by the ANSI date (number of days since 1st Jan 1601) followed by the date/time in readable/local format.

The option /ntpte – will output three timestamps – The first hex number is an NTTE date (as also understood by w32tm.exe /ntte ), followed by the ANSI date (number of days since 1st Jan 1601) followed by the date/time in readable/local format.

The option /ntte – will output two timestamps – first the ANSI date (number of days since 1st Jan 1601) followed by the date/time in readable/local format.

A computer that is a member of a domain is configured by default to synchronize from the domain hierarchy, manually-specified synchronization is most useful for the forest root of the domain or for computers that are not joined to a domain.

Public NTP servers:

  • NIST Internet Time Service time.nist.gov – part of the NIST Physical Measurement Laboratory, maintains the standard for frequency and time interval for the United States.
  • NTP Pool project pool.ntp.org (or “0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org”) a big virtual cluster of timeservers.
  • time.windows.com – Microsoft’s own time server (not particularly reliable).

Examples:

Set the local Windows Time client to point to two different time servers, one named time.nist.gov and another named pool.ntp.org

W32TM.exe /config /manualpeerlist:"time.nist.gov pool.ntp.org" /syncfromflags:manual /update

Check the Windows Time client configuration from a client computer running Windows 7 that has a host name of PC64

W32TM.exe /query /computer:PC64 /configuration

Convert an NTTE formatted date into a readable format, if using hex, prefix with 0x:

W32TM.exe /ntte 0x01cf070000000000

W32TM.exe /ntte 130330610798428160

Convert an NTP formatted date into a readable format, if using hex, prefix with 0x:

W32TM.exe /ntpte 0x72386aa6917c63d8

You may also like...

9 Responses

  1. zoritoler imol says:

    I would like to thnkx for the efforts you have put in writing this blog. I am hoping the same high-grade blog post from you in the upcoming as well. In fact your creative writing abilities has inspired me to get my own blog now. Really the blogging is spreading its wings quickly. Your write up is a good example of it.

  2. zoritoler imol says:

    As I website possessor I believe the content here is really great, thanks for your efforts.

  3. tracfone coupon says:

    This is my first time go to see at here and i am truly happy to read all at single
    place.

  4. coupon says:

    Way cool! Some very valid points! I appreciate you penning this write-up and also the rest of the
    website is extremely good.

  5. zoritoler imol says:

    I like what you guys are up too. Such clever work and reporting! Keep up the excellent works guys I?¦ve incorporated you guys to my blogroll. I think it will improve the value of my website 🙂

  6. zoritoler imol says:

    I¦ve been exploring for a little for any high quality articles or blog posts on this sort of space . Exploring in Yahoo I at last stumbled upon this site. Studying this information So i¦m glad to express that I have a very just right uncanny feeling I discovered just what I needed. I such a lot without a doubt will make sure to don¦t omit this web site and give it a glance regularly.

  7. gralion torile says:

    I’m not sure exactly why but this site is loading incredibly slow for me. Is anyone else having this issue or is it a issue on my end? I’ll check back later on and see if the problem still exists.

  8. gralion torile says:

    I have been absent for a while, but now I remember why I used to love this web site. Thanks , I will try and check back more often. How frequently you update your website?

  9. zortilonrel says:

    Good post and straight to the point. I don’t know if this is in fact the best place to ask but do you folks have any thoughts on where to employ some professional writers? Thx 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *