Computer Clock Goes Haywire on Restart
Hello, I am having a problem with keeping the clock on my PC in order since the last week. Whenever I turn on my PC, I find the clock running hours slow and I have to sync it manually with the time servers to get the correct time. However, when I turn off my PC and restart it after a few hours, I find the same problem - the clock running hours behind the correct time. I dug into it a bit deeper and found that the Windows Time Service is not starting automatically when I turn on the PC. I checked the services window (services.msc) but couldn't find any reference to the Windows Time Service. Also when I am trying to stop the Windows Time Service by running "net stop w32time", I get the following message:- C:\Windows\system32>net stop w32time The service name is invalid. More help is available by typing NET HELPMSG 2185. I have to manually register the service by running w32tm.exe /register However, when I try to start the service, I get the following message Windows could not start the Windows Time Service on Local Computer Error Code 1290: The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service. I believe a recent windows update messed this up because there was no trace of such a problem about 4-5 days back and it appeared all of a sudden. Kindly suggest and workaround to fix this. Thanks
October 7th, 2011 5:53am

"blackystrat" wrote in message news:04035c8c-c676-42ef-a40f-2d260bedc796... Hello, I am having a problem with keeping the clock on my PC in order since the last week. Whenever I turn on my PC, I find the clock running hours slow and I have to sync it manually with the time servers to get the correct time. However, when I turn off my PC and restart it after a few hours, I find the same problem - the clock running hours behind the correct time. I dug into it a bit deeper and found that the Windows Time Service is not starting automatically when I turn on the PC. I checked the services window (services.msc) but couldn't find any reference to the Windows Time Service. Also when I am trying to stop the Windows Time Service by running "net stop w32time", I get the following message:- C:\Windows\system32>net stop w32time The service name is invalid. More help is available by typing NET HELPMSG 2185. I have to manually register the service by running w32tm.exe /register However, when I try to start the service, I get the following message Windows could not start the Windows Time Service on Local Computer Error Code 1290: The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service. I believe a recent windows update messed this up because there was no trace of such a problem about 4-5 days back and it appeared all of a sudden. Kindly suggest and workaround to fix this. Thanks Open an Admin Command Prompt and enter the following commands net start sppsvc (ignore the error message at this point - its for completeness only) sc qc W32Time sc queryex W32Time sc qprivs W32Time sc qsidtype W32Time sc sdshow W32Time copy and paste the results into your response, together with the EXACT error message you get when you attempt to start the service from the Services control panel.. You may well get errors in response to all, as it sounds as if the service has been uninstalled have you been using any kind of Registry Cleaner/Optimiser?? Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 6:55am

Hello Noel Thank you so much for your response. Here are the results of the above commands C:\Windows\system32>net start sppsvc The requested service has already been started. More help is available by typing NET HELPMSG 2182. C:\Windows\system32>sc qc W32Time [SC] QueryServiceConfig SUCCESS SERVICE_NAME: W32Time TYPE : 20 WIN32_SHARE_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Windows\system32\svchost.exe -k LocalService LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : Windows Time DEPENDENCIES : SERVICE_START_NAME : NT AUTHORITY\LocalService C:\Windows\system32>sc queryex W32Time SERVICE_NAME: W32Time TYPE : 20 WIN32_SHARE_PROCESS STATE : 1 STOPPED WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 PID : 0 FLAGS : C:\Windows\system32>sc qprivs W32Time [SC] QueryServiceConfig2 SUCCESS SERVICE_NAME: W32Time PRIVILEGES : SeAuditPrivilege : SeChangeNotifyPrivilege : SeCreateGlobalPrivilege : SeSystemTimePrivilege C:\Windows\system32>sc qsidtype W32Time [SC] QueryServiceConfig2 SUCCESS SERVICE_NAME: W32Time SERVICE_SID_TYPE: UNRESTRICTED C:\Windows\system32>sc sdshow W32Time D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCR RC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD) And I am not using any kind of Registry Cleaner or Optimizer software Thanks again
October 7th, 2011 8:10am

Hi Noel This is what I received as a response to the above command C:\Windows\system32>SC SDSET D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOC RSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPLOCRRC;;; LS) DESCRIPTION: Sets a service's security descriptor USAGE: sc <server> sdset <service name> <SD in SDDL format> Let me know if this looks okay? Also isn't Auto Start better than Manual Start? Do I need to start the time service manually or...I mean how would this work Thanks
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 9:20am

"blackystrat" wrote in message news:07a6738b-bc2d-403e-bd1a-c1094ece12ef... Hi Noel This is what I received as a response to the above command C:\Windows\system32>SC SDSET D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOC RSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPLOCRRC;;; LS) DESCRIPTION: Sets a service's security descriptor USAGE: sc <server> sdset <service name> <SD in SDDL format> Let me know if this looks okay? Also isn't Auto Start better than Manual Start? Do I need to start the time service manually or...I mean how would this work Thanks DUH! not enough caffeine! (missed out the service name) Ill amend the above post so it doesnt confuse anyone else heres the proper command SC SDSET W32Time D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPLOCRRC;;;LS) Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 7th, 2011 9:41am

