How to make Windows Installer work in Safe Mode

Windows Installer will not work under Safe Mode, this means that programs cannot be installed or uninstalled in safe mode without giving a specific command using msiexec in command prompt. If you try to uninstall programs in Safe Mode, you may receive the following message:

The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.

This post will tell you how to make Windows Installer work in Safe Mode.

Make Windows Installer work in Safe Mode

To make windows installer to work under safe mode you need to create a registry entry for every type of safe mode you are login into:

Safe Mode:

Type this in a command prompt and hit Enter:

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"

Then start the Windows Installer service by typing net start msiserver

Safe Mode with Network:

Type this in a command prompt and hit Enter:

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"

Then start the Windows Installer service by typing net start msiserver.

Ported from WVC.
Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.
  • soralols

    wrong syntax please change code

  • soralols

    REG ADD “HKLMSYSTEMCurrentControlSetControlSafeBootNetworkMSIServer” /VE /T REG_SZ /F /D “Service” THIS IS THE CORRECT CODE GUYS USE THIS

  • Anand Khanse

    Oops, space in the wrong place. Thanks for pointing it out. Corrected.

  • Rod

    That and the curly quotes.
    Commands should go in a code block rather than a quote to preserve the syntax. Or you could copy and paste from the post

  • Anand Khanse

    Done! :)

  • ndlovut

    You can also add the keys manually, from the registry editor.

  • Tom S

    net start msiserver

    This service cannot be started in Safe Mode

  • banbairish

    After listening to the words of a friend , i bought a windows 8.1key,it’s easy to use ,go and see it ,search for it “windows 8.1 key sale” from bing.

  • Eelco

    Or use REG ADD “HKLMSYSTEMCurrentControlSetControlSafeBootMinimalMSIServer” /VE /T REG_SZ /F /D “Service” if you booted in safe mode without networking

  • Stuart Conroy

    Thank you, it work for me

  • Kamodi

    thanks your safe mode with network code helped me start windows installer!

  • Adele Van Biljon Bronkhorst

    Thank you so much worked, I’ve posted your link on the Command prompt settings on HP. Thank you

  • linda lella

    Excellent! safe mode with networking code worked for me, wish I had thought to search for this a long time ago. Thank you

  • Anirban

    How would this work under Windows 10

  • Ashwani Kumar

    Thanks a lot

  • Ashwani Kumar

    this one worked

    REG ADD “HKLMSYSTEMCurrentControlSetControlSafeBootNetworkMSIServer” /VE /T REG_SZ /F /D “Service”

  • Recent Comments