- Windows Safe Mode starts the system with only essential services and drivers to make it easier to repair errors and remove malware.
- Windows offers several safe modes (basic, with networking, and with command prompt) accessible through shortcuts such as F8, Shift + Restart, or Advanced Startup.
- From safe mode you can uninstall problematic programs, update drivers, run antivirus scans, and use tools like System Restore.
- It is possible to force continuous booting in safe mode with msconfig and, likewise, disable this option if the PC gets stuck in that mode.

When Windows starts malfunctioning, displays blue screens, or seems to be plagued by a virus, one of the best solutions is to boot into Safe Mode . This streamlined environment loads only the essentials needed for the system to start, allowing you to perform repairs without interference from unfamiliar programs, unstable drivers, or malware that loads at startup.
Knowing the keyboard shortcuts and methods for starting Safe Mode in Windows (7, 8.1, 10, and 11) can save you a lot of time… and a lot of trouble. Instead of taking your PC to a repair shop every time something breaks, you can try to fix it yourself by booting Windows with the bare essentials and performing a few basic diagnostic steps.
What is Windows Safe Mode and what is it used for?
Safe Mode, also called failsafe mode , is a special way to start Windows in which the system loads only essential drivers and services. Most third-party applications, startup programs, and many components that could be causing the problem are not launched.
In this restricted environment, it's much easier to remove malware, uninstall conflicting programs, or disable drivers that are slowing down your system. If a virus or program locks onto the normal startup and prevents you from even accessing the desktop, safe mode is usually the entry point for troubleshooting and cleaning.
Windows offers several variants: minimal safe mode (only the basics), safe mode with networking (adds network drivers to have Internet or access to other computers) and safe mode with command prompt , which boots directly into the command console for more advanced tasks.
Furthermore, in versions like Windows 10 or 11 you can combine safe mode with advanced options such as System Restore , Startup Repair or recovery from a system image, giving you a fairly comprehensive range to recover a PC that seems "dead".
In general, it makes sense to use safe mode when your computer frequently displays a Blue Screen of Death (BSoD) , freezes, fails to boot properly, you suspect it has malware, or problems have started after installing a new driver or program.
How to boot into safe mode without prior configuration (Windows 8.1, 10 and 11)
In Windows 8.1, Windows 10, and Windows 11, one of the quickest ways to enter Safe Mode is to use the Advanced Restart option from the power menu, combined with the Shift key. This method is very useful if you can still reach the login screen or the desktop.
What you need to do is open the Windows Start menu, click the power button (Shut down/Restart), and just before clicking Restart, hold down the Shift key on your keyboard. It's important not to release the key until the computer actually begins to restart.
When you restart, Windows won't go directly to the desktop, but will instead display the "Choose an option" screen . Here you'll need to click on "Troubleshoot" to access the recovery environment, where you'll find both system restore and safe mode boot options.
On the Troubleshoot screen, you'll see several options: restore your PC, perform a factory reset, or access Advanced options . The latter is the one you're interested in, allowing you to adjust the boot type and enable Safe Mode without needing to touch anything in msconfig or make any prior configuration changes.
Within Advanced Options, you'll find utilities such as System Restore, System Image Recovery, Startup Repair, Command Prompt, and Startup Settings . This last setting is key: selecting it will prompt Windows to notify you that upon restarting, you'll be able to choose different boot modes, including various types of Safe Mode.
On the next screen, simply press the "Restart" button to shut down the system and restart it, displaying a classic menu with several numbered options. From there, you can choose option 4 or press F4 to boot into basic safe mode, or choose option 5 or press F5 to enter safe mode with networking if you need an internet connection.
Once you have finished cleaning viruses, uninstalling drivers, or performing any necessary tests, simply restart your computer normally (without holding down Shift) to boot back into standard Windows mode, provided you haven't forced it into safe mode using another method.
Boot into safe mode from Settings in Windows 11, 10 and 8.1

