windows - WinRM cannot process the request. Error 0x80090311 -




i have 2 systems (sr01 & sr02) local administrators account. both systems in same domain. local admin accounts same different password. these machines vm's.

when run enter-pssession sr01 sr02 throws below error.

error: enter-pssession : connecting remote server sr02.domain.com failed following error message : winrm cannot process request. following error errorcode 0x80090311 occurred while using kerberos authentication: there no logon servers available service logon request. possible causes are: -the user name or password specified invalid. -kerberos used when no authentication method , no user name specified. -kerberos accepts domain user names, not local user names. -the service principal name (spn) remote computer name , port not exist. -the client , remote computers in different domains , there no trust between 2 domains. after checking above issues, try following: -check event viewer events related authentication. -change authentication method; add destination computer winrm trustedhosts configuration setting or use https transport. note computers in trustedhosts list might not authenticated. -for more information winrm configuration, run following command: winrm config. more information, see about_remote_troubleshooting topic. @ line:1 char:1 + enter-pssession -computername $server -credential $cred + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : invalidargument: (sr02.domain.com:string) [enter-pssession], psrem otingtransportexception + fullyqualifiederrorid : createremoterunspacefailed

script used:

$cred=get-credential

enter-pssession -computername "sr02" -credential $cred





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -