Start, Stop, and Disable Services in Windows 10  

Page 4 of 4 FirstFirst ... 234
  1.    07 Nov 2018 #30

    hopefully i don't have to do it again
      My ComputerSystem Spec


  2. Posts : 12
    Windows 10 Home 64-bit
       2 Weeks Ago #31

    Hi Shawn
    Thanks for anotherbrilliant tutorial.

    I'm trying to disable Windows 10 Update Service with PS cmdlet Set-Service -Name "wuauserv" -StartupType Disabled -Status Stopped

    The PS error message blames dependency on other services, and there is no Force parameter for this cmdlet in PS Help.
    My computer shows no dependencies on Windows Update, but it is dependent on the RPC service.

    Any suggestions? Thanks.

    Old Novice
      My ComputerSystem Spec

  3. Brink's Avatar
    Posts : 36,085
    64-bit Windows 10 Pro build 18836
    Thread Starter
       2 Weeks Ago #32

    Old Novice said: View Post
    Hi Shawn
    Thanks for anotherbrilliant tutorial.

    I'm trying to disable Windows 10 Update Service with PS cmdlet Set-Service -Name "wuauserv" -StartupType Disabled -Status Stopped

    The PS error message blames dependency on other services, and there is no Force parameter for this cmdlet in PS Help.
    My computer shows no dependencies on Windows Update, but it is dependent on the RPC service.

    Any suggestions? Thanks.

    Old Novice
    Hello Old Novice,

    Odd, the PowerShell command worked for me to disable the Windows Update service.

    Name:  Windows_Update.png
Views: 47
Size:  10.8 KB

    Does using the command below in an elevated command prompt work for you instead?

    sc stop "wuauserv" && sc config "wuauserv" start=disabled
      My ComputersSystem Spec


  4. Posts : 12
    Windows 10 Home 64-bit
       2 Weeks Ago #33

    Hi Shawn
    Thank you for your quick reply.
    Further info:
    I have two quite independent Windows 10 Home laptops - Sony Vaio and Lenovo ideapad 300. Regarding this problem, they behave identically. Following is a screen shot of the PS error message which might mean more to you than to me:
    Attachment 223024
    After posting to you, I discovered that I was trying to disable a running service. I stopped it using PS Set-Service -Name "wuauserv" -Status Stopped before applying the PS command to disable. This worked without error.

    (I also noticed that disabling by clicking in the service properties window was accepted, but left the Status as Running, presumably needing a restart to stop.)

    In your helpful reply, your CMD suggestion, which worked beautifully, thank you, also includes a Stop command before configuring Disable. It would be interesting to know the initial Status of the Service used in your tutorial without an explicit preliminary Stop element.

    Your suggestion to try PS Core6 is very attractive; unfortunately time constraints don't permit at present. I will be staying with PS 5.1. My current project, in which this problem occurred, involves desktop shortcuts to PS scripts that include confirmation dialogs and other operations partly written, and I don't want to change horses in mid stream. So, for now, I regard my problem as solved, and am most grateful for your contribution.

    Thank you Shawn.

    Old Novice
      My ComputerSystem Spec

  5. Brink's Avatar
    Posts : 36,085
    64-bit Windows 10 Pro build 18836
    Thread Starter
       2 Weeks Ago #34

    @Old Novice,

    The suggestion to try "PS Core6" was just something PowerShell itself was advertising.

    I'm glad you got the command to work to stop and disable the service.

    It's really not needed to know the current running or stopped status of a service before disabling it unless you just wanted to. You would need to stop the service before disabling it anyways. It won't matter if the service is already stopped or not.

    You can use the command below in an elevated PowerShell to see the current status of the Windows Update service.

    Get-Service "wuauserv"

    Start, Stop, and Disable Services in Windows 10 | Tutorials
      My ComputersSystem Spec


 
Page 4 of 4 FirstFirst ... 234

Tutorial Categories

Start, Stop, and Disable Services in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Hi I noticed that some services of Windows 10 Preview although I set them on Manual, they are automatically set to "Manual (trigger start". Why? What is the difference between these two startup modes? Lastly, with these services, how do I set...
Solved Unable to Re-Start Windows Defender Services in AntiVirus, Firewalls and System Security
A little background first, I downloaded a file and started to install it when Defender caught the virus, but didn't contain it. So I downloaded Malwarebytes to scan and remove the virus. After I loaded Malwarebytes I noticed I wasn't getting...
This will, most likely, be the default procedure for opting out of 'Insider Preview Builds' on your copy Windows 10 Upgrade, and, not necessarily opting you out of the Insider Program per se, but this, of course, is not verified. Settings►Update...
I have my personal laptop with me at work today. It is now downloading Win10 10166, but its at about 30% and I don't think it will finish by the time I get out of work (in about 30 minutes). Can I just shut down Windows in the middle of the download...
How to Enable or Disable Resizable Start Menu in Windows 10 This tutorial no longer works starting with Windows 10 build 10041 released on March 18th 2015. Windows 10 build 9926 uses a new expandable Start menu without a Start screen and Apps...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 01:19.
Find Us