ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    HyperVServer Build

    Scheduled Pinned Locked Moved IT Discussion
    67 Posts 11 Posters 7.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ObsolesceO
      Obsolesce @Joel
      last edited by

      @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

      1 Reply Last reply Reply Quote 0
      • JoelJ
        Joel
        last edited by

        I'm getting this error now!

        0_1532634515000_Capture111.PNG

        I have just run:
        netsh advfirewall firewall set rule group = "XXX" new enable =yes

        Where 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

        ObsolesceO 1 Reply Last reply Reply Quote 0
        • ObsolesceO
          Obsolesce @Joel
          last edited by

          @joel said in HyperVServer Build:

          I'm getting this error now!

          0_1532634515000_Capture111.PNG

          I have just run:
          netsh advfirewall firewall set rule group = "XXX" new enable =yes

          Where 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

          Are you connecting as a user that has permission on the host?

          NashBrydgesN 1 Reply Last reply Reply Quote 0
          • JoelJ
            Joel
            last edited by

            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

            ObsolesceO NashBrydgesN 2 Replies Last reply Reply Quote 0
            • JoelJ
              Joel
              last edited by Joel

              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”

              https://community.spiceworks.com/how_to/122307-fix-error-managing-hyper-v-server-2012-r2-from-windows-10

              1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce @Joel
                last edited by

                @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 password

                Try it as hostname\administrator instead of workgroup

                1 Reply Last reply Reply Quote 0
                • JoelJ
                  Joel
                  last edited by

                  sadly no joy - same result even with hostname\administrator

                  ObsolesceO 1 Reply Last reply Reply Quote 0
                  • ObsolesceO
                    Obsolesce @Joel
                    last edited by

                    @joel said in HyperVServer Build:

                    sadly no joy - same result even with hostname\administrator

                    The name of the server, not literally "hostname", right?

                    JoelJ 1 Reply Last reply Reply Quote 0
                    • JoelJ
                      Joel @Obsolesce
                      last edited by

                      @obsolesce haha yes. HV01\Administrator

                      ObsolesceO 1 Reply Last reply Reply Quote 0
                      • ObsolesceO
                        Obsolesce @Joel
                        last edited by

                        @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.

                        ObsolesceO 1 Reply Last reply Reply Quote 0
                        • ObsolesceO
                          Obsolesce @Obsolesce
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • JoelJ
                            Joel
                            last edited by

                            Enter-PSSession -ComputerName HV01 -Credential HV01\Administrator does work - yes this does work!

                            1 Reply Last reply Reply Quote 0
                            • JoelJ
                              Joel
                              last edited by

                              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?

                              1 Reply Last reply Reply Quote 0
                              • ObsolesceO
                                Obsolesce
                                last edited by Obsolesce

                                Enter another PSSession to HV01.

                                Then type get-service vmms

                                Does the status say it's running?

                                1 Reply Last reply Reply Quote 0
                                • JoelJ
                                  Joel
                                  last edited by

                                  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

                                  1 Reply Last reply Reply Quote 1
                                  • JoelJ
                                    Joel
                                    last edited by

                                    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:\

                                    1. 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

                                    black3dynamiteB 1 Reply Last reply Reply Quote 0
                                    • JoelJ
                                      Joel
                                      last edited by

                                      0_1532638597925_disks.PNG

                                      1 Reply Last reply Reply Quote 0
                                      • black3dynamiteB
                                        black3dynamite @Joel
                                        last edited by

                                        @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:\

                                        1. 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.

                                        1 Reply Last reply Reply Quote 1
                                        • ObsolesceO
                                          Obsolesce
                                          last edited by Obsolesce

                                          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.

                                          1 Reply Last reply Reply Quote 0
                                          • JoelJ
                                            Joel
                                            last edited by

                                            0_1532638980066_disk1.PNG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post