How To Uninstall Software In Windows Safe Mode

Martin Brinkmann
Jul 18, 2010
Updated • May 30, 2014
Tutorials
|
14

Safe Mode in Windows loads the operating system in a limited state, which can be helpful for troubleshooting and correcting PC issues. Many of the standard services and features of the Windows operating system are not available in safe mode, including the Windows Installer Service.

It is not possible to uninstall software in Safe Mode if the service is not running, that is highly problematic if a software is responsible for PC issues and if it cannot be removed on your system when it is running in normal mode.

There is however an option to start the Windows Installer Service in Safe Mode, so that software can be uninstalled afterwards.

windows installer service
windows installer service error

The Windows Installer Service can't be started immediately, it is necessary to patch the Registry first. If you try to uninstall a program in Safe Mode, you get the following error message pointing at the cause of the issue:

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.

Fixing the issue

Open the Windows Registry Editor in the following way:

  1. Use the shortcut Windows-R to open the runbox.
  2. Type regedit and hit enter.

It can also be launched by clicking on the start orb, and entering regedit in the run box in the Start Menu followed by enter on Windows 7 and earlier Windows systems.

Locate the following Registry key

HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\

Right-click on Minimal and select New > Key. Name the key MSIServer and change the default value to Service by double-clicking it.

Side note: I tested this under windows 8 recently, and here you did not have to rename the value to Service anymore. This may now also be the case on other editions and versions of Windows, but has not been tested by me.

windows safe mode
windows safe mode

This makes the Windows Installer Service available in minimal Safe Mode. You may want to repeat the steps for the networking Safe Mode as well. All steps are the same, except for the starting Registry key.

HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\

The Windows Installer Service needs to be started afterwards, this can be done by clicking on the start orb again, entering services.msc and hitting enter.

On Windows 8, you tap on the Windows key, type services.msc, and select the appropriate result from the list.

Locate Windows Installer in the services listing, right-click it and select start. Alternatively execute the following command via the command line:

net start msiserver

It is furthermore possible to issue all commands via the command line. To enable Windows Installer in minimal Safe Mode execute the following command:

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

For Safe Mode with network:

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

The freeware SafeMSI offers to automate the Registry editing and service starting. Just double-click the program in Safe Mode to enable Windows Installer.

Summary
How To Uninstall Software In Windows Safe Mode
Article Name
How To Uninstall Software In Windows Safe Mode
Description
How to configure Windows Safe Mode so that you can remove software installations from the PC.
Author
Advertisement

Previous Post: «
Next Post: «

Comments

  1. Bev Kangas said on May 31, 2015 at 7:00 am
    Reply

    Thanks but didn’t work for me! Still got an error message at the end that said can’t be opened in safe mode. :-(

  2. Frank said on May 23, 2014 at 12:14 am
    Reply

    Read your comments- and please update the screenshot reading MSIService to match your corrected text of MSIServer

  3. Chris Banzet said on April 11, 2014 at 3:35 pm
    Reply

    First, instead of just saying “FIND” the following: “HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\” – why don’t you EXPLAIN to people HOW to get to this key? Believe it or not, thats almost as big a challenge for some as changing the key..

    One thing I believe IT people need to do is LEARN how to come down a notch or two and realize that “assuming” someone can simply find a registry key string is about as logical as you understanding the math principles in an astrological math equation…

    Let’s get REAL, and then let’s HELP others… :)

  4. Alexey said on November 20, 2013 at 12:31 pm
    Reply

    Thanks a lot!

  5. Peter said on November 10, 2013 at 10:43 pm
    Reply

    Thank you thank you thank you!!!!!!!

    I had installed a new version of SanDisk’s readycache driver that made windows unloadable outside safe mode. I had tried everything and was getting ready to go through the pain of reinstalling windows when I decided to search for enabling the windows installer. Got it enabled, got the driver uninstalled, got the system working.

    Just one glitch – the reg key needs to be MSIServer, not MSIService.

    Thank you!

  6. Roshan said on September 1, 2013 at 9:19 am
    Reply

    Wow… U really helped me man.. Cheers

  7. ehe said on August 28, 2013 at 4:57 pm
    Reply

    Thanks so much

  8. sujit said on February 24, 2013 at 2:08 pm
    Reply

    awesome man .. it worked……….. thanks for the pointer …

  9. PaulPv said on January 25, 2013 at 3:11 am
    Reply

    Life saver!
    Please update the screen shot’s “MSIService” to “MSIServer”

  10. Brett said on October 12, 2012 at 10:13 am
    Reply

    This worked for me – after I changed MSIService to MSIServer. Thanks!

  11. Ph777 said on August 1, 2012 at 9:53 pm
    Reply

    the reg key should be named MSIServer not MSIService

  12. Mohamed said on July 19, 2010 at 8:38 am
    Reply

    good tip
    THANKS

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.