How do I disable a service from the command line?
Matthew Perez
Updated on March 09, 2026
How do I disable a service from the command line?
Disable service
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
- Type the following command to disable a service and press Enter: sc config “SERVICE-NAME” start=disabled.
- (Optional) Type the following command to stop the service and press Enter:
How do I disable Windows service disabled?
First use Run and enter regedit then go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services . After that locate the service name in the left pane, right click it and delete. You will see result after rebooting your system.
How do I force a service to disable?
- Click the Start menu.
- Click Run or in the search bar type services.msc.
- Press Enter.
- Look for the service and check the Properties and identify its service name.
- Once found, open a command prompt. Type sc queryex [servicename].
- Press Enter.
- Identify the PID.
- In the same command prompt type taskkill /pid [pid number] /f.
How do I disable services in services MSC?
How can I disable Windows Services?
- Open a Windows Run Dialog (Win + R).
- Type in services. msc.
- Right-click on the service and select Properties.
- Click on the Stop button (if the service is running).
- Change the Startup type to Disabled.
- Click on OK.
How do I turn off Windows Update service?
Follow these steps to stop Windows 10 updates:
- Fire up the Run command ( Win + R ). Type in “services. msc” and hit Enter.
- Select the Windows Update service from the Services list.
- Click on the “General” tab and change the “Startup Type” to “Disabled”.
- Restart your machine.
How do I stop a Windows service?
Stop the server from Windows services
- Open the services applet. Click Start > Programs > Administrative Tools > Services. –or– Click Start > Settings > Control Panel > Administrative Tools > Services.
- In the services list, click HPE Service Manager.
- Stop the service. Click the Stop Service button. –or– Click Action > Stop.
How do I remove a service from Windows Service?
To summarize this method:
- Open the Windows Registry.
- Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services.
- Backup the services key.
- Identify the service that you want to delete.
- Left-click on that service and press delete on the keyboard.
How do I manually remove a service in Windows 10?
FAQ
- Right-click the taskbar and choose “Task Manager“.
- Select the “Services” tab.
- Right-click the service you wish to delete, then choose “Go to details“.
- The process related to the service is highlighted. If you wish to remove it, you can track it down by right-clicking it and selecting “Open file location“.
What is the sc command in Windows?
The Service Controller utility SC is a powerful command-line utility for managing Windows services. In addition to a GUI method of managing services, Windows XP, Vista, and 7 also have a powerful command-line utility.
How do I stop a windows service?
Stop the server from Windows services
- Open the services applet. Click Start > Programs > Administrative Tools > Services. –or– Click Start > Settings > Control Panel > Administrative Tools > Services.
- In the services list, click Service Manager.
- Stop the service. Click the Stop Service button. –or– Click Action > Stop.
How do I turn off all windows services?
I had a microsoft support person shadow my computer and fix the problem for me. The problem is I have to disable all the non-microsoft services and start up items on my computer first and I can’t remember how he disabled them. In the Start Menu search box type “run” without the quotes.
How to turn off services?
Windows Defender&Firewall Service. Well, Windows Defender Firewall is useful especially if you are not having a third-party antivirus program
How do you stop service from command prompt?
To start and stop Database Engine services In a Command Prompt window, start SQL Server PowerShell by executing the following command. At a SQL Server PowerShell command prompt, by executing the following command. Identify the service that you want to stop or start. Complete the example to start and then stop the selected service.
How can I stop wuauserv?
Press the Ctrl+Shift+Esc keys at the same time to run the Task Manager utility.
What is the command to restart a service?
Steps Open the command line. Enter the command to show currently running services. Find the command name of the service that you want to restart. Enter the restart command. Enter your password when prompted.