How to run Windows Installer in Safe Mode in Windows 10 and 11

Latest update: January 12, 2023 ID: 15941
 
 
 
 

Windows Safe Mode is a tool for restoring an operating system. Safe Mode is a way to run Windows in its most basic form. It uses only absolutely essential files and drivers. Most of third-party applications, drivers, and some system services do not run in this mode. This increases the probability of successfully starting the system to troubleshoot the issue.

For installing and removing applications in Windows, you need to use Windows Installer. It does not start in Safe Mode by default.

If you need to install and remove applications in Safe Mode, you can run Windows Installer manually.

 
 
 
 

To run Windows Installer in Safe Mode:

  1. Start the computer in Windows Safe Mode. See this article for instructions.
  2. Open the command line in one of the following ways:
    • Press The Windows key on the keyboard+R on the keyboard, type cmd and click ОК.
    • Using the Windows 10 taskbar: open the search bar, type Command Prompt and open the command line.
    • Opening the command line in Windows 10
    • Using the Windows 11 taskbar: open the search bar, type Command Prompt and open the command line.
    • Opening the command line in Windows 11
  1. To start Windows Installer, run the command below and press Enter.
    • If Windows runs in Safe Mode with Networking:
    • REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"
    • If Windows runs in Safe Mode without Networking:
    • REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"
  2. Run Windows Installer in one of the following ways:
    • Run the command below and press Enter:
    • net start msiserver
    • Open the search bar and type Computer Management. Go to Services and ApplicationsServices. Right-click Windows Installer and select Start in the context menu.
    • Starting Windows Installer

The Windows Installer service will be started in Safe Mode.

Once the work in Safe Mode is finished, return to the initial settings. To do so:

  1. Stop Windows Installer in one of the ways below.
    • Run the command below and press Enter:
    • net stop msiserver
    • Open the search bar and type Computer Management. Go to Services and ApplicationsServices. Right-click Windows Installer and select Stop in the context menu.
    • Stopping Windows Installer
  2. To remove the created lines from the Windows registry, run the command below and press Enter.
    • If Windows runs in Safe Mode with Networking:
    • REG DELETE "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /F
    • If Windows runs in Safe Mode without Networking:
    • REG DELETE "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /F

The initial settings will be restored.

 
 
 
 
 
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.