Sub topic 5
Windows Recovery Environment, Safe Mode and System Restore
This chapter assumes you know the CompTIA troubleshooting steps, can open Event Viewer, and understand the Windows boot sequence at a basic level (firmware, boot manager, kernel, logon). You also need to know what a system drive and a restore point are. The chapter covers the built-in recovery tools that A+ Core 2 expects you to choose between, and the order in which to try them.
What the Windows Recovery Environment is
The Windows Recovery Environment (WinRE) is a small, separate Windows image. It lives in a hidden recovery partition on the disk, and it loads when Windows cannot start or when you ask for it. It gives you repair tools without needing the main installation to boot.
You can reach WinRE in several ways:
- Windows starts it automatically after two or three failed boot attempts.
- Hold Shift while you click Restart in Windows, or choose Settings > System > Recovery > Advanced startup > Restart now.
- Boot from Windows installation media and choose Repair your computer.
- Run
shutdown /r /o /t 0from a Command Prompt to restart straight into the recovery menu. - Boot from a recovery drive that you created earlier with the Recovery Drive tool.
Installation media or a recovery drive is the answer when the local recovery partition is damaged or missing.
The WinRE menu
After WinRE loads, choose Troubleshoot. The main options are:
| Option | What it does | Data impact |
|---|---|---|
| Startup Repair | Automatically diagnoses and fixes boot problems such as missing or damaged boot files | None |
| System Restore | Rolls system files, drivers, and registry settings back to a restore point | Personal files are kept |
| Uninstall Updates | Removes the latest quality update or feature update | None |
| Command Prompt | Gives a text console for `bootrec`, `chkdsk`, `sfc`, and `diskpart` | Depends on commands |
| System Image Recovery | Restores a full disk image made earlier | Overwrites the drive |
| Startup Settings | Restarts with options such as Safe Mode | None |
| Reset this PC | Reinstalls Windows, with the choice to keep or remove personal files | Apps are removed |
The exam favors the least destructive fix that solves the problem. Reset this PC and System Image Recovery are last resorts, because they change or erase far more than the others.
Safe Mode
Safe Mode starts Windows with a minimal set of drivers and services. It uses a generic display driver, so the screen may look low resolution. It does not load most third-party drivers, startup programs, or non-essential services.
Safe Mode is a diagnostic tool, and its main value is a comparison. If a problem disappears in Safe Mode, the cause is probably a driver, a startup program, or a non-essential service. If the problem still happens in Safe Mode, suspect core Windows files, failing hardware, or a corrupted profile.
There are three common variants:
- Safe Mode: minimal drivers, no networking.
- Safe Mode with Networking: adds network drivers so you can download a driver or reach a file share.
- Safe Mode with Command Prompt: starts a command window in place of the desktop.
From WinRE, choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4, 5, or 6 for the variant you want. From a running system, you can use msconfig, open the Boot tab, and select Safe boot. Remember to clear that option afterward, or the PC will keep booting into Safe Mode.
msconfig
bcdedit /set {current} safeboot minimal
bcdedit /deletevalue {current} safebootThe bcdedit lines show the setting behind the check box. The first forces Safe Mode on the next boot. The second removes the setting and returns to normal startup. Run bcdedit from an elevated prompt.
Clean boot versus Safe Mode
Safe Mode is not the same as a clean boot. A clean boot starts the normal Windows with all Microsoft services but disables third-party services and startup items. You set it up in msconfig by choosing Selective startup, hiding Microsoft services, and disabling the rest. Use a clean boot when you suspect a conflict between applications and want to find it without losing normal drivers or the full display.
System Restore
System Restore takes snapshots of system files, installed drivers, and registry settings. A snapshot is a restore point. Windows makes one automatically before certain events, such as installing a driver or an update, and you can create one by hand.
Keep these facts in mind:
- It does not touch personal documents, pictures, or email. It is not a backup.
- It removes applications and drivers installed after the restore point, and it brings back those removed after it.
- It must be turned on. Protection is often off by default on some systems, so check System Properties > System Protection.
- It needs disk space, which you set with a maximum usage slider. Older restore points are deleted as space runs out.
- A restore can itself be undone, because Windows creates a restore point before it applies one.
- It will not fix a problem that was already present when the restore point was made.
You can start it from a running system with rstrui.exe, or from WinRE by choosing System Restore. If Windows boots only in Safe Mode, you can run it from there.
Choosing a recovery path
The diagram shows a common order. Start with the least invasive action that fits the symptom.
Common errors and gotchas
- Assuming System Restore recovers deleted files. It does not. Restoring files needs File History, a backup, or the Previous Versions feature.
- Leaving Safe boot enabled in
msconfig. The PC then loops back into Safe Mode on every restart. - Using Reset this PC too early. It removes installed applications even when you choose to keep files.
- Forgetting BitLocker. If the drive is encrypted, WinRE may ask for the recovery key before it opens the drive. Keep that key stored somewhere other than the PC.
- Running Startup Repair again and again. If it fails twice, move on to the Command Prompt tools, which the previous chapters cover, rather than repeating it.
- Confusing Uninstall Updates with System Restore. The first removes only the latest quality or feature update. The second rolls back drivers and settings as well.
Worked scenario
A technician installs a new video driver, and the PC then shows a black screen after the logon prompt. The technician follows these steps:
- Restart three times so Windows opens WinRE automatically.
- Choose Troubleshoot > Advanced options > Startup Settings, restart, and press 4 for Safe Mode.
- In Safe Mode, the screen works, which points to the new driver. The generic display driver is in use.
- Open Device Manager, select the display adapter, and choose Roll Back Driver. If the option is unavailable, uninstall the device and tick the box to delete the driver software.
- Restart normally, confirm that the display works, and document what was changed.
If Roll Back Driver had failed, the next step would be System Restore to the restore point made just before the driver install.
Exercise
A PC will not boot after a recent Windows update. The user has important local files and no backup. Name the first two WinRE options you would try, and say why you would avoid Reset this PC at this stage.
Show answer
Try Startup Repair first, then Uninstall Updates (or System Restore if a restore point from before the update exists). Both keep personal files and installed applications. Reset this PC removes installed applications and risks data loss, so it is a last resort after the less destructive options have failed.
Exercise
A PC freezes every few minutes in normal mode, but runs for an hour in Safe Mode without a problem. What does this suggest, and what is the next step?
Show answer
It suggests that a third-party driver, startup program, or non-essential service causes the fault, since those do not load in Safe Mode. The next step is a clean boot with msconfig to disable third-party services and startup items, then re-enable them in groups until the freeze returns and identifies the culprit.