Done C:\Windows\system32>SC SDSET W32Time D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWR PWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPL OCRRC;;;LS) [SC] SetServiceObjectSecurity SUCCESS Does this look okay now? Also could you please answer this one for me:- Also isn't Auto Start better than Manual Start? Do I need to start the time service manually or...I mean how would this work
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 9:44am

"blackystrat" wrote in message news:60278454-dfcd-4fd8-9930-718c4cbab880... Done C:\Windows\system32>SC SDSET W32Time D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWR PWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPL OCRRC;;;LS) [SC] SetServiceObjectSecurity SUCCESS Does this look okay now? Also could you please answer this one for me:- Also isn't Auto Start better than Manual Start? Do I need to start the time service manually or...I mean how would this work That looks right :) No Auto start is used for things that MUST start well before the user sees the result. The correct time is a relatively unimportant thing thats not required until much later in the boot process (if at all). W32Time is started automatically as required by other services when in Manual mode at doesnt mean that the user has to start it. Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 7th, 2011 10:01am

Ok Thanks Noel I will check back after a few hours and let you know how it goes, hopefully this time it gets fixed
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 10:05am

For the moment, just reboot, and see if the Windows Time service is visible in the Services control - then adjust the Startup type to manual. then try starting the service :)Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 7th, 2011 10:16am

I just rebooted and unfortunately, the Windows Time Service still doesn't show up in the services panel :(
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 10:22am

"blackystrat" wrote in message news:2b71f9ce-bb38-4496-b493-af7d3882c731... I just rebooted and unfortunately, the Windows Time Service still doesn't show up in the services panel :( Theres something very strange going on there! (I assume you have it listing in alpha order?) What happens if you issue a NET START W32Time command in an admin prompt? Please open Regedit navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time and Export the whole Key. Save the export as W32TKey.txt and upload it to your SkyDrive (or other fileshare portal) post a link in your response Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 7th, 2011 11:02am

Yes, the list is sorted alphabetically With the NET START W32Time command, the following is the response:- C:\Windows\system32>NET START W32Time The service name is invalid. More help is available by typing NET HELPMSG 2185. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time I cannot seem to find this anywhere within the registry Seems like the whole W32Time folder is missing.
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 1:07pm

"blackystrat" wrote in message news:ded2fb3c-d524-4adf-ae5f-5f6b3a06a20c... Yes, the list is sorted alphabetically With the NET START W32Time command, the following is the response:- C:\Windows\system32>NET START W32Time The service name is invalid. More help is available by typing NET HELPMSG 2185. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time I cannot seem to find this anywhere within the registry Seems like the whole W32Time folder is missing. This is silly :/ Without that registry Key, you should not be getting any response to the SC commands other than a Service Not Installed message. Ive put my exported Key up here - W32TKey mine please download it, and rename it to a .reg extension. Then Merge it to your registry, AFTER creating a System Restore point! Then look in the registry and see if you can find it. reboot, and see if it appears in Services.msc now. If not, then check for general corruption using CHKDSK and SFC and try a System Restore back to a time the system worked properly Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 7th, 2011 1:37pm

Did what you said and found the folder in the registry Also rebooted the PC and found Windows Time Service in the services panel (set to manual), started it manually. Hope this solves the issue and I don't need to manually start the service everytime :P I will check back tomorrow morning and let you know how it goes - since it used to take a few hours between restarts for the clock to mess up. Thank you so much for your help with this Noel - I will keep you posted. Cheers!
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 3:07pm

Phew! That is a strange one - I really was grasping at straws, so I hope everything stays OK :) Good luck!Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 7th, 2011 3:09pm

(I just noticed that this thread is tagged as a discussion thread - are you able to change it to a Question?)Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 3:13pm

(I just noticed that this thread is tagged as a discussion thread - are you able to change it to a Question?) Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth Changed to question Thanks again :)
October 7th, 2011 3:20pm

Not a bad CMOS battery right?
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 3:45pm

"garveyk659" wrote in message news:29457bb1-3e31-4596-93d0-e5b25aa6e203... Not a bad CMOS battery right? Thats possibly (or even probably) the cause of the time-loss on shutdown but the Windows Time Service will at least autocorrect the differential every so often when the machine is booted. Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 7th, 2011 3:54pm