If you can log in without problems, another convenient way to enter safe mode is through the Windows Settings app , using the Recovery section and the "Advanced startup" option. The process varies slightly depending on whether you have Windows 11, Windows 10, or Windows 8.1, but the general idea is the same.
In Windows 11, you can open Settings by pressing the Windows key + I or by clicking the Start button and then the gear icon. Once inside, select "System" in the left pane and "Recovery" in the right pane, where you'll see the "Advanced startup" section with a "Restart now" button. From there, you can boot into and use Safe Mode in Windows 11.
When you press that button, Windows will warn you that the computer will restart to enter the recovery environment. Upon accepting, you will see the "Choose an option" screen again , and from there, simply follow the same steps as in the previous method: Troubleshoot → Advanced options → Startup Settings → Restart, and finally, choose the type of safe mode you need.
In Windows 10, the process is almost identical, but the path within Settings changes slightly. Here, when you open Settings, you'll need to go to "Update & Security" and then to "Recovery." Within the Advanced startup section, you'll again find the "Restart now" button, which will take you to the same troubleshooting and advanced options screens.
In Windows 8.1, the interface is slightly different, but the Advanced Startup feature is also available. From the Start screen, open the Start menu (Windows logo key), click the magnifying glass icon to search for "PC settings," and enter it. Several categories will appear in a column, including "Update and recovery . "
In that section, you'll see options to configure Windows Update, back up your files, and again, a "Recovery" section where you'll find the "Advanced Startup" option with the "Restart now" button. After that restart, you'll reach the screen to choose an option and follow the same path to Startup Settings to finally select the desired Safe Mode.

In earlier versions of Windows, such as Windows 7, Vista, and XP , the classic method for entering Safe Mode is to use the F8 key during startup. These versions load an "Advanced Boot Options" menu if they detect that you are pressing F8 right after the POST (the initial beep or logo of the motherboard).
The usual procedure is to restart the computer and, as soon as the screen goes black and the boot process begins, press F8 repeatedly at intervals of about one second. If you do it at the right moment, before Windows loads, a menu will appear on a black screen with several boot options, including Safe Mode in different versions.
In that menu, you can use the arrow keys on your keyboard to navigate and select options such as "Safe Mode," "Safe Mode with Networking," or "Safe Mode with Command Prompt." Windows XP even offers some additional modes, but for most users, choosing either standard Safe Mode or Safe Mode with Networking is sufficient.
If you need an internet connection to download new drivers, antivirus tools, or updates , the most practical option is to select "Safe Mode with Networking." However, if you only want to uninstall a program or restore the system from a local backup, Basic Safe Mode is sufficient and somewhat simpler.
Once you've finished the repair tasks, simply shut down your PC again, turn it back on, and let it load without pressing F8. If the advanced options menu reappears for any reason, you can use the arrow keys to select "Start Windows normally" and confirm with the Enter key.
Entering Safe Mode with Shortcuts from Windows 8, 10, and 11

