Hyper-V virtualization - Setup and Use in Windows 10  

Page 44 of 47 FirstFirst ... 344243444546 ... LastLast

  1. Posts : 31,629
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #430

    Steve C said:
    ...I now have a working activated XP VM with internet support for experimental use...
    Be careful out there. Remember the old advice for XP to NOT sign in as a user with administrative rights (or worse still, the Administrator) if you're going to browse the web. I'd create a standard user account for that. We get a bit lazy in 10, with UAC to protect us and admin users running most processes as a standard user anyway.

    Oh, and make a Checkpoint now, before the inevitable(?) happens
      My Computers


  2. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #431

    Steve C said:
    The default network switch seems to be linked to an internal network and can't be changed.
    Default Switch is an internal switch. Your main NIC, usually wired Ethernet adapter then shares its connection with it.


    Bree said:
    I don't use the default switch either, I like to see and use all my physical and VM machines on my network, each sharing out its own C:\Temp folder for easy file transfer.
    The idea of Default Switch is to protect host by putting the VM behind isolated NAT. Networking between all virtual machines using Default Switch is OK, but they cannot connect to host. For that, VM must use an external switch.

    The above is extremely simplified explanation, but it's about how Default Switch works.

    Kari
      My Computer


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

    Kari said:
    The idea of Default Switch is to protect host by putting the VM behind isolated NAT. Networking between all virtual machines using Default Switch is OK, but they cannot connect to host. For that, VM must use an external switch.
    The above is extremely simplified explanation, but's about how Default Switch works.
    Thanks, I didn't know that when I first started using Hyper-V but I soon found out by trial and error. At first I thought I was doing something wrong.

    I want my VMs and real PCs to be able to see each other, so I generally use an external switch. I can see how an isolated network can be useful for testing 'potentially suspect' software though. My interest is testing interoperability on a network with a mix of different OS, so the external switch suits me.
      My Computers


  4. Posts : 7,901
    Windows 11 Pro 64 bit
       #433

    Kari said:
    Default Switch is an internal switch. Your main NIC, usually wired Ethernet adapter then shares its connection with it.




    The idea of Default Switch is to protect host by putting the VM behind isolated NAT. Networking between all virtual machines using Default Switch is OK, but they cannot connect to host. For that, VM must use an external switch.

    The above is extremely simplified explanation, but it's about how Default Switch works.

    Kari
    I now have internet access using my own external switch linked to a legacy network adapter, updating XP plus using Firefox. Are you suggesting if I revert to the default internal switch that internet access should still work?
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #434

    Steve C said:
    I now have internet access using my own external switch linked to a legacy network adapter, updating XP plus using Firefox. Are you suggesting if I revert to the default internal switch that internet access should still work?
    I am just saying that Default Switch in Hyper-V is always an internal switch. The reason you had no connection using it was / is not because it is internal.
    Hyper-V virtualization - Setup and Use in Windows 10-2019-06-16_11h17_30.jpg

    Kari
      My Computer


  6. Posts : 7,901
    Windows 11 Pro 64 bit
       #435

    Kari said:
    I am just saying that Default Switch in Hyper-V is always an internal switch. The reason you had no connection using it was / is not because it is internal.
    Hyper-V virtualization - Setup and Use in Windows 10-2019-06-16_11h17_30.jpg

    Kari
    OK - I discovered just assigning the default virtual switch to the XP VM legacy network adapter works.

    The only problem now is that after I have been using the VM and reboo the host PC, the host PC does not appear in its Network window or on other PCs but it does appear if you enter the full path into Explorer e.g. \\My_Computer. All works fine after I do a Network Reset. It seems the act of using the VM screws up the network configuration for some reason.
      My Computers


  7. Posts : 1,656
    Windows 10 Pro x64
       #436

    @Kari:

    I've just created a W7 VM following this guide. For some reason, the VM doesn't seem to recognise my mouse (Logitech Performance MX with USB receiver). Mouse works perfectly in W10 host. The VM reports "Keyboard input captured" but "Mouse input not captured".

    Checking in Hyper-V manager, I don't seem to have a "Add Mouse" option in Hardware settings of the VM....am I missing something?
      My Computers


  8. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #437

    Golden said:
    Checking in Hyper-V manager, I don't seem to have a "Add Mouse" option in Hardware settings of the VM....am I missing something?
    There is no such option, mouse should work "out-of-box". Weird issue, I've never had any mouse issues with W7 virtual machines, having the same mouse than you.

    First thing to check: in VM settings, select Integration services on left pane, check that all services are selected. Guest services is the most important in this case, taking care of input devices.
    Hyper-V virtualization - Setup and Use in Windows 10-image.png

    Kari

    EDIT:

    Really weird! I've not had W7 VM in ages. I just imported one from my "VM Vault" on NAS, to take above screenshot. Mouse works without issues on it, yet I get the same "Mouse input not captured".
    Hyper-V virtualization - Setup and Use in Windows 10-image.png
    Last edited by Kari; 25 Sep 2019 at 20:14.
      My Computer


  9. Posts : 1,656
    Windows 10 Pro x64
       #438

    @Kari - I think the problem is me : if I double-click in the VM window, it transfers control to the mouse. I think its sorted.
      My Computers


  10. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #439

    Golden said:
    @Kari - I think the problem is me : if I double-click in the VM window, it transfers control to the mouse. I think its sorted.
    Good to know!

    A recommendation: as W7 virtual machines cannot use enhanced mode and getting widescreen resolutions, I always change the workgroup to be the same than on host, make their network private, and allow remoting. This way, I just need to start VM, wait a bit, then use RDP to connect to it.

    No need to open VM Connection.

    Kari
      My Computer


 

Tutorial Categories

Hyper-V virtualization - Setup and Use in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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:58.
Find Us




Windows 10 Forums