After installing .NET 4.0 started receiving BSODs right before login (Windows XP SP3). Last known good configuration doesn't work, but safe mode works. Trying to uninstall the .NET from Add/Remove Programs says that windows installer can't run in safe mode. Any workarounds?
I've had some success with the removal tool that purports to remove all of the .NET files externally. I don't know if it works in safe mode, though, so YMMV.
To run an MSI Installer in safe mode, you'll first have to enable the msi service:
To start Windows Installer in Safe Mode:
Restart your computer and press F8 before the Boot Menu or splash screen.
Open a CMD.EXE window.
Type the following commands and press Enter:
REG ADD “HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer” /VE /T REG_SZ /F /D “Service”
net start msiserver
(Taken from: Windows: Enable MSI Service in Safe Mode)
However, from reading some of the comments in the post, it seems that if you're running XP Home, the REG command may not be available and you'll have to manually open the Registry Editor (regedit) and edit the required keys:
Start > Run > ‘regedit’
Browse to HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\
Create a new folder for ‘MSIServer’ by right-clicking on either ‘Minimal’ or ‘Network’ and choosing ‘New’ > ‘Key’. Enter ‘MSIServer’ (CaSe SeNsItIvE).
Minimal is safe mode WITHOUT network support.
Network is safe mode WITH network support.
You’ll probably want to do this for both.
Browse to the new key you just created. On the right pane, right-click on the white space and choose ‘New’ > ‘String Value’ and enter ‘Service’ (CaSe SeNsItIvE).
You’re done. In safe mode, Start > Run > ‘services.msc’, find ‘Windows Installer’ and start it. If it starts, you did everything right. If it doesn’t work check for case sensitivity and that you’re in the right safe mode (minimal or network).