Boot Windows VM in Safe Mode
When a Windows virtual machine (VM) starts acting strangely, crashes during startup, gets stuck in a boot loop, or fails after a software or driver installation, Safe Mode is often the best place to begin troubleshooting.
Safe Mode starts Windows with only the essential drivers and services required for the operating system to run. This limited environment makes it much easier to identify and fix problems without interference from unnecessary programs or faulty drivers.
Whether you are using VMware Workstation, Oracle VirtualBox, Microsoft Hyper-V, or another virtualization platform, the process of entering Safe Mode is very similar to that of a physical Windows PC.
The only difference is that you may need to use your virtualization software’s keyboard controls or boot options to access Windows recovery tools.
In this guide, you will learn several reliable methods to boot a Windows VM in Safe Mode.
How to Boot a Windows VM in Safe Mode

There are several ways to start a Windows virtual machine in Safe Mode. The method that works best depends on whether Windows is still able to boot normally or whether it is stuck during startup.
Method 1: Use the System Configuration Tool
This is the easiest option if your virtual machine still starts normally.
Step 1: Start Your Windows Virtual Machine
Open your preferred virtualization software and power on the Windows virtual machine. Wait until Windows loads to the desktop and sign in using your account.
Step 2: Open the Run Dialog
Press Windows + R on your keyboard. This opens the Run dialog box, which lets you quickly launch Windows utilities.
Step 3: Open System Configuration
Type msconfig into the Run box and press Enter. The System Configuration window will appear.
Step 4: Open the Boot Tab
Select the Boot tab at the top of the window. This section contains startup options for Windows.
Step 5: Enable Safe Boot
Under Boot options, check the box labeled Safe boot.
You can choose one of several Safe Mode options.
- Minimal starts the standard Safe Mode.
- Network starts Safe Mode with internet and network support.
- Alternate Shell opens Command Prompt instead of the desktop.
- Active Directory Repair is mainly used for domain controllers.
For most users, Minimal is the correct choice.
Step 6: Restart the Virtual Machine
Click Apply, then OK, and choose Restart. The virtual machine will automatically restart in Safe Mode.
Step 7: Turn Off Safe Mode After Troubleshooting
After fixing the issue, repeat the same steps.
Open msconfig, go to the Boot tab, clear the Safe boot checkbox, click Apply, and restart the virtual machine. Windows will return to normal startup.
Method 2: Boot into Safe Mode Using Windows Recovery Environment
If Windows no longer starts correctly, you can use the built-in recovery tools.
Step 1: Force Windows Recovery
Start the virtual machine.
As soon as the Windows logo appears, power off the virtual machine.
Repeat this process about three times. Windows should automatically load the Windows Recovery Environment.
Step 2: Select Advanced Options
When the recovery screen appears, select Advanced options.
Step 3: Open Startup Settings
Choose Troubleshoot.
Next, select Advanced options.
Then click Startup Settings.
Step 4: Restart the Virtual Machine
Select Restart.
Windows will restart and display several startup choices.
Step 5: Choose Safe Mode
Press the appropriate number key.
Press 4 for Safe Mode.
Press 5 for Safe Mode with Networking.
Press 6 for Safe Mode with Command Prompt.
Windows will now load using the selected Safe Mode option.
Method 3: Use the Command Prompt
If you have access to an administrator account, Command Prompt can also enable Safe Mode.
Step 1: Open Command Prompt as Administrator
Search for Command Prompt.
Right-click it and choose Run as administrator.
Step 2: Enter the Safe Mode Command
Type the following command.
bcdedit /set {current} safeboot minimal
Press Enter.
You should receive a message confirming that the operation completed successfully.
Step 3: Restart the Virtual Machine
Restart the VM.
Windows will now boot directly into Safe Mode.
Step 4: Return to Normal Startup
Once troubleshooting is complete, open Command Prompt as administrator again.
Type the following command.
bcdedit /deletevalue {current} safeboot
Press Enter.
Restart the virtual machine normally.
Method 4: Use Installation Media
If the virtual machine refuses to boot completely, Windows installation media can help.
Step 1: Mount the Windows ISO
Open your virtualization software.
Attach the Windows installation ISO file to the virtual machine’s virtual DVD drive.
Step 2: Boot From the ISO
Restart the virtual machine.
If necessary, change the boot order so the virtual DVD drive loads before the virtual hard drive.
Step 3: Open Repair Options
When the Windows setup screen appears, select your language.
Instead of installing Windows, click Repair your computer.
Step 4: Open Troubleshooting Tools
Choose Troubleshoot.
Next, select Advanced options.
From there, you can access Startup Settings, Command Prompt, or System Restore depending on the issue.
Step 5: Enter Safe Mode
Choose Startup Settings, restart the virtual machine, and press the appropriate number key to enter Safe Mode.
Things to Remember While Using Safe Mode
Safe Mode loads only the essential Windows components. Because of this, your screen resolution may appear lower than usual, audio may not work correctly, and some hardware features may be unavailable.
If you select Safe Mode with Networking, your virtual network adapter must be properly configured. Otherwise, internet access may not be available inside the VM.
Avoid making unnecessary system changes while troubleshooting. Test one solution at a time so you can easily identify what fixed the problem.
Before making significant repairs, consider creating a virtual machine snapshot if your virtualization software supports it. A snapshot allows you to restore the VM to its previous state if something goes wrong.
FAQs
Can every virtual machine boot into Safe Mode?
Yes. Any Windows virtual machine running supported versions of Windows can boot into Safe Mode, provided the operating system itself is not severely corrupted.
Does Safe Mode delete my files?
No. Safe Mode does not remove documents, applications, or personal files. It simply starts Windows with a limited set of drivers and services.
Can I access the internet in Safe Mode?
Yes, but only if you choose Safe Mode with Networking and the virtual network adapter is configured correctly.
Why is my virtual machine still not starting in Safe Mode?
This may indicate serious system corruption, damaged boot files, or disk problems. In such cases, use the Windows Recovery Environment, run Startup Repair, restore a previous snapshot, or repair Windows using installation media.
How do I exit Safe Mode?
If you enabled Safe Mode through System Configuration or BCDEdit, disable the Safe Mode setting and restart the virtual machine. If you entered Safe Mode through the recovery menu, simply restart Windows normally.
Can I use Safe Mode to uninstall faulty software or drivers?
Yes. Safe Mode is commonly used to remove problematic drivers, uninstall recently installed applications, scan for malware, and reverse system changes that prevent Windows from starting normally.
