run services in safe mode

Open registers (regedit)

the special keys are HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal for Safe mode and
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network for Safe mode with networking.

All you have to do is to create a subkey named as the service you want to start and to change default value to “Service” (without quotes).

example:
REG ADD “HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Apache” /VE /T REG_SZ /F /D “Service”