The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,818 other followers

Windows Embedded – disable/enable W32Time “Windows Time” service

Posted by jpluimers on 2010/03/15

In some environments having the “http://technet.microsoft.com/en-us/library/cc773013(WS.10).aspx” service (W32Time) running is not desirable.

Circumstances where you might want to disable W32Time include:

  • scheduling algorithms that are sensitive to sudden time changes
  • usage of other time synchronization mechanisms

Not all Windows Embedded systems include the desired components to disable or enable the W32Time service from a UI (especially when they are not using the Windows Explorer as a shell), so here are two batch files that can help.

Batch file to stop and disable W32Time:

net stop W32Time
sc config W32Time start= disabled

Batch file to enable (auto) and start W32time:

sc config W32Time start= auto
net start W32Time

–jeroen

2 Responses to “Windows Embedded – disable/enable W32Time “Windows Time” service”

  1. pdegagne said

    Perfect! Thank you. Was exactly what I was looking for. :)

  2. ruurd said

    OMGWTFBBQ do they still have that stupid time syncing in Windows 7??!?!?? I’d recommend using a real NTP client that just keeps your clock within margins so that there are no ‘sudden jumps in time’…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: