Hyper-V virus ?

Discussion in 'Windows 10' started by Dark Dinosaur, Feb 22, 2024.

  1. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,158
    5,975
    150
    #1 Dark Dinosaur, Feb 22, 2024
    Last edited: Feb 22, 2024
    did you have such a problem too?
    hyper-v network interface duplicates itself
    like a virus, and I have to manually remove it from the `device manager`
    it create network #1, #2, #3 ...

    edit.
    I see that it happen, by running the sandbox app
    but, it keeps staying, and not remove later

    upload_2024-2-22_21-0-4.png

    ----------------

    anyway.
    found a solution but no permanent one

    Code:
    #Requires -Version 4
    #Requires -RunAsAdministrator
    
    cls
    Write-Host
    "Refresh device list"
    pnputil /scan-devices
    $interface = "Hyper-V Virtual Ethernet Adapter #"
    "Remove Hyper-V interface ..."
    Get-PnpDevice | ? Class -eq 'Net' | ? FriendlyName -match $interface |  % {
      pnputil /remove-device """$($_.DeviceID)""" }
    Write-Host
    pause
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sml156

    sml156 MDL Member

    Sep 8, 2009
    199
    116
    10
    #2 sml156, Feb 22, 2024
    Last edited: Feb 22, 2024
    that is expected you do want a virtual interface for your virtual machines enabling Hyper V creates this, You may not actually need one but hyper V creates one anyway. when you set up a virtual machine you can choose whether to use it or not.

    As far as I know all virtual machine programs create a virtual interface.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,158
    5,975
    150
    So you run the sandbox 20 times and close it.
    and you will have to live with 20 plus more adapters?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,158
    5,975
    150
    and it is not the first time
    today I see 5 GB of one drive in the ProgramFilesX86 folder
    contain a full list of sub-folders containing Vxxxxxxxxx
    from the last 80's ........
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. sml156

    sml156 MDL Member

    Sep 8, 2009
    199
    116
    10
    No it it creates one by default and that is broken down into three more, Internal , External and host only. this is shown only as one.

    You can create more if you like, but by default it only creates one
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. sml156

    sml156 MDL Member

    Sep 8, 2009
    199
    116
    10
    Maybe you should start another thread, I have no idea what this has to do with hyperv
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. sml156

    sml156 MDL Member

    Sep 8, 2009
    199
    116
    10
    Are we still talking about hyperv or did you move on to sandboxie or something
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,158
    5,975
    150
    It's sandbox who make this hyper-v interface
    It's seems that remove them are totally ok
    In next restart sandbox keep works fine
    And make another 1 trillion new interface's
    Ms way of doing things ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. sml156

    sml156 MDL Member

    Sep 8, 2009
    199
    116
    10
    If you said you were using a sandbox program in the first post I would not have replied, I have no idea about sandboxes I usually use Vmware and on occasion have used hyperv
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    On client windows, lately, everything feels entitled to create a Hyper-V adapter, W10 created the stupid default adapter, WSL2 makes one, Sandbox makes one...

    SKUwitching to to a server SKU mitigates the behavior, but I'm not sure the sandbox feature is allowed on servers.
     
  11. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,343
    1,048
    90
    yea
    enable hyper feature after u remove network card driver
    to avoid creating hyper-v network
     
  12. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,158
    5,975
    150
    even running the script, remove all interface
    and restart, return with 3-4 new interfaces
    good MS ... well done.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. atgpud2003

    atgpud2003 MDL Addicted

    Apr 30, 2015
    618
    111
    30
    and also it no SUCH thing Hyper-V VIrus... Just Hyper-V is sandbox to able use it.. I use VMWARE or Virtual box and work fine..

    ATGPUD2003