Hyper-V questions

Page 3 of 6 FirstFirst 12345 ... LastLast

  1. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #21

    Kari said:
    Putting everything about VM optimization in one tutorial would be simply too much. I made this now, to start with: Hyper-V - Use Differencing Disks

    Kari
    That is pretty slick. I'll give it a try soon.
      My Computers


  2. Posts : 11,247
    Windows / Linux : Arch Linux
       #22

    Hi there
    @Ztruker

    To prevent activation issues in future if moving / fiddling around with VM's ensure the UUID of the VM doesn't change -- kari can probably explain how to do it with VM's in HYPER-V --on VMWare you get a popup on first boot of a copied / moved VM giving you a choice of "I moved it" or "I copied it". Choose the "I moved it" option --this preserves the machine UUID so you won't get activation problems when moving / cloning a VM.

    Cheers
    jimbo
      My Computer


  3. Posts : 31,695
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #23

    Ztruker said:
    What happens if I just close the window?
    The VM continues to run, you can connect to it again from within Hyper-V Manager.

    I'm not sure how Oracle does it, but AIUI VMWare runs the VM process as your user account. Hyper-V runs it as SYSTEM, meaning you can even sign out and the VM continues to run. You can then use RDP to connect to the VM from another machine if you wish (you'll first need to enable remote desktop in the VM to allow this).

    In the settings for each VM there are options for Automatic Start Action and Automatic Stop Action. You can set a VM to always start when the host machine boots and to save it's state when the host shuts down. That way it will always be available via rdp from another machine.
      My Computers


  4. Posts : 2,667
    Windows 11 21H2 (22000.593)
       #24

    I think it was mentioned already in the thread (or else elsewhere) but IMO you're really better off using Remote Desktop for manipulating the VM versus using the native display in the Hyper-V VMM.
    @Kari - re: rule of thumb of CPU:vCPU ratio 2:1 - is that physical core, or physical core + HT?
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
       #25

    johngalt said:
    @Kari - re: rule of thumb of CPU:vCPU ratio 2:1 - is that physical core, or physical core + HT?
    On virtual machines I might run at the same time than other virtual machines, one vCPU per two host logical processors, in my case four vCPU per VM:

    Hyper-V questions-image.png

    On virtual machines I allocate more vRAM and know I never run them with other virtual machines running at the same time, one vCPU per one host logical processor. In my case 8 vCPU.

    Kari
      My Computer


  6. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #26

    johngalt said:
    I think it was mentioned already in the thread (or else elsewhere) but IMO you're really better off using Remote Desktop for manipulating the VM versus using the native display in the Hyper-V VMM.
    @Kari - re: rule of thumb of CPU:vCPU ratio 2:1 - is that physical core, or physical core + HT?
    So I can start the VM, close the window then RDP into the VM to work with it? Have to give that a try and see how it feels as opposed to running it in a local window. Don't see the advantage at the moment but maybe once I've tried it I'll understand.
      My Computers


  7. Posts : 31,695
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #27

    Ztruker said:
    So I can start the VM, close the window then RDP into the VM to work with it?
    You don't even need to open the window in the first place. Select the VM in Hyper-V Manager and click the Start button near the bottom of the Actions pane on the right (or select Start from the Action menu).

    NB: you must first run the VM and enable Remote Desktop in its settings before it will accept RDP connections.
      My Computers


  8. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #28

    Okay, using RDT is the same as a local window, which is already a RDT as far as Hyper-V is concerned. The only difference I see so far is it's slower. Not bad though.

    I like the fact that when I want to look at it I just open Network Connections, right click on the VM and select Connect with RDT and I'm there.
      My Computers


  9. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #29

    Bree said:
    You don't even need to open the window in the first place. Select the VM in Hyper-V Manager and click the Start button near the bottom of the Actions pane on the right (or select Start from the Action menu).

    NB: you must first run the VM and enable Remote Desktop in its settings before it will accept RDP connections.
    Ah so the Connect is what opens the Window. Skip that and it just opens in the background. This is getting better and better.
      My Computers


  10. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #30

    jimbo45 said:
    Hi there
    @Ztruker

    To prevent activation issues in future if moving / fiddling around with VM's ensure the UUID of the VM doesn't change -- kari can probably explain how to do it with VM's in HYPER-V --on VMWare you get a popup on first boot of a copied / moved VM giving you a choice of "I moved it" or "I copied it". Choose the "I moved it" option --this preserves the machine UUID so you won't get activation problems when moving / cloning a VM.

    Cheers
    jimbo
    Thanks Jimbo. I think I'm done moving them but who knows. I've got everything moved from Oracle VB to Hyper-V. Only one was activated, the others are all custom builds for the shop which I've completed.

    If I ever have to move one or more again I'll look into this.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:00.
Find Us




Windows 10 Forums