Relative Content

Tag Archive for pythonwindowspowershellkerberoswinrm

PyWinRm credentials getting rejected from doing windows to windows connection

I am using PyWinRm on my windows machine to connect to a remote host using Kerberos. In our environment we use pywinrm on our linux machines to run PowerShell commands all the time using Kerberos. The issue im running into is when i try to run a simple command like: “echo test” it gives me an error of “the specified credentials were rejected by the server”. I have winrm configured to support remote PowerShell and have gotten it to work with ntlm but not Kerberos.