The WinRM client cannot process the request. Unencrypted traffic is currently disabled in the client configuration – Fix
If you are trying to invoke powershell commands from a client machine, failure to configure WINRM client to allow unencrypted...
If you are trying to invoke powershell commands from a client machine, failure to configure WINRM client to trust the exchange server residing on the remote will result in following error:
Connecting to remote server failed with the following error message : The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
We have to do following configuration change on client machine where we run this application.
Step 1: Launch “Local Group Policy user interface” by typing gpedit.msc in the run promput.
Step 2: Navigate to “Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Remote Management (WinRM) > WinRM Client”.