Recover Windows After Failure or Infection Without Data Loss
If Windows broke after an update, a file vanished, malware changed your data, or a drive is failing, the first step is to figure out which kind of recovery you need: system rollback, file restore, or full drive recovery. That choice tells you whether to use a backup, System Restore, Reset this PC, a system image, or a drive clone. For a failing drive, the safest move is usually to get your files onto another drive before the old one gives up completely. The good news is that most recovery plans are straightforward if you set them up before trouble starts. Keep a recent backup, know where your recovery media is, and know which tool can restore files, Windows settings, or a whole disk. Then, if something goes wrong, you can start with the least risky option and avoid making the loss bigger.
What you need in place before anything goes wrong
Have these ready before you need them:
- A recent backup on a drive or cloud location that is not always connected to the PC.
- A recovery drive or Windows installation USB, so you can start the PC if Windows will not boot.
- Administrator access to the PC and to any Microsoft account or backup account you use.
- A spare external drive or replacement internal drive with enough free space for a restore.
- BitLocker or other disk-encryption recovery keys, if your PC uses encryption.
- A second way to reach your email or account recovery codes, in case the main PC is unavailable.
- A short note of what you back up, where it lives, and how often it updates.
If you already use File History, cloud sync, or a backup app, test that you can open the backup location and see recent files. A backup that exists but cannot be accessed during a failure is not much help. If you image the whole system, keep at least one copy offline or disconnected so ransomware or accidental deletion does not affect it too.
Do not keep your only backup on the same physical drive as Windows. If the drive fails, both the system and the backup can disappear together.
How to choose the right kind of recovery
Start by deciding what is actually broken.
If one document, photo, or folder is missing or changed, you want a file restore. That means pulling back specific data from File History, a cloud sync service, a backup app, or version history. It will not usually fix Windows itself, and it will not usually bring back apps.
If Windows started acting strangely after an update, driver install, app change, or settings tweak, you may only need a system rollback. That could mean System Restore, uninstalling a bad update, or using Reset this PC if the system is badly damaged but still recoverable.
If the drive is clicking, disappearing, very slow, or failing to boot no matter what you do, think drive recovery. In that case, the goal is to copy or restore data to another disk before the original one dies completely. A drive recovery plan is about storage first; it may bring back files and a bootable Windows install, but only if the data can still be read or restored.
A useful rule: restore files first if the problem is only data loss. Roll back Windows if the system changed but your files are still there. Recover to a new drive if the storage itself is the problem. Picking the wrong path can waste time or overwrite data you still need.
How to restore individual files from a backup
If only a few files or one folder are gone, recover those first before trying anything larger.
- Open the backup source you normally use, such as File History, OneDrive version history, another cloud sync service, or your backup app.
- Find the folder or file version from before the change or deletion.
- Restore it to the original location if you are sure nothing newer needs to be kept, or restore it to a different folder first if you want to compare versions.
- Open the restored file and check that it is the one you wanted.
For example, say a family photo folder was deleted from Pictures. Restore that folder from the most recent backup into a temporary folder like Desktop\Recovered Photos. Then compare the restored files with what is still on the PC before you copy anything back into place.
If your backup tool supports versions, choose the version just before the mistake. If it only stores whole folders, restore the folder to a separate location first. That reduces the chance of overwriting a newer but still useful file. File restore can bring back personal files, and with some backup tools it can also return a previous version of a folder, but it does not normally reinstall missing apps or repair Windows itself.
How to bring Windows back after a bad update or change
Use the lightest recovery option that fits the problem.
- If Windows still starts, try System Restore first when the issue began after a driver, app, or update change. The exact message varies, but the goal is to roll back system files, registry settings, and installed drivers without touching your personal files.
- If System Restore is not available or does not help, use uninstall options for recent updates or drivers from Windows Update history or Device Manager.
- If the system is unstable but your files are safe, use Reset this PC only after you confirm your data is backed up. It can reinstall Windows and may let you keep personal files, but apps are commonly removed.
- If you have a full system image from before the problem, restore that image when you need Windows, apps, and settings to go back together. A system image can return the whole machine to an earlier state, but it will overwrite whatever is currently on that Windows installation.
A full system image restore can replace current changes on the target drive. Make sure the image is from the correct date before you proceed.
System Restore is for system changes, not for bringing back deleted personal files. Reset this PC is a repair step when Windows is badly damaged but still salvageable, and it may remove apps. A system image is the broadest option because it can restore Windows, apps, settings, and the disk layout together, but it also rolls back anything newer on that installation.
What to do if malware may be involved
If you suspect malware, stop using the PC for normal work right away.
Disconnect it from Wi-Fi and unplug Ethernet if you can do that without risking more damage. That limits spreading, cloud sync damage, or further encryption by ransomware. If the malware may have touched backups that stay connected all the time, inspect those backups from a clean device before restoring anything.
Restore from a backup made before the infection, not from a backup created after the infection began. If the backup contains changed settings, suspicious startup items, or files that were already encrypted or altered, do not copy those back until you are sure they are clean. For documents, photos, and other personal files, it can make sense to recover the data first and then scan it from a known-clean system before reopening it.
If the PC still boots, you may need to run built-in Windows security tools or a trusted offline scan before restoring your main data. If the system is badly compromised, a clean reinstall and a known-good backup is often safer than trying to preserve the current Windows setup.
How to recover from a failing or replaced drive
If the drive is failing, move fast and avoid extra stress on it.
- Stop unnecessary use of the PC as soon as you notice symptoms like clicking, repeated read errors, long freezes, or disappearing files.
- If the drive still reads, clone or image it to a healthy replacement drive or to an external disk large enough to hold the used space.
- If you have a backup image, restore it to the new drive instead of trying to keep using the old one.
- Boot from the replacement drive and check that the system starts normally.
Cloning copies one drive directly to another, including partitions and boot data. Imaging saves the drive contents into a backup file that you can restore later. Cloning is often faster when the original drive is still readable enough to copy. Imaging is useful when you want a saved recovery copy or need to restore onto a different-size drive.
If the original drive is already gone, use your backup or image on the replacement drive. If Windows will not boot after the transfer, the problem may be boot settings, the wrong partition layout, or missing recovery data, not necessarily missing files.
How to check that the recovery actually worked
Do not assume success just because the PC starts.
Check these items after a restore:
- Windows reaches the sign-in screen and loads your desktop.
- Your key files open normally and are the expected versions.
- Folders that matter, such as Documents, Pictures, and work project folders, are present.
- Apps you rely on still run, or you know which ones need reinstalling.
- Permissions are correct, so you can edit the files instead of only viewing them.
- External drives, printers, and network locations still connect if you need them.
Open a few important files from different locations, not just one. For example, test a Word document, a spreadsheet, and a photo. If you restored from a system image, confirm that account sign-in, browser data, and any shared folders behave as expected. If something is missing, go back to the backup source before you make more changes on top of the restored system. A good restore should give you a usable desktop, working files, and the apps or settings you expected from the chosen recovery method.
When the first restore doesn’t fix it
If the first attempt comes up short, slow down and change one variable at a time.
If files are partial or missing, check whether you restored the latest backup or only a previous version. Some tools keep multiple copies, and the first one you chose may not be the right one. Try a different restore point or a different backup set.
If Windows still will not start, use recovery media again and move to the next recovery option. That may mean trying Startup Repair, System Restore, Safe Mode, uninstalling the newest update, or restoring a full system image. If one method fails, that does not mean the whole backup is bad.
If the backup is older than you expected, recover the newest usable copy first, then merge in newer files from other sources such as cloud sync, email attachments, or a second backup. Keep anything new you create on the current system separate until you know the restore is stable.
Do not keep retrying a restore onto a failing drive if the disk is making worse noises or dropping offline. Each extra attempt can reduce the chance of getting readable data back.
Common recovery mistakes that make losses worse
A few errors cause more damage than the original problem:
- Restoring onto the same drive you are trying to recover from.
- Reinstalling Windows before copying off files from a failing disk.
- Assuming cloud sync is the same as backup, when deletions and bad changes can sync too.
- Overwriting a newer file with an older backup copy.
- Ignoring BitLocker or account recovery keys until after the PC is already locked out.
- Waiting too long after drive symptoms start, especially clicking or repeated read failures.
The biggest mistake is acting without checking what the tool actually restores. Some tools bring back files only. Some bring back Windows system files and settings. Some bring back an entire drive image. If you know the difference before you click restore, you are much less likely to lose current work while trying to save old work.
What a good recovery plan looks like after you’re done
Once the system is back, set up the next recovery path now, not later.
Keep one current backup, one older backup, and one copy that is not always connected to the PC. Test that you can open your backups and that you know the restore steps for both files and the whole system. Update your recovery media after major Windows changes. Record where your encryption keys and account recovery details live.
If you had a drive failure, replace any shaky storage before it becomes a second problem. If malware was involved, change important passwords from a clean device after the system is clean again. Then do one final check that the files you care about are backed up in a place you can reach without the broken PC. That way, the next failure is a recovery job, not a scramble.
Conclusion
The safest recovery plan is the one that matches the problem: file restore for missing data, system rollback for a bad Windows change, and drive recovery when storage is failing. Start with the least risky option, verify the result, and only move to a bigger restore if the first step leaves something missing. After you get the PC working again, keep a current backup, recovery media, and a spare place to restore to so the next problem is easier to handle.
Frequently Asked Questions
Is System Restore enough to get my files back?
Usually not. System Restore is for Windows system changes, drivers, and registry settings. It does not normally bring back deleted personal files, and it won’t usually restore apps either.
Should I clone a failing drive or image it?
If the drive is still readable and you need a bootable copy right away, cloning can be the simpler choice. If you want a saved recovery copy or need more flexibility, create an image instead.
Can I restore a backup onto a new, larger drive?
Often yes, but it depends on the backup tool and the partition layout. Many image-based restores can go to a larger drive, while some cloning tools need manual resizing afterward.
What if my files are in OneDrive or another sync folder?
Check version history or the recycle bin for that service first. Sync services can copy deletions and bad changes too, so a backup or versioned restore is safer than assuming the cloud copy is complete.