20 Oct
If you’ve installed a software and suddenly Windows has stopped working, the logical way is to boot Windows in Safe Mode and then try to uninstall. Safe mode is a troubleshooting option for Windows that starts your computer in a limited state. Only the basic files and drivers necessary to run Windows are started. Unfortunately by default you can’t uninstall a software that is packaged with Windows Installer in Safe Mode. If you try to uninstall, you will get the error “The Windows Installer service is not accessible in Safe Mode. Please try again when your computer is not in Safe Mode or you acn use System Restore to return your machine to a previous good state.”

There is a Windows Installer (msiserver) service in Services and if you attempt to manually start it in Safe Mode, you should get an error that says “Windows could not start the Windows Installer service on Local Computer. Error 1084: This service cannot be started in Safe Mode.”
To start the Windows Installer service in Safe Mode so that you can uninstall programs, all you need to do is add a new MSIServer registry key. Simply follow the step-by-step instructions below:
1. Hit Win+R, type regedit and click OK.
2. Navigate to the following location in registry editor:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\
3. Right click at Minimal and select New > Key and name it as MSIServer
4. The (Default) data for MSIServer should show (value not set). Double click on (Default) and type Service in the value data. Close the Registry Editor.

5. Again hit Win+R, type services.msc and click OK.
6. Look for Windows Installer on the list, double click on it and click Start.
You can now uninstall programs that is packed using Windows Installer in Safe Mode. Alternatively, you can also do all the steps above by typing two command lines below in command prompt or at the Run window.
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"
net start msiserver
As you can see the first command line is pretty long which I don’t think many people are willing to memorize it. Remember, editing the Windows registry is a risky business and you can end up with more problems rather than fixing it if you do it wrongly. Hence, I’d personally prefer to learn how to do it the long way.
Technorati Tags: uninstall, windows, installer, setup, remove
: Copying this article to your website is strictly NOT allowed. However, if you like this article, you can use the HTML code below to directly link to this article.
Reboot to Safe Mode for Dummies Uninstall Microsoft Office 2007 in Vista and XP Saving Desktop Icon Layout Disable Windows Safe Mode for Extra Security to Prevent Tampering Force Complete Uninstall MSN or WLM to reinstall Windows Live Messenger 2009 Uninstalling Any Nero Software Fix Ad-Aware 2007 Fatal Error During Installation
Have computer technical problems? Get FREE help from Raymond.CC FORUM
31 Responses for "Uninstall Programs Packaged with Windows Installer in Safe Mode"
Excellent tip!! Thanks heaps Raymond.
good inf ray…..thanks
Instead of memorizing the above cmd-script, we can also create a batch file and put it away for future use.
thanks Ray .Very use full info.
thanks.useful tip!!!
useful info mate, thanks!
thanks for this! Will be handy soon..
Excellent tip!! Thanks Raymond.
Thank You very much this is very useful but do I have to do these steps on safe mode or normal mode?
I was looking for this for a long time. Thanks Ray.
There is also a tool called safemsi.zip to do this for you. Excellent to take with you on USB-key!
There doesn’t seem to be a primary download point for SafeMSI, so a mirror:
http://tinyurl.com/ylh6kqt
thx ray you are the it GOD I am a newbi to your site about 4 month’s now and i have learn’t alot and can you maybe create a batch file and post the link it wil be a very handy
thx ray you are the it GOD and can somebody make the batch file en post the link it would be a very handy tool
Excellent tip!! Thanks Raymond.
I have two questions regarding this “fix”. First is… I’m wondering if anyone knows *WHY* Microsoft feels that the installer should be restricted from running in Safe Mode in the first place? There might actually be a good reason for this. Even if the reason isn’t “good”, it would be interesting to know.
Secondly… Raymond, I assume that you are recommending that the MSIServer key be left in the registry after the “emergency” is tended to, is this correct?? Does adding this key just *allow* MSIServer to be run from Safe Mode, or does it *cause* MSIServer to run whenever a person enters SafeMode, once it has been added to the registry (ie, will MSIServier automatically start running whenever a person enters SafeMode, once that registry addition has been made???).
Thanks for the info!!
Thanks for the info. Raymond.
Thank you Raymond – very helpful. Have you had a look at Tullius’s offering? Any comment ?
“There is also a tool called safemsi.zip to do this for you. Excellent to take with you on USB-key!
There doesn’t seem to be a primary download point for SafeMSI, so a mirror: http://tinyurl.com/ylh6kqt”
It would also be most helpful if you could answer the questions posed by Robert L (above).
Thank you.
Thanks Raymond.
Another great tip from you..
I subscribed to you via RSS FEED, and with a reason!
You rock.
awesome tip ray and thanks for the great info that we are learning everyday
Wonderful tip Raymond!
I loved it. Thanks a ton.
You Rock! As usual
Hello all…
Windows Installer is very boring
I need to update MSOffice on a computer, but for some reason, Windows Installer do not allows me do that.
I tried to update the Windows Installer, I tried to remove it and install it again, I tried to reinstall Windows XP SP3 but nothing works. Whenever I try to install the newest version of the MSOffice or remove old version, I get a message saying that can’t access the Windows Installer.
I would like to solve this problem without format the computer.
good tips.
Thanks Ray i just posted something about this in the Forum
but do we have to manually turn it on in safe mode or will it manually start
A batch file is a good idea. but as a newb do we just type out the long way and save it in note pad as a reg file
i mean can we just cut paste it to a .reg file
I want to know like other users above, is this safe? Why MS did not allow it in the first time, and why many download sites removed this program ?
Thanks ! Dude
“6. Look for Windows Installer on the list, double click on it and click Start.”
should i then make it Automatic too so that i do not need to go into windows to run it and can simply go into safe mode direct ?
This doesn’t work in SP-3
Error 1084 still after register is edited
Everything works fine!
Sorry, it was my mistake:)
i created and SFX where he creats the service and put it running when your are allready in safe mode.
No user intervention at all…
Thanks mate, you just saved my bacon. I can confirm that this works in Windows Web Server 2008 SP2
A tip for anyone who’s booted in safe mode with networking, the key is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\
Cheers
Leave a reply