Winrm quickconfig error

問題現象 –

Winrm quickconfig

WSManFault

    Message

        ProviderFault

            WSManFault

                Message

Error number:  -2147024894 0x80070002

問題成因 - Firewall issue

解決方案 –

you can try to a new Rule in Windows Firewall with Advanced security-> Port : TCP – 5985

Action: Allow all connection

Profile: Selected all network profile

Name: "Windows Remote Management (HTTP-In)"

Next - Finish.

Open Properties for this rule and then on the Program and Services tab, selected All Services.

If the steps action not work.

Please try to disable windows firewall services then run the command. then you can start windows firewall service.