HyperVServer Build
-
@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
-
-
@joel said in HyperVServer Build:
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
If you have RSAT installed, you can use Server Manager > File and Storage Services to manage your disks or use Disk Management.
-
I'm assuming Disk 0 is your RAID10.
You have a partition setup for 80GB which is your C volume.
Now you need to (on DISK 0), create another VOLUME using the rest of the space and give it the letter D.
-
-
diskpart select disk 0 create partition primary select partition 5 format fs=ntfs label="DATA" quick assign list disk list part list vol
-
@obsolesce I don't have to run any firewall powershell commands. The steps I listed above are literally all I need to do. I did this on a server about 10 days ago. Installed perfectly on a Dell R420.