Windows 7 - How to install and remove software in safe mode

If you start your pc in safe mode due to fact that is not booting properly or you need to install/unistall any specific software you should be aware that by default is not possible.

To bypass problem you need modify a register part as follow:

Navigate to the Registry key: 


Right-click “Minimal”
Select “New—> Key”
Name the key MSIServer
Change the default data value to Service. 

The running of the uninstaller service in safe mode will now be enabled. 

If it is not already running, you can start the service from the command line. 

sc start msiserver

If you want the option of booting to safe mode with networking you need to modify register as follow as step 2


Add a new sub-key called MSIServer to this key by right-clicking Network in the same way as described in steps 3-6 above.

Alternative procedure to register modify step 1 is:

command prompt --> 

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

net start msiserver