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

  • Question

  • 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


  • Hello

    This should have been in Tuesday Update that went out, has anybody tried it after installing the latest update

    Thanks, Darrell Gorter [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    • Proposed as answer by -Mr Happy- Thursday, May 11, 2017 9:13 PM
    • Marked as answer by Noel Fairclough Friday, May 12, 2017 3:51 AM
    Thursday, May 11, 2017 8:02 PM

All replies