Why your computer keeps reverting changes and how to prevent it
Your computer undoes changes you made because a program or setting is actively rolling back your edits—usually without asking. This happens most often when antivirus software blocks what it thinks is a threat, when Windows updates reset your preferences, when cloud sync conflicts occur, or when you have multiple programs trying to control the same file at the same time. The fix depends on which of these is actually happening, so the first step is figuring out what's undoing the work.
If you're seeing changes disappear seconds or minutes after you make them, a background program is almost certainly the culprit. If changes survive for hours or days and then vanish, it's usually a sync issue or an update. If you're getting error messages when you try to save, a permissions problem or file lock is blocking you. Each one has a different solution.
Key Takeaways
- Check whether the problem happens with one specific file or program, or across your whole computer—this tells you whether to look at that program's settings or at Windows itself.
- Antivirus software, cloud sync services, and Windows updates are the three most common causes of unwanted changes being reversed.
- Disable cloud sync temporarily to test whether OneDrive, Google Drive, or Dropbox is the culprit, then turn it back on once you've confirmed.
- If a program keeps reverting your edits, check its settings for "auto-recovery," "restore defaults," or "undo on close" options and turn them off.
- Windows Update can reset display settings, network settings, and some program preferences—check Windows Update history to see if changes disappeared after an update.
Identify whether the problem is one program or your whole system
Start by testing whether the undoing happens everywhere or only in one place. Open a straightforward program like Notepad, type something, save it with a new name, close the program, and reopen the file. If the text is still there, your system is not globally reverting changes. If it's gone, you have a deeper problem.
If the problem is only in one program—say, your browser settings keep resetting, or a photo editor won't save your edits—the issue is almost always that program's own settings or a conflict between that program and your antivirus. If it happens everywhere, look at Windows Update history, cloud sync services, or antivirus quarantine logs.
Check whether cloud sync is reversing your changes
If your files are stored in OneDrive, Google Drive, Dropbox, or iCloud, those services can overwrite your local changes with an older version from the cloud. This usually happens when you edit a file offline, then reconnect to the internet and the cloud version (which is older) syncs down and overwrites what you just did.
To test this: right-click the cloud sync icon in your system tray (bottom right of your screen), find the option to pause sync, and pause it for 30 minutes. Make a change to a file that normally gets reverted, save it, and wait. If the change sticks, cloud sync was the problem. Turn sync back on afterward. To prevent this in the future, make sure you're always connected to the internet before editing cloud-stored files, or keep important files on your local hard drive instead and only move them to the cloud when you're done editing.
Turn off automatic recovery and restore features in your programs
Many programs have a built-in feature that automatically restores your previous version or reverts unsaved changes when you close the program. Microsoft Word calls this "AutoRecover." Adobe programs call it "auto-save." Some programs have a "restore defaults on close" option. These features are meant to protect you, but they can also undo intentional changes.
Open the program where changes are being undone and look for Preferences, Settings, or Options (usually under the Edit menu or the gear icon). Search for words like "auto-recover," "auto-save," "restore," "undo," or "revert." If you find these options, turn them off. If you're not sure whether a setting is safe to disable, write down its name and search "[program name] [setting name]" to see what it does before you change it.
Some programs store these settings in a file on your hard drive rather than in the program itself. If you can't find the setting in the program menu, try searching your computer for a file named "preferences," "settings," or "config" in the program's folder (usually in Program Files on Windows or Applications on Mac). Do not edit these files unless you're certain what you're changing.
Check antivirus quarantine and exclusion settings
Antivirus software sometimes blocks changes it thinks are malicious, or it quarantines files and reverts them to an earlier version. If you're making changes to system files, startup programs, or files in protected folders, your antivirus may be undoing them.
Open your antivirus program and look for a Quarantine or History section. If you see files you edited listed there, your antivirus blocked them. You can restore them from quarantine, but first understand why the antivirus flagged them—if you're editing system files or startup programs, there may be a real security reason to be careful.
If the changes you're making are legitimate (for example, you're editing a batch file you wrote yourself, or you're changing a program's configuration), add that file or folder to your antivirus exclusion list so the antivirus stops interfering. In most antivirus programs, this is under Settings > Exclusions or Whitelist. Add the full path to the file or folder. Do not exclude your entire Downloads folder or system folders unless you're certain it's safe.
Review Windows Update history for recent changes
Windows Update can reset display settings, network settings, printer settings, and some program preferences. If your changes disappeared after your computer restarted or after you saw a Windows Update notification, an update likely reset them.
Open Settings, go to System > About, and click "View update history." Look at the date your changes disappeared and see whether an update was installed around that time. If one was, your settings may have been reset by that update. You can sometimes prevent this by going to Settings > System > Advanced system settings > Environment Variables and checking whether the setting you lost is listed there—if it is, you can restore it manually. For most settings, the simplest fix is to change them again and then disable automatic updates temporarily (Settings > Update & Security > Windows Update > Pause updates) until you're sure the change will stick.
Check file permissions and ownership
If you're getting an error message when you try to save a file, or if changes disappear when ready after you make them, the file may be locked or you may not have permission to edit it. This is common with files in system folders, files shared from another computer, or files that another program is currently using.
Right-click the file, select Properties, and go to the Security tab. Look at the list of users and groups. Your username should be listed with "Full Control" or "Modify" permission. If it's not, or if it says "Read-only," that's why your changes aren't sticking. Click Edit, select your username, check the "Full Control" box, click explore, and then OK. If you're not the file owner, you may need to click "Change" next to the Owner field and add yourself.
If the file is open in another program, close that program first. If it's a shared file from another computer, make sure you're not editing it at the same time someone else is—shared files can conflict when multiple people edit them simultaneously.
Disable Windows Defender real-time protection temporarily to test
Windows Defender (the built-in antivirus) can sometimes interfere with file changes without showing an obvious error. If you've tried everything else, you can temporarily disable real-time protection to see whether that's the cause.
Open Windows Security (search for it in the Start menu), go to Virus & threat protection, and click "Manage settings." Toggle off "Real-time protection." Make your change and see whether it sticks. If it does, Defender was the problem. Turn real-time protection back on when ready after testing—do not leave it off permanently. Then add the file or folder to your exclusion list (in the same Virus & threat protection menu, scroll down to "Exclusions" and add your file).
Frequently Asked Questions
Why do my Windows settings reset every time I restart?
Windows Update is the most common cause. Check your update history to see if a major update installed recently. If one did, your settings may have been reset by that update. You can also check whether you're logged into a Microsoft account that syncs settings across devices—if you are, and you've changed settings on another device, they may be syncing back to this one. Go to Settings > Accounts > Sync your settings and toggle off "Sync settings."
My file keeps reverting to an older version. How do I stop it?
This is almost always cloud sync. Pause OneDrive, Google Drive, or Dropbox (whichever you use) for 30 minutes, make your change, save it, and wait to see if it sticks. If it does, the cloud service was overwriting your edits with an older version. Keep cloud sync paused while you work on the file, or move the file to your local hard drive temporarily and sync it back when you're done.
I get an error message every time I try to save. What does that mean?
You likely don't have permission to edit the file, or another program is using it. Right-click the file, select Properties, go to Security, and make sure your username has "Full Control" permission. If the file is open in another program, close that program first. If it's a shared file from another computer, make sure no one else is editing it at the same time.
Can I undo the undo and get my changes back?
If the changes were recent, check your Recycle Bin or Trash to see if the file was deleted. If the file still exists but was reverted to an older version, you may be able to recover it using File > Version History or File > Restore Previous Versions (right-click the file and select "Restore previous versions"). This works if Windows has been backing up your files, which it does by default.
Is it safe to disable antivirus exclusions?
Only exclude files you created yourself or files from programs you trust. Do not exclude system files, files in your Downloads folder, or files from unknown sources. If you're excluding a file, make sure you understand why your antivirus flagged it first—sometimes it's flagging something genuinely dangerous.