Safe mode, by default does not enable, or have a service running to allow the windows installer to run. To combat this and allow us to uninstall programs in safe mode is easy enough. We usually do this when we’re unable to remove McAfee products.
Enter safe mode on your computer
Open an elevated command promt and type the following command:
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"
Press Enter and then type:
Net start MSIServer
Press Enter again.
There you have it, you can now uninstall programs in safe mode.