HyperVServer Build
-
These are the steps I follow when setting up a Hyper-V server with a Windows 10 machine to manage in a Workgroup environment. Works perfectly every time.
From Hyper-V Server:
Enable Remote Management
- Select 4 on the menu
- Then select 1 for Enable Remote Management
- Go back to previous menu
Enable Remote Desktop
- Select 7 on the menu
- Then select "e" for enable
- Select 2 on the next screen for Allow clients running ANY version of remote desktop
Run Powershell Commands
- Type powershell in command window and press Enter
- Type "Enable-PSRemoting" and press ENTER
- Type "Enable-WSManCredSSP -Role Server" and press ENTER
- Select "y" when prompted to confirm and press ENTER
- Exit Powershell by typing "exit" and press ENTER
- In command prompt, type "net start winrm" and press ENTER <-- Use this is can't connect later to server
From Windows 10 Machine
- Control Panel -> Programs & Features -> Turn Windows Features On Or Off
- Enable Hyper-V role and press OK
- Launch Powershell as Admin
- Type "Set-Item WSMan:\localhost\Client\TrustedHosts -Value "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
- Type "Enable-WSManCredSSP -Role client -DelegateComputer "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
Edit Group Policy
- Click Windows icon and type "gpedit" and open Group Policy program
- Local Computer-> Computer Configuration -> Administrative Templates -> System -> Credential Delegation
- Edit the "Allow delegating fresh credentials with NTLM-Only server authentication"
- Click "Show" button to add items
- Add value "WSMAN/*" to servers list and click OK
Manage Via Hyper-V Manager
- Start Hyper-V Manager and click Connect To Server and add IP address of server
- Select "Connect as another user" and click "Set User"
- Enter user login details with username in format of "WSMAN\Username"
- Create Virtual Switch as needed
-
@nashbrydges said in HyperVServer Build:
These are the steps I follow when setting up a Hyper-V server with a Windows 10 machine to manage in a Workgroup environment. Works perfectly every time.
From Hyper-V Server:
Enable Remote Management
- Select 4 on the menu
- Then select 1 for Enable Remote Management
- Go back to previous menu
Enable Remote Desktop
- Select 7 on the menu
- Then select "e" for enable
- Select 2 on the next screen for Allow clients running ANY version of remote desktop
Run Powershell Commands
- Type powershell in command window and press Enter
- Type "Enable-PSRemoting" and press ENTER
- Type "Enable-WSManCredSSP -Role Server" and press ENTER
- Select "y" when prompted to confirm and press ENTER
- Exit Powershell by typing "exit" and press ENTER
- In command prompt, type "net start winrm" and press ENTER <-- Use this is can't connect later to server
From Windows 10 Machine
- Control Panel -> Programs & Features -> Turn Windows Features On Or Off
- Enable Hyper-V role and press OK
- Launch Powershell as Admin
- Type "Set-Item WSMan:\localhost\Client\TrustedHosts -Value "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
- Type "Enable-WSManCredSSP -Role client -DelegateComputer "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
Edit Group Policy
- Click Windows icon and type "gpedit" and open Group Policy program
- Local Computer-> Computer Configuration -> Administrative Templates -> System -> Credential Delegation
- Edit the "Allow delegating fresh credentials with NTLM-Only server authentication"
- Click "Show" button to add items
- Add value "WSMAN/*" to servers list and click OK
Manage Via Hyper-V Manager
- Start Hyper-V Manager and click Connect To Server and add IP address of server
- Select "Connect as another user" and click "Set User"
- Enter user login details with username in format of "WSMAN\Username"
- Create Virtual Switch as needed
MY HERO - I'm in process of re-installing so will follow these steps - Thanks
-
@joel said in HyperVServer Build:
@nashbrydges said in HyperVServer Build:
These are the steps I follow when setting up a Hyper-V server with a Windows 10 machine to manage in a Workgroup environment. Works perfectly every time.
From Hyper-V Server:
Enable Remote Management
- Select 4 on the menu
- Then select 1 for Enable Remote Management
- Go back to previous menu
Enable Remote Desktop
- Select 7 on the menu
- Then select "e" for enable
- Select 2 on the next screen for Allow clients running ANY version of remote desktop
Run Powershell Commands
- Type powershell in command window and press Enter
- Type "Enable-PSRemoting" and press ENTER
- Type "Enable-WSManCredSSP -Role Server" and press ENTER
- Select "y" when prompted to confirm and press ENTER
- Exit Powershell by typing "exit" and press ENTER
- In command prompt, type "net start winrm" and press ENTER <-- Use this is can't connect later to server
From Windows 10 Machine
- Control Panel -> Programs & Features -> Turn Windows Features On Or Off
- Enable Hyper-V role and press OK
- Launch Powershell as Admin
- Type "Set-Item WSMan:\localhost\Client\TrustedHosts -Value "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
- Type "Enable-WSManCredSSP -Role client -DelegateComputer "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
Edit Group Policy
- Click Windows icon and type "gpedit" and open Group Policy program
- Local Computer-> Computer Configuration -> Administrative Templates -> System -> Credential Delegation
- Edit the "Allow delegating fresh credentials with NTLM-Only server authentication"
- Click "Show" button to add items
- Add value "WSMAN/*" to servers list and click OK
Manage Via Hyper-V Manager
- Start Hyper-V Manager and click Connect To Server and add IP address of server
- Select "Connect as another user" and click "Set User"
- Enter user login details with username in format of "WSMAN\Username"
- Create Virtual Switch as needed
MY HERO - I'm in process of re-installing so will follow these steps - Thanks
So I followed this to the letter and no luck this time!!!
Last time i did run some PS for firewalls - do I need to do this also on the host? -
@joel said in HyperVServer Build:
@joel said in HyperVServer Build:
@nashbrydges said in HyperVServer Build:
These are the steps I follow when setting up a Hyper-V server with a Windows 10 machine to manage in a Workgroup environment. Works perfectly every time.
From Hyper-V Server:
Enable Remote Management
- Select 4 on the menu
- Then select 1 for Enable Remote Management
- Go back to previous menu
Enable Remote Desktop
- Select 7 on the menu
- Then select "e" for enable
- Select 2 on the next screen for Allow clients running ANY version of remote desktop
Run Powershell Commands
- Type powershell in command window and press Enter
- Type "Enable-PSRemoting" and press ENTER
- Type "Enable-WSManCredSSP -Role Server" and press ENTER
- Select "y" when prompted to confirm and press ENTER
- Exit Powershell by typing "exit" and press ENTER
- In command prompt, type "net start winrm" and press ENTER <-- Use this is can't connect later to server
From Windows 10 Machine
- Control Panel -> Programs & Features -> Turn Windows Features On Or Off
- Enable Hyper-V role and press OK
- Launch Powershell as Admin
- Type "Set-Item WSMan:\localhost\Client\TrustedHosts -Value "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
- Type "Enable-WSManCredSSP -Role client -DelegateComputer "IP_OF_HYPER-V_SERVER" and press ENTER
- Type "y" when prompted and press ENTER
Edit Group Policy
- Click Windows icon and type "gpedit" and open Group Policy program
- Local Computer-> Computer Configuration -> Administrative Templates -> System -> Credential Delegation
- Edit the "Allow delegating fresh credentials with NTLM-Only server authentication"
- Click "Show" button to add items
- Add value "WSMAN/*" to servers list and click OK
Manage Via Hyper-V Manager
- Start Hyper-V Manager and click Connect To Server and add IP address of server
- Select "Connect as another user" and click "Set User"
- Enter user login details with username in format of "WSMAN\Username"
- Create Virtual Switch as needed
MY HERO - I'm in process of re-installing so will follow these steps - Thanks
So I followed this to the letter and no luck this time!!!
Last time i did run some PS for firewalls - do I need to do this also on the host?WHat error are you getting now? Make sure hyperv server is fully up to date, as well as your Win10 pc
-
I'm getting this error now!
I have just run:
netsh advfirewall firewall set rule group = "XXX" new enable =yesWhere XXX = Remote Event Log Management
Remote Service Management
File and Printer Sharing
Remote Scheduled Tasks
Performance Logs and Alerts
Remote Volume Management
Windows Firewall Remote Management -
@joel said in HyperVServer Build:
I'm getting this error now!
I have just run:
netsh advfirewall firewall set rule group = "XXX" new enable =yesWhere XXX = Remote Event Log Management
Remote Service Management
File and Printer Sharing
Remote Scheduled Tasks
Performance Logs and Alerts
Remote Volume Management
Windows Firewall Remote ManagementAre you connecting as a user that has permission on the host?
-
I'm connecting as the local admin. Ie on my host there is a default 'Administrator' user account.
Within HyperV-Manager I choose 'Connect to server' and Set User as:
Workgroup\administrator and then enter my password -
I found online to run this command on the host - I'm not sure what that is so dont feel comfortable running it. Any ideas?
Run โMOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mofโ
-
@joel said in HyperVServer Build:
I'm connecting as the local admin. Ie on my host there is a default 'Administrator' user account.
Within HyperV-Manager I choose 'Connect to server' and Set User as:
Workgroup\administrator and then enter my passwordTry it as hostname\administrator instead of workgroup
-
sadly no joy - same result even with hostname\administrator
-
@joel said in HyperVServer Build:
sadly no joy - same result even with hostname\administrator
The name of the server, not literally "hostname", right?
-
@obsolesce haha yes. HV01\Administrator
-
@joel said in HyperVServer Build:
@obsolesce haha yes. HV01\Administrator
Can you connect via powershell?
Verify you can ping HV01 by name.
Open up PowerShell on your Win10 PC, and type
Enter-PSSession
, then hit enter.Then enter HV01.
-
@obsolesce said in HyperVServer Build:
@joel said in HyperVServer Build:
@obsolesce haha yes. HV01\Administrator
Can you connect via powershell?
Verify you can ping HV01 by name.
Open up PowerShell on your Win10 PC, and type
Enter-PSSession
, then hit enter.Then enter HV01.
Enter-PSSession -ComputerName HV01 -Credential HV01\Administrator
does work. -
Enter-PSSession -ComputerName HV01 -Credential HV01\Administrator does work - yes this does work!
-
Its just the connecting via hyper-v manager 'Operation not supported' - So how can I allow remote management on the HV01 host or get my host to support Hyper-V Manager?
-
Enter another PSSession to HV01.
Then type
get-service vmms
Does the status say it's running?
-
UPDATE: I have run Updates on the host and after a reboot I think i can now connect. It did throw another error about WinRM firewall but it connected - i'll report back after a bit more tetsing
THANKS so far -
Next I want to create a new VM - My Domain Controller.
First, I want to change Hyper-V settings so my VM's go into D:\
- How do I partition the D drive on my host - when i formatted windows I created one partition for (80GB) and left 1.9TB spare (which I want to be my D drive) - How do I bring the D drive online on the host and have it accessible?
Thanks
-