Already a member? Log in

Sign up with your...


Sign Up with your email address

Add Tags

Duplicate Tags

Rename Tags

Share It With Others!

Save Link

Sign in

Sign Up with your email address

Sign up

By clicking the button, you agree to the Terms & Conditions.

Forgot Password?

Please enter your username below and press the send button.
A password reset link will be sent to you.

If you are unable to access the email address originally associated with your Delicious account, we recommend creating a new account.



winrm quickconfig Access denied error.

I have used windows server 2008 r2 64 bit os and I have congin the winrm for remote powershell access using powershell command and I got the below error.

[PS] C:\Windows\system32>winrm quickconfig


    Message = Access is denied.

Error number:  -2147024891 0x80070005

Access is denied.

[PS] C:\Windows\system32>winrm e winrm/config/listener


    Message = Access is denied.

Error number:  -2147024891 0x80070005

Access is denied.

[PS] C:\Windows\system32>


A pathfinder..

Jo Swa


winrm quickconfig must be run in an elevated command prompt on any server.

After it is enabled the elevated command prompt is no longer necessary.

You also need PowerShell 2 installed in addition to the WinRM update.

And on the server side you have to allow it to receive from your client and on the client side you have to set the trusted hosts.

By default WinRM is shut down to local only.  You have to enable the remote features.

the following opens everything up and enables HTTP (in addition to HTTPS) the client settings are requred where the code executes and the server settings on the machine being accessed:

  winrm quickconfig -quiet

  winrm set winrm/config/service '@{AllowUnencrypted="true"}'

  winrm set winrm/config/service/auth '@{Basic="true"}'

  winrm set winrm/config/client '@{AllowUnencrypted="true"}'

  winrm set winrm/config/client '@{TrustedHosts="*"}'

Brian Ehlert (hopefully you have found this useful)

I guess that you do not have the required permission to do this task.

Please try to run the cmd-shell as an administrator: "runas /user:Administrator"

Share It With Others!