
Ich versuche, per PowerShell einen Remotezugriff auf einen Computer herzustellen, erhalte jedoch diese Fehlermeldung:
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.
At line:1 char:1
+ etsn <ip address here> -Credential '<username here>'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (<ip address here>:String) [Enter-PSSession], PSRemoti
ngTransportException
+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed
Ich habe versucht, meinen Computer zu vertrauenswürdigen Hosts hinzuzufügen, erhalte aber immer wieder diesen Fehler. Wie kann ich über PowerShell remote auf einen anderen Computer zugreifen?
Antwort1
Möglicherweise müssen Sie Enable-PSRemoting auf dem Remotecomputer ausführen. Stellen Sie außerdem sicher, dass der Remote Registry-Dienst auch auf dem Remotecomputer ausgeführt wird.