Navigation

logo

Content

Tip: keyboard shortcut Ctrl+F searches in the page contents

Safe Mode in Windows

In this tutorial: How to use Safe Mode for removing software, running antivirus and antimalware scans, or rolling back, disabling and uninstalling drivers in Windows XP, Vista or 7

Last modified: 2012-02-28 16:18:14 EET

If Last Known Good Configuration did not solve your problem, try Safe Mode next.

In Safe Mode you can adjust all settings you might have changed before failure, remove or add drivers, uninstall or install some software (the ones that do not use Windows Installer for installing) and of course, remove hard-to-delete viruses and malware.
You can also use System Restore that is covered in next article.
If you need to forward errors or screenshots to IT support, get accustomed to the Take screenshots for troubleshooting in Windows and Use Problem Steps Recorder for troubleshooting in Windows 7 articles.

Safe Mode is still a limited mode, for several functions do not work at all. This is because only essential services are loaded to prevent malware and problematic programs/drivers from loading.

A big advantage of Safe Mode is that is checks and repairs all essential system files and if necessary, runs a disk check. This way, all trivial problems are solved just by starting Windows in that mode.

Again, you will have to press F8 key on your keyboard after the big logo or black screen with white texts appears.
On some computers you will see a boot selection after pressing F8, cancel that by pressing Esc key on your keyboard and then press F8 key again.

First you might see an operating system selection screen. Select the correct one with arrow keys and press Enter key. If you already pressed F8 repeatedly, this screen might not appear.

There are three different types of Safe Mode available, usually the first one works best. If you want to troubleshoot a device or its drivers, work with settings and registry, always choose the first one - pure Safe Mode!
If you really need access to the Internet while using Safe Mode (for example, for installing or updating anti-virus and antimalware programs), select Safe Mode with Networking instead.
Safe Mode with Command Prompt is not really of much use unless you know all different command-line programs by heart. We will not cover this mode here, as it is meant for advanced users only.
Choose your liking with arrow keys on your keyboard and press Enter to start it.
Windows XP, Advanced Options Menu. Select Safe Mode and press Enter key. If you need networking or Internet access, select Safe Mode with Networking instead. Windows 7, Advanced Boot Options menu. Select Safe Mode and press Enter key. If you need networking or Internet access, select Safe Mode with Networking instead.

Windows will load and check essential files and drivers. Next, it checks if a disk is marked "dirty" due to messed files and failed shutdown or startup.
If none of disks is flagged as containing errors, Windows starts in Safe Mode right away.

If a disk or partition needs checking, hard drive activity indicator light will flash or stay on for several minutes or even up to half an hour. Disk check most commonly starts after loading mup.sys, classpnp.sys or crcdisk.sysDo not turn off or restart your computer while the disk activity indicator light is on or flashes - you might cause severe damage to files on the disk!
If file system on your hard disk needs some thorough fixing, Windows might restart your computer once or twice before starting Safe Mode. In such cases, use F8 key again to choose Safe Mode, do not let Windows start normally.

In case your computer restarts more than three times without going to Safe Mode or it stops responding for more than 30 minutes during disk check, then Windows files are badly damaged and you will have to use other ways of repairing it (see next articles).
Windows XP, Safe Mode loads drivers and then checks for hard disk corruption. Please wait and do not turn off or reboot your computer! Windows 7, Safe Mode loads drivers and then checks for hard disk corruption. Please wait and do not turn off or reboot your computer!

In Windows XP, you might see a black screen with "Safe Mode" written to every corner for a while. This is normal.
Then you will see your familiar logon screen. Click your user name, type your password and log on as usual. Both Start Menu and My Computer will have Classic look, because Windows themes are disabled in Safe Mode. Desktop background will be black with white "Safe Mode" written to all four corners of screen.
In Windows XP, a dialog asking to choose between Safe Mode and System Restore appears. Click Yes here to continue working in Safe Mode.
In Windows Vista and 7, Windows Help and Support will open a help page on Safe Mode. Close the window.
Windows XP, Safe Mode, Desktop prompt about Safe Mode and System Restore. Click Yes to continue working in Safe Mode. Windows Vista, Safe Mode. Windows has Classic look with black Desktop background and "Safe Mode" written to all corners. Close Windows Help and Support window.

Anti-virus and anti-malware scanning in Safe Mode

You might want to run a full virus scan now - both avast! Free Antivirus and Microsoft Security Essentials work if you have one of these programs installed (do not install more than one anti-virus program!).  Please note that both these programs will report that real-time scanning is not working. Ignore such error messages - real-time anti-virus protection does not work in Safe Mode. Spybot Search and Destroy and Malwarebytes' Anti-Malware on-demand scanners also work to help with removing stubborn malware.

If using Safe Mode with Networking, you can even download and install avast! Free Antivirus, Spybot Search & Destroy or Malwarebytes' Anti-Malware! Perform a database update and then run a scan (see links above).

Events to ignore in Safe Mode

