Windows 7 time keeps changing by itself
Solution 1
Try this command:
bcdedit /set {current} useplatformclock yes
I found it around the Internet, but no source is available for me. I had the same problem in night hours, now - after this command - it is gone. System restart is required.
Solution 2
Doubt this is the answer to this user's problem as they've fixed it as above. However there is a common cause of exactly these symptoms in dual boot Windows/Linux systems: the two OS treat the CMOS clock differently and fight over setting the clock the way they want (Linux to UTC doing daylight savings etc in software, Windows to local time so the software and hardware clocks are the same).
This has a simple solution: tell one of them to use the other's default behaviour.
Windows:
Set a new DWORD RealTimeIsUniversal
to 1 in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation
and then make sure you've installed this from Windows Update: https://support.microsoft.com/en-us/kb/2922223
Linux:
set UTC=false
in /etc/sysconfig/clock
Obviously don't do both of these!
Solution 3
There are two types of this problem. The first one resets to the base date & time which for most modern computers is 2008. Even with internet time sync disabled there are software such as Nero burning rom and MSinstall exec that will try to set the time for an install or run. Older versions of dotnet will also do this and some games install these old versions hidden in background. A recent install of an older version of printshop did just that. I ran tracemon and it was traced back to the dotnet 1.x that printshop installed internally.
Look at any older software gaming or otherwise you might have installed and look at the dotnet activity log as well.
The is also a correlation with SSL or internet secure server that if the date is older than one month (windows 7 & 8) that it will also cause unauthorized time and date changes and windows security will go into auto lockout and set the time and date back to the minimal default to protect itself.
I hope this helps.
Related videos on Youtube
Comments
-
kali almost 2 years
As the title suggests windows time keeps changing in random times, with random amounts. It sometimes happens every minute, sometimes it is good for hours. If I go hit synchronize with Internet time, it updates to the correct time.
Things I read/checked
- Disable/Enable Internet time synchronization. No help.
- Disable/Enable windows time service. No help.
- CMOS battery is dead. No it is not dead. Time changes also do happen when windows is running.
- Your router/modem time is wrong and effecting windows time. No, it is not wrong.
- Your time zone is configured incorrectly. No it is UTC+0 London
- You are dual booting into Hackintosh/Linux. No only Win 7 runs on this PC.
- You have a dodgy overclocking. I did have a high OC profile, but tried running at stock speeds with no help.
- Virus/Trojan. I highly doubt it. This is a very bare Windows installation for gaming. Only windows and games with Steam are installed.
Update
I can confirm, this problem does not exist, when I start the windows in Safe Mode. I've tested this by booting into safe mode. After the boot, I corrected time manually and left the pc running for a couple of hours, and the time was not changed.
Update 2
I don't know how I missed this detail (or actually if it will help) but the time resets to "that" exact time. That exact time being the first updated time.
Example:
- I boot the PC, and after sometime it resets to (lets say) 09:33:27
- a-) I correct the time, leave it for a period, and it jumps back to 09:33:27
- b-) I leave it running for some time and it resets to 09:33:27 after a period (very random period I see no pattern here like hourly/every 17 minutes or anything else)
- This keeps happening, regardless of me changing the time or not.
- After next boot (next day?) it picks another time to reset to
More details
Here is a screenshot from Event viewer, about the time change. Keep in mind this screenshot is taken when the "Windows Time" service is disabled.
Event properties screenshot:
Details page from same event:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Kernel-General" Guid="{A68CA8B7-004F-D7B6-A698-07E2DE0F1F5D}" /> <EventID>1</EventID> <Version>0</Version> <Level>4</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000010</Keywords> <TimeCreated SystemTime="2014-01-25T09:38:34.500000000Z" /> <EventRecordID>19280</EventRecordID> <Correlation /> <Execution ProcessID="4" ThreadID="64" /> <Channel>System</Channel> <Computer>slayer</Computer> <Security UserID="S-1-5-18" /> </System> <EventData> <Data Name="NewTime">2014-01-25T09:38:34.500000000Z</Data> <Data Name="OldTime">2014-01-25T13:59:57.982183900Z</Data> </EventData> </Event>
Screenshot and the details kind of implies that, windows is really thinking that this is the correct time and feel the need to update it. Although no windows service is activated to authorize this.
Any ideas?
Update 3 Problem & Solution
The problem was apparently not Windows or any other software trying to update the time.
After reading the system memory dump for an hour I found out Windows was unable to read RTC from motherboard. After failing to read the RTC state for a while, Windows thinks it is calculating the time wrong and reverts to last know RTC state.
I have no idea why this is not happening in "Safe Mode" and running windows successfully under safe mode put me in completely wrong route (Searching for an error in Software instead of hardware) The source of the fault was System BIOS (or UEFI in my case) not running at all after System POST's and boots. A simple google search for this and apparently it is a really common problem with most UEFI boards(Using an Asus-ROG board myself)
Solution advised was: Flash your UEFI and reset CMOS on standby power. Since I knew I was already on a recent version UEFI, just resetting CMOS on standby worked for me. Everything works now without a problem.
Thanks for all the input and sorry for misleading info about the problem, but I'll leave all the information posted above, hoping that it might else someone else.
-
PFitz over 10 yearsHave you tried different internet time servers? Go into Date and Time settings -> "Internet Time" tab -> "Change Settings" button to find a drop down menu listing the available internet time servers. It looks like "time.windows.com" is the default server.
-
kali over 10 yearsAgain, time updates even if "synchronization" is disabled. Manually clicking "synchronize" on internet time, will correct the time (regardless off server selection)
-
Outdated Computer Tech over 10 yearswhen it changes the date, what does it change it to? xx-xx-2002?
-
and31415 over 10 yearsIs the Windows Time service running when the time changes? Does the date change too?
-
kali over 10 yearsOriginally windows time service was running. But I stopped the service + changed its start type to "disabled". Did not fix anything. Windows time service was NOT running during the above captured event. Date changes when it is after midnight (only drops to yesterdays date) but I guess that is a direct result of time change, since going back a couple of hours changes the date automatically.
-
harrymc over 10 yearsTry to enable the Application Experience system service .
-
kali over 10 yearsharrymc can you elaborate on that a little bit? AFAIK application experience helps resolving vanity application problems, and enabled manually via windows if required anyway. The event log I've pasted shows that time is altered by "Kernel General" via "System" user
-
harrymc over 10 yearsI know Application Experience helped solve such problems for some people and I have no explanation for it, except maybe some incompatibility that you might not have. The problem with pid 4 is that it can be too many things, requiring much hard research.
-
Richard over 10 yearsAs much as a pain in the backside it is, I'd do a full backup and then re-install Windows. If the time continues to jump around (before you install any new programs) then you've narrowed down the problem to something you installed/configured on top of the OS.
-
harrymc over 10 yearsQuite a few people with time problems reinstalled Windows only to see the problem come back after some time.
-
Werner Henze over 10 yearsSID S-1-5-18 is the local system account. I think you'll have to watch out for services running under local system account. Are there any third party services running under local system account which may cause the issue?
-
Bigbio2002 over 10 yearsWhat processor are you using? Are you using any power-saving features, such as SpeedStep? Is your BIOS updated? Are you running in a VM?
-
Jet over 10 yearsGo to Task Scheduler and check the enabled tasks (they can run on local system account). And also check your pc with Sysinternals' Autoruns. And tell us if it helped or not.
-
Gravity over 8 yearsRelated question: superuser.com/questions/475878/…
-
kali over 10 yearsam I supposed to type something for {current}? if not it did not work, I got the message "The operation completed successfully." but the time still reverts
-
pbies over 10 yearsNo, "{current}" remains as it is. Time shouldn't be changing itself right now. If that happens, then must be some software, that changes the time. This can be some sort of driver or rootkit, not only an app. I would scan the system by updated: Windows Defender, MBAM and MBAR.
-
kali over 10 years"vote down requires 125 reputation"
-
kali over 10 yearsHi @pmbiesiada, although your answer did not solve my problem, it is the only constructive answer posted here. At least you read the question, unlike other answerers. So I'm gonno award the award to urself. Thanks for the help (Attached the solution to question)
-
pbies over 10 yearsThank you. After reading the solution, I've began wondering if chipset drivers wouldn't give the solution. Maybe some mistake happened to the CMOS data earlier (non-recoverable without reseting the CMOS).
-
DavidPostill over 8 yearsWelcome to Super User! Please read the question again carefully. Your answer does not answer the original question. OP already checked the CMOS battery.
-
Gravity over 8 years@pbies-Can you explain what you achieve with this? I am asking this because MS documentation says you should NOT use this option unless for debugging purposes: "useplatformclock -Forces the use of the platform clock as the system's performance counter. Note This option should only be used for debugging."
-
pbies over 8 years@Kenny This should solve the askers question. No more info available.
-
Gravity over 8 years@pbies - Your solution does not work for me. It is also not verifiable. It is just a random piece of information with no insight on why it should work.
-
pbies over 8 years@Kenny Can't help you with that. It worked for me. I had the same problem as the question author.
-
Ramhound almost 8 yearsMy first comment was nice. I don't find link-only answers helpful, what else should I say, if I don't find something helpful? Instead of just improving your answer, you commented, and suggest I go around down voting people without a reason. I shouldn't have to provide a 500 word essay on the reason a link-only answer isn't helpful. If you read the help center, it provides, everything you need to determine that.
-
dataduck almost 8 yearsTurns out there is an answer on this site mentioning this issue already: superuser.com/questions/198185/… However, since I didn't know it was anything to do with dual booting, I didn't find that answer until after I'd already solved it, and started writing this one. I've posted the answer anyway to help anyone else who ends up here with this problem.
-
washifu almost 8 years@Ramhound I submit. You are correct. Let's make peace.
-
Ramhound almost 8 yearsWe were always at peace.
-
nu everest about 7 yearsI got this message
The boot configuration data store could not be opened. Access denied.
Solution: Run as Administrator