Windows 10: How is the Networking regulated in Virtual Machines?

Discus and support How is the Networking regulated in Virtual Machines? in Windows 10 Network and Sharing to solve the problem; Originally, I thought that all of the network traffic in a guest OS directly goes through the host OS and whatever firewall regulation is on the host... Discussion in 'Windows 10 Network and Sharing' started by pro1ton, Feb 3, 2021.

  1. pro1ton Win User

    How is the Networking regulated in Virtual Machines?


    Originally, I thought that all of the network traffic in a guest OS directly goes through the host OS and whatever firewall regulation is on the host OS, will also be applied onto the guest OS. But it turns out that this is completely false. As far as I understand it, the network-relationship between the host and guest OS is like sharing mobile data connection via hotspot tethering, as in even though the guest is reliant on the host, the guest totally ignores the network rules and setup on the host machine. This came as a massive shock to me. I've looked this up but haven't found any useful information.
    Can someone explain why does it function in this way and how does the process really work?
    My aim is to make the guest machines also follow the firewall rules on the host machine and optionally monitor their network usage.
    Thanks

    :)
     
    pro1ton, Feb 3, 2021
    #1
  2. S_and_S Win User

    Installing a Virtual Machine in Windows 10

    Step #1 is to decide which virtual machine software you wish to install.

    The three most popular choices are:

    • VirtualBox (from Oracle)
    • VMWare Workstation Player (from VMWare); and
    • Hyper-V (from Microsoft)

    Once you've made your choice you can find detailed, illustrated instructions for installing each one on the internet.

    As a personal suggestion: You might find it easier to use either VirtualBox or VMWare Workstation Player. Hyper-V is more complicated to setup.

    Between VirtualBox and VMWare, I think you'll find VirtualBox more user-friendly, and it has the advantage of allowing you to create checkpoints - backups of your virtual machine - whereas to do that in VMWare you'll need to upgrade to their (expensive!)
    paid version.
     
    S_and_S, Feb 3, 2021
    #2
  3. Nikhar_K Win User
    BSOD when launching Virtual Machine

    Hi,



    Thank you for writing to Microsoft Community Forums.



    I appreciate your effort on this. I understand how difficult it could be when the computer doesn’t work as it is supposed to, we will look into this for you. Please reply with the following details to assist you with the appropriate troubleshooting
    steps:



    • Which application are you using to create Virtual Machine?
    • Does the issue occur only when launching a Virtual Machine?
    • Have you reinstalled Windows on the computer?
    • What is the make and model of the computer?


    I have analyzed the dump files shared by you. Since the issue occurs when you launch Virtual Machine, I suggest you to try disabling the VMWare USB Arbitration Service and check if that helps. Please follow the steps mentioned below:



    1. Press Windows key + R, to open
      Run
      dialog box.
    2. Type services.msc and click on
      OK
      .
    3. Look for the VMWare USB Arbitration Service and double click on it to open
      Properties.
    4. Select Disabled from the drop down for
      Startup and Stop the service.
    5. Click on Apply and OK.


    Please reply with the status of the issue, we will be glad to help you further.



    Regards,

    Nikhar Khare

    Microsoft Community - Moderator
     
    Nikhar_K, Feb 3, 2021
    #3
  4. Kari Win User

    How is the Networking regulated in Virtual Machines?

    Clean install of W10 not possible in Virtual Machine.


    Please get a cup of coffee, lean back and think an answer for these two questions. Take your time, then check the answers below the questions:

    Questions:
    1. If you do a clean install of let's say Windows 10 Insider Build 10525 on a totally new computer which has never had an activated Windows 10 on it, does it activate?
    2. If you do a clean install of Windows 10 Insider Build on a computer where the underlying Windows 10, upgraded from a qualifying old operating system has already been activated, does it activate?

    Answers:
    1. No, of course not.
    2. Yes, of course.

    Why do you think that a virtual machine would make any difference? You have tried to install Windows 10 on a totally new machine which has never had an activated Windows 10 installed, therefore the Microsoft activation servers block the activation due invalid machine ID. In the highlighted part in below quote you admit your mistake yourself, plain and simple, yet you when doing this wrong draw conclusion that even if done correctly it would not work:

    What you have tried is essentially the same as if you took a brand new real physical PC without any operating system, which has never had any operating system, and then installed Windows 10 Insider Preview wondering why it does not activate! Virtual Machines behave exactly the same way; if you want to clean install Windows 10 Insider Preview and get it activated you must do it on an existing virtual machine, one which has already had an upgraded Windows 10 activated. This "computer", the virtual machine, its machine ID is marked on activation servers as valid and activated and it will of course activate.

    Be it a virtual machine or a physical computer, you cannot activate a clean installed Windows 10 Insider Preview on a totally new machine. How difficult can this be to understand?

    When clean installing Windows 10 Insider Preview on a computer which has already had a previous Windows 10 Insider activated, you do not use the product key! It will be asked twice, once before the installation starts and once after the last reboot to OOBE phase. In both cases you skip the product key and your Windows will be automatically activated.
     
    Kari, Feb 3, 2021
    #4