While in Safe Mode, always check for error and warning events in Event Viewer, this might help a lot. Ignore typical Safe Mode events such as DCOM "This service cannot be started in Safe Mode" (Event ID 10005) and events with ID 7001. These events happen because Safe Mode starts only essential services to help fighting malware or stop problematic drivers/programs from loading. Scroll down in events list to find the time when your computer was still working and see if there were any error or warning events at that time.

Uninstalling software in Safe Mode

If Windows problems appeared right after installing or updating a program, try uninstalling the ill-behaving software.
Please note that not all software can be uninstalled in Safe Mode! Programs that use Windows Installer for installing and uninstalling will give you a failure message.

To uninstall a program, click Start button or press Ctrl+Esc on your keyboard.
In Windows XP, click Control Panel and then open Add or Remove Programs.
In Windows Vista and 7, type "program" into Start menu Search Box and click Programs and Features.
Windows XP, Start menu in Safe Mode. To uninstall a program, click Control Panel. Then open Add or remove programs. Windows Vista, Start menu in Safe Mode. To uninstall a program, type "program" into Start menu Search Box. Click Programs and Features.

The installed software list might take a while to build. After the list appears, find the program you want to uninstall.
In Windows XP, click the program and then click the Remove or Change/Remove button.
In Windows Vista and 7, right-click the program name and select Uninstall or Uninstall/Change.
Windows XP, Safe Mode, Add or Remove Programs list. Click the program you want to uninstall and then click Remove or Change/Remove. Windows 7 Safe Mode, Add or Remove programs list. Right-click the program you want to remove and then click Uninstall or Uninstall/Change.

Windows might ask if you want to remove the program. Click Yes.
If the program can be removed, its uninstaller will start. Follow its instructions and select "Uninstall" or "Remove" when needed.

You might see an error message "The Windows Installer Service could not be accessed". This means that this program cannot be removed in Safe Mode. Click OK here and try using System Restore instead.
Windows 7, Safe Mode. Program removal failed because Windows Installer Service could not be accessed. Removing this program in Safe Mode is not possible.

Rolling back, disabling or uninstalling a driver in Safe Mode

If the problems appeared after installing or updating a driver, remove the troublesome one using Device Manager.
In Windows XP, use keyboard shortcut Windows Key+R to open Run dialog. You can also open Start menu and click Run for this. Type devmgmt.msc and click OK.
In Windows Vista and 7, press Ctrl+Esc on your keyboard to open Start Menu. Type "device manager" into Search box and click Device Manager.
Windows XP, Safe Mode. To uninstall or roll back a driver, open Start menu and click Run. Type "devmgmt.msc" and click OK. Windows 7, Safe Mode. To uninstall or roll back a driver, open Start menu and type "device manager" into Search box. Click Device Manager.

Rolling back a driver in Device Manager

Use Roll Back Driver if the device was present before and worked fine until a driver update. You can roll back drivers only if the device had some other drivers installed before.

Find the device that caused trouble, right-click on its name and click Properties:
Windows 7, Safe Mode, Device Manager. Right-click on the device with driver problem and select Properties.

Now click on Driver tab above and then click on Roll Back Driver.
Windows 7, Safe Mode, Device Properties. Click Roll Back Driver to revert to previous driver that worked fine.

Answer Yes in Driver Package rollback dialog.
Windows 7, Safe Mode, Driver Package rollback. Click Yes to revert to previously installed driver version.

Disabling a device/driver in Device Manager

Disable a device if you want to verify that the device is causing problems with Windows starting or working properly. This is useful in case the hardware used to work fine and its driver has not been recently updated, but it seems to be causing trouble now.
Disabling is good for temporary testing and you do not have to reinstall its drivers if this device appears to be working well after all.

Find and right-click the device in question. Click Disable.
Windows 7, Safe Mode, Device Manager. Right-click on the possibly problematic device and select Disable.

Answer Yes.
Windows 7, Safe Mode, disabling a device. Click Yes to stop using a device.

Uninstalling a device in Device Manager

Use Uninstall if you want to remove a device physically afterwards. Just removing the device from your computer might not give expected results because buggy drivers might still get loaded and cause trouble.

Find the device you want to remove and right-click it. Select Uninstall.
Windows 7, Safe Mode, Device Manager. Right-click on the device you want to physically remove from your computer and select Uninstall.

Click Yes.
Windows 7, Safe Mode, Confirm Device Uninstall. Click Yes.

After using Device Manager for rolling back a driver or disabling a device, restart your computer and see if Windows now works better.
If you uninstalled a driver, shut down your computer, unplug power cord and remove the hardware device. Then start Windows and check if everything works fine.



 Comments? Suggestions? Ideas? Let me know! 
Your name (public):
Your e-mail (will not be displayed):
Title:
Notify me of new comments to this page:
Your comments/suggestions/ideas (no HTML code!)
winhelp.us owners reserve the right to remove or not publish comments that they find unacceptable because of strong language, inappropriate contents, advertising or spamming.
winhelp.us Privacy Policy
This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

© Copyright 2009-2012 - Margus Saluste
Privacy Policy | Contact information | Site map

Web Hosting By Arvixe

PluginCheck Print this page Search Donate