Powershell cmdlet STOP-COMPUTER no longer works on Windows 10 Creators Update


  • Hi guys,

    Running Windows 10 Professional prior to the April 2017 "Creators Update" I could use the "stop-computer" PowerShell cmdlet to shutdown my computer.  For me this was just sometimes faster than clicking through the GUI shutdown method, but also - I would shutdown the computer after running batch PowerShell scripts. 

    Since applying the update, the cmdlet no longer works and reports the error...

    PS C:\WINDOWS\system32> stop-computer
    stop-computer : Privilege not held.
    At line:1 char:1
    + stop-computer
    + ~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (MYCOMPUTER:String) [Stop-Computer], ManagementException
        + FullyQualifiedErrorId : StopComputerException,Microsoft.PowerShell.Commands.StopComputerCommand

    This error is the same whether PowerShell is run as a normal user or as "administrator".  Any ideas on what the problem could be?

    Sunday, April 16, 2017 11:37 AM

All replies