In Windows 8, 10, and 11, in addition to restarting with the Shift key from the power menu, there are other methods that combine keyboard shortcuts and the advanced troubleshooting tool. These are useful when the system still boots but behaves erratically and you want to enter Safe Mode without forcing errors.
A very direct way is to use the Windows + I shortcut to open the Settings window and, from there, navigate to the sections that provide access to "Advanced Startup," as we saw earlier. This method is convenient because you don't have to deal with the login screen or the shutdown menu.
Another possibility is that Windows itself, upon detecting several consecutive boot failures , automatically enters the recovery environment. If the system fails to load the desktop for two or three consecutive attempts, it will usually display the repair screen, from which you can access Advanced Options and, within them, Safe Mode.
In all cases, the destination you want to reach is the Startup Settings screen , where the features that can be enabled or disabled on the next boot are listed: enabling low-resolution video, disabling driver signature enforcement, and of course, enabling the different safe mode modes.
When the screen indicates that the computer will restart to display the options, click "Restart." When it restarts, you'll see a numbered list. Here you can use the function keys: F4 for Basic Safe Mode, F5 for Safe Mode with Networking, and F6 for Safe Mode with Command Prompt . Simply press the option you prefer and wait for the startup process to complete.
What you can do in safe mode
Once Windows has booted into Safe Mode, you'll notice that the screen resolution is lower, certain hardware drivers are disabled , and most common programs don't open automatically. This isn't a bug; it's precisely how Safe Mode minimizes the amount of software that loads, allowing you to work without interruption.
One of the first things you can do is uninstall any recently installed software that you suspect is causing crashes or errors. From the Control Panel (or Settings → Apps in Windows 10/11), you can locate the problematic program and uninstall it while the system is running in this controlled environment.
Another very useful option is to check and update your device drivers . Outdated or corrupted hardware drivers are a classic cause of Blue Screens of Death (BSoDs). In Safe Mode, you can open Device Manager, check for devices with warning icons, and force the update or uninstallation of any conflicting drivers.
Safe mode is also an important tool for removing malware . Many viruses, Trojans, and spyware are injected during normal startup and protect themselves from easy removal. By starting in safe mode, many of these components never load, making it easier for antivirus software to detect and remove them.
In Windows 10 and 11, if you use Windows Defender, you can even take advantage of offline scanning , which analyzes the system before it fully loads. From Safe Mode, installing an additional security tool or running multiple scans is usually a good strategy when you suspect your PC is infected.
If the problems seem more serious, you can always use features like System Restore , which lets you revert to a previous point in time when your computer was working properly. This option is found in the advanced recovery tools, and running it in Safe Mode reduces the likelihood of a driver or running program interfering with the process.
In extreme cases, when the system is so damaged that it cannot be restarted, it may be necessary to reinstall Windows . In older versions (XP, Vista, 7), this was usually done by booting from a CD or DVD, while in more modern versions of Windows, the reinstallation can be started from a USB drive or even from the recovery environment itself, by downloading the necessary files from the internet.
Configure automatic safe mode boot using msconfig
If you need to restart your computer frequently while repairing it, you might want to configure Windows to always boot into Safe Mode until you're finished. For this, there's the System Configuration tool, better known as msconfig, which allows you to persistently configure the boot process.
From a normal Windows startup, you can use the Windows + R shortcut to open the Run dialog box, type “msconfig”, and press Enter. This will open the System Configuration window, where you'll find several tabs, including “Startup” or “Boot” (depending on your Windows version).
On that tab, you'll see a section where you can check the "Safe Boot" box . Checking it tells Windows to always use Safe Mode on subsequent restarts. Just below, you'll usually find several options: "Minimal" for standard Safe Mode, "Network" for Safe Mode with Networking, "Alternate Shell" for the Command Prompt, and "Active Directory Repair" in server environments.
After selecting the safe mode type that best suits your needs and accepting the changes, the system will prompt you to restart your computer . From then on, every time Windows starts, it will boot directly into the configured safe mode, without the need to press any keys during startup or use any additional shortcuts.
However, once you've finished the repairs and want Windows to boot normally again , you'll need to reverse the process: open msconfig, go to the Boot tab, and uncheck the "Safe boot" box. After confirming and restarting, the system will return to its normal behavior.
How to exit safe mode and what to do if your PC gets stuck
In many cases, if you've entered Safe Mode through the advanced options menu or by pressing F8, simply restarting your computer will allow Windows to boot back into normal mode. However, there are situations where the computer seems determined to keep booting into Safe Mode repeatedly.
The first thing to check in these cases is, again, the msconfig tool. If the "Safe boot" box is still checked, the system will continue to boot into safe mode indefinitely. Simply unchecking it and restarting will restore the standard boot process.
If the box is already unchecked but the PC still displays the advanced options menu or gets "stuck" on failed startups, you can try booting using the same method used to access safe mode and select "Start Windows normally" when that option appears in the menu.
In Windows 8 and 10, another way to break out of this loop is to enter the recovery environment again: hold down the Shift key while clicking Restart, then choose "Troubleshoot," enter "Advanced options," and look for the Startup Settings section where you can disable Safe Mode or choose to continue with normal startup.
In the most extreme cases, when Windows doesn't even display anything on the screen and attempting to boot into safe mode leaves the monitor black, the problem may be at the hardware level, with the video drivers, or with a severely corrupted boot configuration. At this point, more advanced measures come into play, such as booting from Windows installation media , using automatic system repair, or even restoring a full system image backup, if you have one.
Mastering these shortcuts and ways to use safe mode in each version of Windows allows you to react much more calmly when something goes wrong: if you know how to enter this restricted environment, what type of safe mode to choose (basic, with networking or with command prompt) and how to exit it without the computer getting stuck, you have at your fingertips one of the most powerful tools to diagnose, repair and recover your PC without having to pay for technical service at the first sign of trouble.
