Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

[New Admin Question] Remote into Server

$
0
0

I downloaded and installed the Core Hyper-V 2019 (where you only use PowerShell). I cannot for the life of me figure out how to "remote" into the VM after starting it. I've used the Virtual Manager in Windows 10 Pro before  where you can click"CONNECT" and I'm sure there is another term that I don't know but I've tried Googling my eyes out trying to figure this out.

In other news, I've tried to connect my Hyper-V Management Console from my Windows 10 Pro box to simply use the connect button, but I get an error: "The operation on computer "HyperServer" failed: The WinRM client cannot process the request. A computer policy does not allow the delegation of the user credentials to the target computer because the computer is not trusted. The identity of the target computer can be verified if you configure the WSMAN service to use a valid certificate using the following command: winrm set winrm/config/service @{CertificateThumbprint"<thumbprint>"} OR you can check the event viewer for an event that specifies that the following SPN could not be created: WSMAN/<computerFQDN>. If you find this event, you can manually create the SPN using setspn.exe. if the SPN exists, but CredSSP cannot use Kerberos to validate the identity of the target computer and you still want to allow the delegation of the user credentials to the target computer, use gpedit.msc and look at the following policy: Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow Fresh Credentials with NTLM-Only Server Authentication. Verify that it is enabled and configured with an SPN appropriate for the target Computer. For example, for a target computer name "myserver.domain.com", the SPN can be one of the following: WSMAN/myserver.domain.com or WSMAN/*.doman.com. Try the request again after these changes.

Here is all the items I've accomplished via both Client and Server:

// Server
[X] Enable-PSRemoting -Force
[X] Enable-WSManCredSSP -Role Server
[X] Set-Item WSMan:\localhost\Client\TrustedHosts -Value "PC-J86"
[X] Set-NetConnectionProfile -Name "Network" -NetworkCategory Private

// Client
[X] Enable-PSRemoting -Force
[X] Enable-WSManCredSSP -Role Client -DelegateComputer "HyperServer"

[X] Start-Service -Name winrm
[X] Set-Item WSMan:\localhost\Client\TrustedHosts -Value "HyperServer"
[X] Stop-Service -Name winrm

[X] Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Tools-All -All

[X] gpedit.msc > Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow delegating fresh credentials with NTLM-Only server authentication
 > Enabled
 > Show > WSMAN/HyperServer

Thanks in advance and any help would be awesome.


Viewing all articles
Browse latest Browse all 19461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>