none
PowerShell stop-computer error privilege not held RRS feed

  • Question

  • Since last week, I noticed I am unable to shutdown the Windows 10 computer using stop-computer cmdlet in PowerShell. I am running PowerShell as Administrator so it's certainly not an elevation issue. I have been using this method successfully until recently. I am not sure if it is creator's update or it is an update that came just before it. I have this issue on all four of my Windows 10 machines, and all of them run latest updates.

    There are others reporting the same issue as well: https://www.reddit.com/r/PowerShell/comments/65250s/windows_10_creators_update_stopcomputer_not/

    Any statement from Microsoft on this please?


    Bhargav Shukla | KEMP Technologies | http://www.kemptechnologies.com

    Tuesday, April 18, 2017 4:54 AM

Answers

  • On W10 (1703) you have to uninstall update KB4015583 and than the cmdlet works again!

    On 2012R2 the wrongdoer is the SU KB4014556, which seems to come within the .NET-RollUps KB 4014483 and KB 4014487!

    This might be helpfull to fix the Problem!

    • Marked as answer by BhargavShukla Wednesday, April 19, 2017 4:28 PM
    • Edited by DTPRTHH100 Thursday, April 20, 2017 10:00 AM
    Wednesday, April 19, 2017 9:01 AM

All replies