"blackystrat" wrote in message news:ded2fb3c-d524-4adf-ae5f-5f6b3a06a20c... Yes, the list is sorted alphabetically With the NET START W32Time command, the following is the response:- C:\Windows\system32>NET START W32Time The service name is invalid. More help is available by typing NET HELPMSG 2185. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time I cannot seem to find this anywhere within the registry Seems like the whole W32Time folder is missing. This is silly :/ Without that registry Key, you should not be getting any response to the SC commands other than a Service Not Installed message. Ive put my exported Key up here - W32TKey mine please download it, and rename it to a .reg extension. Then Merge it to your registry, AFTER creating a System Restore point! Then look in the registry and see if you can find it. reboot, and see if it appears in Services.msc now. If not, then check for general corruption using CHKDSK and SFC and try a System Restore back to a time the system worked properly Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2011 8:33pm

Hey Noel Just got up, turned on my PC and waited for the desktop to load with bated breath...and BINGO!! The time is accurate!! :)) So thought of letting you know first before I get started with my work. Thank you SO MUCH for your help...could you please let me know what you think possibly went wrong earlier that led to the faulty time?
October 8th, 2011 1:15am

"blackystrat" wrote in message news:7baa6a41-1e01-4eaf-ae82-349dbb335d53... Hey Noel Just got up, turned on my PC and waited for the desktop to load with bated breath...and BINGO!! The time is accurate!! :)) So thought of letting you know first before I get started with my work. Thank you SO MUCH for your help...could you please let me know what you think possibly went wrong earlier that led to the faulty time? The probable cause of the time drifting is almost certainly a dying CMOS battery so replacing that would be a good idea (it means partially dismantling the machine, so if youre not up for that, get a techy friend to do it, or take it into a store). As far as what caused your problem with the service, I have no idea its not something I can see being anything other than a semi-random event, or malware. Running a malware scan with Malwarebytes Anti-Malware (www.malwarebytes.org ) would be a good idea. Youre welcome, and good Luck! Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2011 6:04am

Hey Noel Just got up, turned on my PC and waited for the desktop to load with bated breath...and BINGO!! The time is accurate!! :)) So thought of letting you know first before I get started with my work. Thank you SO MUCH for your help...could you please let me know what you think possibly went wrong earlier that led to the faulty time?
October 8th, 2011 8:10am

Hi Noel Yeah, I also think it's probably because of the CMOS battery - even though my PC is about 3 years old, but it runs extensively and remains on for up to 96 hrs at a stretch before I restart it. I still will change the battery soon - I am not an hardware expert, but have the know-how on how to open up the cabinet and change, install hardwares so I would give it a shot myself (unless there's added precaution that needs to be taken while changing the battery - if so, please let me know) But I was worried about why the WTS was not showing up in the services panel - I already have MBAM installed with real time protection ON and also have AVAST Home AV, I ran MBAM but it didn't detect anything. Also just to let you know, I started my PC after more than 24 hrs today and first the time displayed was running 7 hrs behind the original time, but it auto updated to the correct time after a couple of minutes - I assume this was because of the Windows Time Service kicking in a bit late in the process due to the MANUAL start up mode, please correct me if I am wrong. Thanks!
Free Windows Admin Tool Kit Click here and download it now
October 9th, 2011 1:32pm

"blackystrat" wrote in message news:a32a866c-5d96-4b13-8bd4-4c46fd631dd2... Hi Noel Yeah, I also think it's probably because of the CMOS battery - even though my PC is about 3 years old, but it runs extensively and remains on for up to 96 hrs at a stretch before I restart it. I still will change the battery soon - I am not an hardware expert, but have the know-how on how to open up the cabinet and change, install hardwares so I would give it a shot myself (unless there's added precaution that needs to be taken while changing the battery - if so, please let me know) But I was worried about why the WTS was not showing up in the services panel - I already have MBAM installed with real time protection ON and also have AVAST Home AV, I ran MBAM but it didn't detect anything. Also just to let you know, I started my PC after more than 24 hrs today and first the time displayed was running 7 hrs behind the original time, but it auto updated to the correct time after a couple of minutes - I assume this was because of the Windows Time Service kicking in a bit late in the process due to the MANUAL start up mode, please correct me if I am wrong. Thanks! Changing the battery is simple enough its a 5-minute job start-to-finish in a desktop (can be 30 mins or more in a laptop). What you have to remember is to take appropriate precautions against static, and that the BIOS is fully reset during the change, so its best to make a note of any customisation youve done, BEFORE starting, so that you can reset back later. Its quite normal for the service to take a minute or two to reset the clock its not even able to do anything until after the Firewall has opened up so that the service can get on the internet to contact the server, and that may time out a couple of times. If you look in Event Viewer, youll see the W32Time actions there. I cant see an entry for it in the Task Scheduler, apart from one for a weekly run but I think its triggered by one of the other services (possibly WU?) that runs at startup. Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The Three-toed Sloth
October 9th, 2011 2:38pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics