Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Disable windows services in Windows 10 command prompt in recovery mode

Writer Mia Lopez

Is used to be able to reboot Windows into command prompt to use sc config "Service" start= disabled

In Windows 10, if I reboot to command prompty and login as admin, an attempt to do the same will give me sc command or program is not found.

How can I set service state to disabled in command prompt in Windows 10.

Thank you.

2

1 Answer

Editing the Registry offline

You need to use Regedit.exe and load the System hive located at:

<driveletter>:\Windows\System32\config\SYSTEM

When in recovery environment, the drive-letter for your Windows installation would be different. Use Bcdedit.exe to find it out.

(For more information on editing registry offline: How to Edit the Registry Offline Using Windows Recovery Environment)

Changing the Service Startup type

(Refer How to Disable a Service or Device That Prevents NT from Booting - The article was originally written for Windows 2000, but still applies to all versions of Windows.)

Once in the Command Prompt window, type Regedit.exe and select HKEY_LOCAL_MACHINE (or HKEY_USERS). From the File menu, click Load Hive.. and load the SYSTEM hive of your Windows installation. Name the loaded hive as TEST

Go to the following registry key:

HKEY_LOCAL_MACHINE\TEST\ControlSet001\Services\<short name of the service>

Service startup Registry keys

To disable a service, change the value of Start REG_DWORD to 0x4.

Automatic 0X2
Manual 0x3
Disabled 0x4

After making changes to the service registry key, select the hive named TEST and unload it (via File menu) and exit Regedit.exe.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy