Solved

Error while Windows was synchronizing with time.windows.com

Posted on 2007-04-05
18
5,864 Views
Last Modified: 2009-05-05
Hi,
reccently, I can't sync Dates and Times with times.windows.com server and few days back, I also can't sync using time.nist.gov server.

The error with time.windows.com is:

"An error occured while Windows was synchronizing with time.windows.com. The time sample was rejected because: The peers's stratum is less than host's stratum."

Someone know how to fix it?
0
Comment
Question by:rulirahmadi
  • 7
  • 5
  • 2
  • +2
18 Comments
 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
ID: 18862681
Hello rulirahmadi,

If you edit the registry and add another time server it works fine.
I just did it.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr  entVersion\DateTime\Server
s
Add a new string value
Name it 3
add the name of a time server as the data
use this list http://www.eecis.udel.edu/~mills/ntp/clock2a.html

Information on editing the registry
http://support.microsoft.com/default...b;EN-US;322756

Always be careful when editing the registry, you can stuff up your PC if you
change things you don't understand

From http://www.mcse.ms/message536188.html

Regards,

PeteLong
0
 
LVL 14

Expert Comment

by:Erik Pitti
ID: 18862694
You need to reset the windows time (NTP) settings back to defaults, here's how:

Open a command prompt (Start-->Run, type CMD.EXE, click OK)

Run the following commands to reset the windows time service to defaults:

net stop w32time
w32tm /unregister
w32tm /register
net time /setsntp:time.nist.gov
net start w32time

Here are a list of NIST time servers if you'd rather use a different one:
http://tf.nist.gov/service/time-servers.html
0
 
LVL 5

Author Comment

by:rulirahmadi
ID: 18877242
@chakote,

I got error:
-----------------------------------------------------------------------------------------------------------------------------
C:\>net stop w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.


C:\>w32tm /unregister
The following error occurred: Access is denied. (0x80070005)

C:\>w32tm /register
W32Time successfully registered.

C:\>net time /setsntp:time.nist.gov
The command completed successfully.


C:\>net start w32time
The Windows Time service is starting.
The Windows Time service was started successfully.


C:\>
-----------------------------------------------------------------------------------------------------------------------------

My account is a member of Admin group.

And I'm still can't sync my Internet Time using time.windows.com or time.nist.gov.
But the error not like it was before:

"An error occured while Windows was synchronizing with time.nist.gov/time.windows.com."
0
 
LVL 14

Expert Comment

by:Erik Pitti
ID: 18879811
The registry settings are not cleaned up if the unregister fails.  
Try creating a new account that is a member of the "Administrators" group and running the w32tm /unregister and w32tm /register commands (and those that follow) again.
0
 

Expert Comment

by:zebler
ID: 18913705
I have the same issue.  When I try to unregister the w32tm I also get the same error message as noted above.

I have tried to make another admin user account.  
I then logged out all other users.
Logged in with the new admin user
Then ran the above suggested solution, and it still generated the same error when trying to stop the service.

0
 
LVL 5

Author Comment

by:rulirahmadi
ID: 18913765
I found on Microsoft forum: http://www.microsoft.com/windowsxp/expertzone/newsgroups/reader.mspx?dg=microsoft.public.windowsxp.general&mid=b51668c7-7d9a-4a8d-bd9f-3a72cfc953f4

that we must type the "w32tm /unregister" twice. But, still no luck :(

Looks like we must another server to get it work properly...
0
 

Expert Comment

by:zebler
ID: 18914492
Yes, did the w32tm /unregister twice anyway...well if at first you don't succeed punch buttons repeatedly philosophy :)

Also tried using different time servers, but still no luck.  Its not a major issue for me, but I just happened to find you with the same issue.  Thought I would drop in with the same problem to see if my problems in some way can help people find a good solution for you.
0
 
LVL 5

Author Comment

by:rulirahmadi
ID: 18914714
But it work before. I dunno why it refused now.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 14

Expert Comment

by:Erik Pitti
ID: 18915086
Check the permissions of the following registry key:

HKLM\System\CurrentControlSet\Services\w32time

Make sure that administrators have full control of the key and all subkeys.
0
 
LVL 5

Author Comment

by:rulirahmadi
ID: 18917814
Checked and yes, Administrator and SYSTEM  have Full Control and Read in the Allow column.
Who is the group of CREATOR OWNER? This user have Special Permission (allowed).

I clicked Advanced button, point to Owner tab. I changed the owner from Administrator to my username (member of Administrator too). Still no luck...
0
 
LVL 14

Expert Comment

by:Erik Pitti
ID: 18923712
Creator owner is a builtin system object.. It represents the user who created or is the current owner of the specified resource
0
 
LVL 14

Expert Comment

by:Erik Pitti
ID: 19090547
No objections, the reuqestor has been added to my personal block list.
0
 
LVL 5

Author Comment

by:rulirahmadi
ID: 19106621
Not just XP, Vista also. Just once I can sync with time.windows.com on Vista. Right now, I just finished reinstall my Vista and still can't sync...
0
 
LVL 5

Author Comment

by:rulirahmadi
ID: 19132212
I can sync my Vista with time.windows.com now!

I use TuneUp Utilities which will automatically added several server:

time-nw.nist.gov
time-a.nist.gov
time-b.nist.gov

Because of I'm still can't sync my Windows with time.windows.com for the first time, then I try the added server one by one. My Windows can sync with them.

Last, I try with time.windows.com and it work.

But looks like I must use the additional server first before my Windows can sync with time.windows.com.

0
 
LVL 5

Author Comment

by:rulirahmadi
ID: 19153969
Just trying to sync again (Vista) and failed with time.windows.com server. The 2nd server, time.nist.gov, sucessfully. Back to time.windows.com server again and sucessfully too.

I thin we must make a provocation to time.windows.com server by using another server that works and the sync with time.windows.com server.
0
 

Expert Comment

by:PhucP
ID: 20873231
O.K., nothing has worked, yet.

    When I use w32tm /unregister, it always returns
w32Time successfully registered.
     It has never returned unregistered. I have repeated the command many times.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now