How To Disable A Service Through Cmd
Contents
- 1 How to Cease, Disable, Starting time, and Restart a Service via Services.msc
- two How to Stop and Start a Service with Net Command
- 3 How to Terminate, Start, and Disable Services with 'Sc' in Command Prompt
- 4 How to Stop, Start, and Restart a Service via Task Manager
- five How to Stop, First, Disable, and Restart Services with PowerShell
Windows services are incredibly of import, simply in that location'southward also a lot of confusion surrounding them. Users are oftentimes informed that a service has stopped without any other explanation and no advice about what to do next. We're going to show you how to cease, start, enable, disable, and restart a service in Windows 10 so that you can feel confident in your use of the Os.
What is a Windows service?
A service in Windows is essentially but another type of program. Rather than being presented to you on-screen in the form of a GUI, information technology runs in the groundwork, sometimes continuously, to enable things like networking tasks, or intermittently to check for updates.
Though services have seen a lot of criticism over the years for the slowdowns they can cause, Windows 10'due south are much more finely tuned. For the most part, each i that is published by Microsoft has a specific task and they've been optimized to the point they require few organisation resource.
Though there are various lists of Windows services to disable, you're likely better off looking at the ones created by third-party applications. Most have 1 associated with them, and some run all the time. Others are unstable and volition require restarting or disabling to get your PC functioning as normal. We're going to comprehend several ways y'all can do then, equally well as restarting Windows Explorer services and others so you can continue using your Os.
How to Stop, Disable, Start, and Restart a Service via Services.msc
Windows 10 has a defended program to service direction, and that should ever be your kickoff bespeak of call. With it, y'all can quickly perform any of the tasks listed above.
- Open the Services app
Printing "Windows + R" and blazon "services.msc". Press "Enter" or "OK".
- Select a service
Double-click a service that you'd like to alter, in our case, 'Downloaded Maps Manager', or more accurately its service, 'MapsBroker'.
- Stop the service
If the service is currently running, Press "Stop", so "OK" to end it.
- Start the service
To outset a service, open the backdrop window and click "Commencement", and then "OK".
- Disable a service
To disable a service entirely, open its backdrop carte du jour and change the "Startup type:" drib-down to "Disabled". Press "OK".
- Switch windows service to transmission start
Rather than disabling a service, you tin can also define that information technology will only start with manual input.
How to Stop and Showtime a Service with Cyberspace Command
Command prompt is a less user friendly, but oft faster way to stop or start a service
- Open Command Prompt every bit an admin
Press the Windows primal and type "cmd". Correct-click the showtime upshot nether 'Best lucifer' and click 'Run as administrator'.
- Stop a service
To terminate a service, you must start know its name. Y'all tin use either its service proper name or the display name, similar then:net stop "MapsBroker"
ORnet cease "Downloaded Maps Manager"
- Starting time a service
You can probably guess the command to start a service. Merely type
cyberspace start "MapsBroker"
, or the display name of your service.
How to Finish, Start, and Disable Services with 'Sc' in Command Prompt
The 'sc' control gives us a picayune more control over our services, just requires more than specificity.
- Open up an elevated Command Prompt
Press the Windows key and type "Command Prompt". Right-click the first result under 'Best friction match' and choose "Run as administrator".
- Stop a service
To end a service, you need its full service name. You can probable find this in Chore Manager if information technology's running. Blazon:sc stop "MapsBroker"
. Supersede 'MapsBroker' with the proper noun or the service you'd like to stop. - Disable a service
As mentioned, the sc control allows for more configuration. You can disable a service rather than stopping it with:
sc config "MapsBroker" start=disabled
Replace "MapsBroker" with the service you'd like to modify.
- Modify a service'southward get-go type
You can also use sc to change the start type of a service, much like yous would with the Services app. There are iii possible configurations: transmission (demand), automatic (machine), and delayed automatic start (delayed-auto). For example:
sc config "MapsBroker" outset=need
- Start a service
Of course, the sc command can also commencement a service. For case:
sc start "MapsBroker"
How to Stop, Start, and Restart a Service via Task Director
Task Manager is where y'all're nearly likely to notice misbehaving services, so it makes sense to address the problem within its interface.
- Open Task Manager
Printing the Windows central and type "Task Director". Click the offset outcome under 'Best match'.
- Switch to the Services tab
In Task Manager's top bar, switch from 'Processes' to the "Services" tab. Y'all tin too aggrandize the problematic awarding in the processes view, correct-click its sub-entry, and click "Become To".
- End the service
Find the service you'd like to cease, in our case 'MapsBroker', or 'Downloaded Maps Director', right-click it, and press "End".
- Start a Service
Notice the service that has stopped by clicking the 'Status' column heading twice or scrolling down the list. Correct-click it and select "Start" to enable information technology.
- How to Restart a service
Sometimes a service just isn't behaving properly. In these cases, you tin restart the service by selecting it from the list, right-clicking, and choosing "Restart".
How to Stop, Commencement, Disable, and Restart Services with PowerShell
- Open PowerShell as an Administrator
Press "Windows + X" and click "Windows PowerShell (Admin)".
- Kickoff a service
Again, you lot can use either the service name or display to alter a service here. In PowerShell, enter:
Set-Service -Proper noun "MapBroker" -Status Running
OR
Set-Service -DisplayName "DownloadedMapsManager" -Status Running
- End a Service
To finish a service, set the status to stopped instead. Again, you can use the service proper noun or display name:
Set-Service -Name "MapBroker" -Condition Stopped
OR
Set up-Service -DisplayName "DownloadedMapsManager" -Status Stopped
- Disable a Service
The control to restart a service is slightly different, but can also use the brandish or service proper noun:
Restart-Service -Forcefulness "MapsBroker"
OR
Restart-Service -Forcefulness "DowloadedMapsManager".
- How to disable a service
You lot tin disable a service via its display name or service name via the following command:
Fix-Service -Proper name "MapsBroker" -StartupType Disabled -Status Stopped
OR
Set-Service -DisplayName "DowloadedMapsManager" -StartupType Disabled -Status Stopped
Naturally, you should switch the maps service with whichever i you wish to disable.
- How to enable a service
If you made a mistake, you tin enable a service again with:
Set-Service -Name "MapBroker" -StartupType Automatic
OR if you'd similar to employ the display name:
Set-Service -Name "DowloadedMapsManager" -StartupType Automatic
Yous tin supervene upon the maps service with one of your choice. Also deport in mind that you tin enable a service as a manual startup by replacing
-StartupType Automatic
with-StartupType Manual
.
Source: https://winbuzzer.com/2020/06/02/windows-10-how-to-stop-start-enable-disable-and-restart-a-service-xcxwbt/
Posted by: brinkthapide.blogspot.com
0 Response to "How To Disable A Service Through Cmd"
Post a Comment