Request For Principal Permission Failed – PowerShell

IT Support Forum Forums Windows Windows Server 2012 Troubleshooting Request For Principal Permission Failed – PowerShell

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 9 months, 4 weeks ago.

  • Author
    Posts
  • #1705

    Webmaster
    Keymaster

    When trying to run a PowerShell command (Get-WsusServer, in my case), you get this error:

    Get-WsusServer : Request for principal permission failed.
    At line:1 char:1
    + Get-WsusServer
    + ~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (Microsoft.Updat…usServerCommand:GetWsusServerCommand) [Get-WsusServer],
    SecurityException
    + FullyQualifiedErrorId : UnexpectedError,Microsoft.UpdateServices.Commands.GetWsusServerCommand

    This is because you need to be running PowerShell as an administrator. Close PowerShell, right click the PowerShell icon and click “Run as administrator”. You should then be able to run your command without getting the Request for principal permission failed error.

You must be logged in to reply to this topic.