Thema:

How is the Networking regulated in Virtual Machines?

Loading...
  1. How is the Networking regulated in Virtual Machines? - Similar Threads - Networking regulated Virtual

  2. Virtual Machine

    in Windows 10 Software and Apps
    Virtual Machine: Me want to go to Free Virtual windows thing https://answers.microsoft.com/en-us/windows/forum/all/virtual-machine/09a68db0-55fb-46e4-8ea2-2238cdaabe20
  3. virtual machine?

    in Windows 10 Software and Apps
    virtual machine?: On windows turn features on or off, I pressed on for a feature called "virtual machine platform", what exactly does that do? https://answers.microsoft.com/en-us/windows/forum/all/virtual-machine/77c20bcd-b08c-4c7d-bb34-edc7de49b00b
  4. Virtual Machine

    in Microsoft Windows 10 Store
    Virtual Machine: Hello Microsoft this is Philip and i hope you have a wonderful day.I have just purchased a app called VirtualMachine from National Software and i don know how to set it up if youd know please help me thank you.Philip...
  5. Virtual Machine

    in Windows 10 Installation and Upgrade
    Virtual Machine: So, I'm here to ask if using Windows in a VM virtual Machine Legal? Its cause I am not getting accurate answers. https://answers.microsoft.com/en-us/windows/forum/all/virtual-machine/c2e9e1fa-15e4-4532-9864-d114aa139b86
  6. virtual machines

    in Windows 10 Installation and Upgrade
    virtual machines: I have windows 10 pro as my main os and i want a copy of the same os so i can play around with the system configurations without harming my main os. How can i do this? https://answers.microsoft.com/en-us/windows/forum/all/virtual-machines/8896c12f-46cf-4120-a190-fb287326fdf3
  7. Virtual Machine Lost Network Connectivity (Ubuntu)

    in Windows 10 Network and Sharing
    Virtual Machine Lost Network Connectivity (Ubuntu): I recently shut down my PC for vacation and when I started it back up this week, my Ubuntu virtual machine is complaining that it's unable to connect to the network. The host machine has network access. No changes to configuration were done in recent months. All was working...
  8. Virtual Machine

    in Windows 10 Installation and Upgrade
    Virtual Machine: I recently installed Hyper-V on my Lenovo Windows 10 machine and am trying to set up a Virtual Machine. I saw Andre Da Costa's post on Groovypost.com in regards to this. His post was dated January 11, 2019. I have not been able to access the BIOS setup screen, as pictured...
  9. virtual machine

    in Windows 10 Virtualization
    virtual machine: I want to build an oracle VM. I have a new PC with UEFI I am not used to. It is set to the old BIOS and secure boot is disabled. I found virtualization by searching and chose to change virtualization from disabled toe enabled. Is this what I should have done to use Oracle's...
  10. How Contained is a Virtual Machine

    in Windows 10 Virtualization
    How Contained is a Virtual Machine: I guess I should know this but I don't. If I create a VM with say win version 1703 or 1709 or even DL the "latest and greatest" 1803 and let the updates fly will anything installed to that VM be written to the BIOS "outside" of the VM? Didn't either the Spectre or Meltdown...