Hyper-V Server Configuration
first, we need to configure the Hyper-V host to accept distant connections :
- Log into your Windows server with an administrative level account.
- Click on the Start button, type in Windows PowerShell and hit Enter.
- At a PowerShell prompt, run the following commands:
Enable-WSManCredSSP -Role server
Make sure to hit Y to confirm you want to enable CredSSP.
Windows 10 Client Configuration
future, let ‘s setup the client slope :
- Click on the Start Button and type in Turn windows features on or off and hit Enter.
- Navigate through the list of features and check the Hyper-V GUI Management Tools and then click OK.
- Make sure your network connection location is set to private. If it is not set to private, the commands in step 5 will fail. Take a look at this quick tip to change your network location to private.
- Next, right click on the Start Button and select Windows PowerShell (Admin).
- Type in the following PowerShell commands. My Windows server is called homeserver (named after one of Microsoft best products), make sure to replace “homeserver” in the commands below with the hostname of your Hyper-V host. Hit Y to continue when prompted by the commands to modify the TrustedHosts list and enable CredSSP authentication.
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "homeserver"
Enable-WSManCredSSP -Role client -DelegateComputer "homeserver"
- Now we need to change the credential delegation settings on your PC to allow for the non-domain NTLM authentication. Click on the Start Button, type in gpedit.msc and hit Enter to open the Local Group Policy Editor.
- Navigate through Computer Configuration, Administrative Templates, System, Credential Delegation, and right click on “Allow delegating fresh credentials with NTLM-only server authentication” and select Edit.
- Select Enabled, then click the Show button.
- Type in Wsman/homeserver (remember to replace “homeserver” with the name of your hyper-v host)
- Click OK to close the list window and OK again to close the policy window.
Ready to Connect
You are now quick to launch the Hyper-V Manager on your local personal computer. There are a few extra steps that are necessary to connect in the non-domain joined scenario .
- Click on the Start Button and type in Hyper-V Manager and hit Enter.
- When the Hyper-V Manager loads, click the Connect to a Server item under Actions.
- Select Another computer and type in the name of your server.
- Check the “Connect as another user” box and then click Set User.
- Type in the username in hostename\user format. For example, “homeserver\administrator”
- Click OK on the Windows Security screen after entering an administrative user and password that exists on your Hyper-V server.
- And then click OK on the Select Computer window to connect to your host. Within a few seconds, you should see a list of your Hyper-V virtual servers and workstations.