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

    Building a Hyper-V 2016 host Take 2

    Scheduled Pinned Locked Moved IT Discussion
    hyper-v 2016dashrenderinstall
    58 Posts 10 Posters 9.6k 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
      last edited by Obsolesce

      Something to add here, as I just had to re-do a Hyper-V host... Pagefile.sys

      I installed Hyper-V Server 2016, and it decided to put the pagefile on the MD1000. I wanted it on the šŸ˜„ drive. It took me a while to figure out how to do it via PowerShell, but I got it. Here's the PowerShell I used to fix it:

      Set-WMIInstance -Class Win32_PageFileSetting -Arguments @{name="C:\pagefile.sys";InitialSize = 4096; MaximumSize = 12288}
      

      Run that line and reboot.
      I chose my page file size as such because the šŸ˜„ drive is small, and I don't care about page file. But MS recommends to use use as automatically managed, so there we go... a mid-way compromise.

      You can check the status by running this:

      Get-WmiObject Win32_PageFileusage
      
      1 Reply Last reply Reply Quote 5
      • dave247D
        dave247
        last edited by dave247

        I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management: 0_1513799750741_bf43bce0-3521-4cc8-80cb-75ef8234d764-image.png

        I've been googling for a while now trying to fix it. No dice.

        Also, NICE WRITE-UP!!

        DashrenderD 2 Replies Last reply Reply Quote 0
        • DashrenderD
          Dashrender @dave247
          last edited by

          @dave247 said in Building a Hyper-V 2016 host Take 2:

          Also, NICE WRITE-UP!!

          Thanks.

          1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @dave247
            last edited by

            @dave247 said in Building a Hyper-V 2016 host Take 2:

            I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management:

            did you run this command as noted above

            Enable-NetFirewallRule -DisplayGroup ā€œRemote Volume Managementā€

            dave247D 1 Reply Last reply Reply Quote 0
            • dave247D
              dave247 @Dashrender
              last edited by dave247

              @dashrender said in Building a Hyper-V 2016 host Take 2:

              @dave247 said in Building a Hyper-V 2016 host Take 2:

              I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management:

              did you run this command as noted above

              Enable-NetFirewallRule -DisplayGroup ā€œRemote Volume Managementā€

              Yes, I ran that on the server but not my pc. I just ran it on my Windows 10 pc too and now it works.

              THANKS

              BRRABillB DashrenderD 2 Replies Last reply Reply Quote 0
              • BRRABillB
                BRRABill @dave247
                last edited by

                @dave247 said in Building a Hyper-V 2016 host Take 2:

                @dashrender said in Building a Hyper-V 2016 host Take 2:

                @dave247 said in Building a Hyper-V 2016 host Take 2:

                I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management:

                did you run this command as noted above

                Enable-NetFirewallRule -DisplayGroup ā€œRemote Volume Managementā€

                Yes, I ran that on the server but not my pc. I just ran it on my Windows 10 pc too and now it works.

                THANKS

                Yeah has to be done on both sides. A gotcha for sure, that as you found out is not easily Google-able.

                dave247D 1 Reply Last reply Reply Quote 1
                • dave247D
                  dave247 @BRRABill
                  last edited by

                  @brrabill said in Building a Hyper-V 2016 host Take 2:

                  @dave247 said in Building a Hyper-V 2016 host Take 2:

                  @dashrender said in Building a Hyper-V 2016 host Take 2:

                  @dave247 said in Building a Hyper-V 2016 host Take 2:

                  I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management:

                  did you run this command as noted above

                  Enable-NetFirewallRule -DisplayGroup ā€œRemote Volume Managementā€

                  Yes, I ran that on the server but not my pc. I just ran it on my Windows 10 pc too and now it works.

                  THANKS

                  Yeah has to be done on both sides. A gotcha for sure, that as you found out is not easily Google-able.

                  Today I learned...

                  1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @dave247
                    last edited by

                    @dave247 said in Building a Hyper-V 2016 host Take 2:

                    @dashrender said in Building a Hyper-V 2016 host Take 2:

                    @dave247 said in Building a Hyper-V 2016 host Take 2:

                    I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management:

                    did you run this command as noted above

                    Enable-NetFirewallRule -DisplayGroup ā€œRemote Volume Managementā€

                    Yes, I ran that on the server but not my pc. I just ran it on my Windows 10 pc too and now it works.

                    THANKS

                    Do I need to change something in my instructions to make that specifically stand out more?

                    BRRABillB dave247D 2 Replies Last reply Reply Quote 0
                    • BRRABillB
                      BRRABill @Dashrender
                      last edited by

                      @dashrender said

                      Do I need to change something in my instructions to make that specifically stand out more?

                      I would think ... yes?

                      1 Reply Last reply Reply Quote 0
                      • dave247D
                        dave247 @Dashrender
                        last edited by

                        @dashrender said in Building a Hyper-V 2016 host Take 2:

                        @dave247 said in Building a Hyper-V 2016 host Take 2:

                        @dashrender said in Building a Hyper-V 2016 host Take 2:

                        @dave247 said in Building a Hyper-V 2016 host Take 2:

                        I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management:

                        did you run this command as noted above

                        Enable-NetFirewallRule -DisplayGroup ā€œRemote Volume Managementā€

                        Yes, I ran that on the server but not my pc. I just ran it on my Windows 10 pc too and now it works.

                        THANKS

                        Do I need to change something in my instructions to make that specifically stand out more?

                        Maybe, "Run these commands on both server and management workstation" šŸ˜‰

                        BRRABillB 1 Reply Last reply Reply Quote 1
                        • BRRABillB
                          BRRABill @dave247
                          last edited by

                          @dave247 said in Building a Hyper-V 2016 host Take 2:

                          @dashrender said in Building a Hyper-V 2016 host Take 2:

                          @dave247 said in Building a Hyper-V 2016 host Take 2:

                          @dashrender said in Building a Hyper-V 2016 host Take 2:

                          @dave247 said in Building a Hyper-V 2016 host Take 2:

                          I've successfully added Windows Server Management to my Windows 10 system and am now able to connect to my Hyper-V 2016 server. However, I am having trouble viewing server info such as hard disk space. I get this error when trying to go to disk management:

                          did you run this command as noted above

                          Enable-NetFirewallRule -DisplayGroup ā€œRemote Volume Managementā€

                          Yes, I ran that on the server but not my pc. I just ran it on my Windows 10 pc too and now it works.

                          THANKS

                          Do I need to change something in my instructions to make that specifically stand out more?

                          Maybe, "Run these commands on both server and management workstation" šŸ˜‰

                          He does say that. I just think it needs to be highlighted or something because in that block it's easy to miss.

                          "Remote access needs to be enabled on the machine you're remoting from as well as the one you're remoting too"

                          1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender
                            last edited by

                            DqGo6tP.png

                            Updated.

                            1 Reply Last reply Reply Quote 1
                            • BRRABillB
                              BRRABill
                              last edited by

                              Just wanted to throw in here that the updates window can lose focus, so if it's been a while ... you might need to hit a key in it.

                              @JaredBusch said this has been around forever, but this is the only time I have seen it personally, and it just got me again today!

                              1 Reply Last reply Reply Quote 0
                              • Emad RE
                                Emad R @Dashrender
                                last edited by

                                @dashrender

                                Wow thats more difficult than setting up Linux KVM..
                                To the point that why would you want to do this.

                                DashrenderD 1 Reply Last reply Reply Quote 1
                                • DashrenderD
                                  Dashrender @Emad R
                                  last edited by

                                  @emad-r said in Building a Hyper-V 2016 host Take 2:

                                  @dashrender

                                  Wow thats more difficult than setting up Linux KVM..
                                  To the point that why would you want to do this.

                                  If you are an All Windows Shop, why would you want to have another technology tossed in?

                                  I'm not saying you're wrong, there are just places that prefer to stick to one vendor/tech tree.

                                  ObsolesceO scottalanmillerS 3 Replies Last reply Reply Quote 2
                                  • ObsolesceO
                                    Obsolesce @Dashrender
                                    last edited by

                                    @dashrender said in Building a Hyper-V 2016 host Take 2:

                                    @emad-r said in Building a Hyper-V 2016 host Take 2:

                                    @dashrender

                                    Wow thats more difficult than setting up Linux KVM..
                                    To the point that why would you want to do this.

                                    If you are an All Windows Shop, why would you want to have another technology tossed in?

                                    I'm not saying you're wrong, there are just places that prefer to stick to one vendor/tech tree.

                                    Yeah it's pretty simple if you're already using a MS AD domain and have GP set up to pretty much make it all plug-n-play, then you don't have to worry about any of this stuff.

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • BRRABillB
                                      BRRABill
                                      last edited by

                                      It looks a lot harder than it really is.

                                      DashrenderD 1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @BRRABill
                                        last edited by

                                        @brrabill said in Building a Hyper-V 2016 host Take 2:

                                        It looks a lot harder than it really is.

                                        Agreed - this is a pretty shitty setup. ESXi is super damned easy compared to this convoluted BS!

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • BRRABillB
                                          BRRABill
                                          last edited by

                                          With my little XS adventure earlier this week, it reminded me how truly simple XS/XC/XO is.

                                          Hyper-V really does need such a thing. Such a free thing. šŸ™‚

                                          ObsolesceO DashrenderD 2 Replies Last reply Reply Quote 2
                                          • ObsolesceO
                                            Obsolesce @BRRABill
                                            last edited by

                                            @brrabill said in Building a Hyper-V 2016 host Take 2:

                                            With my little XS adventure earlier this week, it reminded me how truly simple XS/XC/XO is.

                                            Hyper-V really does need such a thing. Such a free thing. šŸ™‚

                                            I'm thinking once SSH is fully built into Windows, it will be much easier.

                                            As of now, I'm able to use PowerShell Core to do Enter-PSSession from Linux TO Windows. Which helps when I'm writing PowerShell scripts in VSCode on Linux, and need to do real tests on a Windows machine... being able to do that is huge time saver.

                                            I don't think it's far off until it's part of all Windows and Hyper-V as well.

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