Hello Robert,
Yes, here is how you do it -
How to start a service in safe mode:
To view, add, or remove services (and drivers) that are loaded during Safe
mode, look at the following registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal
To view, add, or remove services (and drivers) that are loaded during Safe
mode with Networking, see the following registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network
Each subfolder under the above registry keys represent a service or driver
that will be loaded during Safe Mode and Safe Mode w/ Networking
Note that the Default value under the subfolder:
For Services: Default = Service
For Drivers : Default = Driver
For example….
Scenario1: You want to add the Workstation service to startup in Safe Mode
with Networking
1) Look at the following key to determine how the Workstation services is
referred to in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
2) We find that it is called lanmanworkstation
3) Create a folder called lanmanworkstation under the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network
4) Set the Default value for lanmanworkstation as:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\lanmanw
orkstation
Default = Service
5) Reboot the server into safe mode and test if the service has started
If not started, make sure you also startup all services that it is
dependent upon.
Scenario2: You want to add the Task Scheduler service to startup in Safe
Mode
1) Look at the following key to determine how the Task Scheduler services
is referred to in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<servicename>
2) We find that it is called Scheduler
3) Now create a folder called Scheduler under the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network
4) Set the Default value for Scheduler as:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Schedul
er
Default = Service
5) Reboot the server into safe mode and test if the service has started
If not started, make sure you also startup all services that it is
dependent upon.
Note: If this were a driver that we would like to startup, use the
following value for Default:
Default=Driver
Best regards,
--
Shain Wray
Microsoft PSS Security Team
This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit. Thanks!