locked
Error while establishing a PS-Session to my Hyper V VM from the host machine RRS feed

  • Question

  • Hi,

    I am trying to use script block to execute few commands on to my target machine from my host for the purpose of bringing hard disks to online and assign driveletters etc. For that I am using the New-PSSessionusing local administrator who has rights on my target VM. But fails with the below error.

    Details: Target VM does not join the domain. Just booted up using vhd.

    New-PSSession-ComputerName"WIN-OS1VN75JEFM"-Credential"WIN-OS1VN75JEFM\Administrator"

    New-PSSession : [WIN-OS1VN75JEFM] Connecting to remote server WIN-OS1VN75JEFM failed with the following error message : WinRM cannot process the request. The following error

    with errorcode 0x80090311 occurred while using Kerberos authentication: There are currently no logon servers available to service the logon request.  

    Wednesday, January 17, 2018 12:35 AM

All replies

  • You must use CredSSP to a non-domain machine.

    Search for dozens of articles explaining how to do this.


    \_(ツ)_/

    Wednesday, January 17, 2018 12:48 AM