Disable Microsoft Hyper V
- Disable-windowsoptionalfeature Feature Name Microsoft-hyper-v-all Is Unknown
- Microsoft Hyper V Windows 10
If you have enabled the hyper-v feature in Windows 10, but now you need to to disable it for some reason, you can do that following these two methods: Using PowerShell Open PowerShell with administrator privilege and type the following command: Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All Type “Y” to Reboot the computer. Disabling CBT. When CBT is enabled, the CBT driver is automatically installed and enabled if it is not present on a Hyper-V node that performs a backup. To disable CBT, perform the following actions: On the Backup Options tab of the subclient properties, disable CBT by clearing the Use Changed Block Tracking check box. Feb 24, 2016 the following tutorial will show you how to enable and disable Hyper-V (Hyper Virtualisation) feature in Windows 10 & 8 Pro or Windows 10 & 8 Enterprise You must be signed in as an administrator to be able to do the steps in this tutorial. How to Disable Hyper-V in Windows 10 (Image Credit: Russell Smith) But sometimes running these commands, or removing Hyper-V via the Control Panel, isn’t enough to disable the hypervisor. Select a server for the Hyper-V – it must havea x64 compatible processor with Intel VT or AMD-V technology enabled. Hardware Data Execution Prevention (DEP), specifically Intel XD bit (execute disable bit) or AMD NX bit (no execute bit), must be available and enabled.
Each time I create (or recreate) a virtual machine in Hyper-V using one of my SysPrep'ed images, I usually end up having to do a quick Internet search for:
Acronis Backup is an easy to use, efficient and secure backup solution that protects your entire Windows Server environment. With just a few simple steps, you can back up data to the storage location of your choice and recover individual files, applications, or a complete system in mere seconds.
device manager show hidden devices
I'm a little embarrassed to say that I simply can't remember the environment variable that I need to set in order to remove what I call 'stale' network adapters in Device Manager.
Disable-windowsoptionalfeature Feature Name Microsoft-hyper-v-all Is Unknown
Note that if you don't properly export/import a VM in Hyper-V (and instead simply copy VHDs around like I often do), then you'll end up with a network adapter named something like 'Microsoft Virtual Machine Bus Network Adapter #2' (and a hidden network adapter named 'Microsoft Virtual Machine Bus Network Adapter').
I'm not aware of any issues by not deleting these network adapters, but I still like to clean them up anyway.
Here is the process that I use to cleanup the network adapters:
- Start an administrator command prompt and then run the following two commands:set devmgr_show_nonpresent_devices=1
start devmgmt.msc
- In the Device Manager window:
- Click the View menu and then click Show hidden devices.
- Expand Network adapters.
- Right-click each network adapter that begins with Microsoft Virtual Machine Bus Network Adapter (e.g. 'Microsoft Virtual Machine Bus Network Adapter', 'Microsoft Virtual Machine Bus Network Adapter #2') and click Uninstall. When prompted to confirm the device uninstall, click OK.
- If you notice any extra Microsoft ISATAP Adapter items, then uninstall those as well. (I occasionally see these, but it doesn't happen all the time like the duplicate VM Bus network adapters.)
- Right-click Network adapters and then click Scan for hardware changes. (This will recreate the default adapter named 'Microsoft Virtual Machine Bus Network Adapter'.)
You should now have exactly one VM Bus network adapter (and one Microsoft ISATAP Adapter).
Also, just in case it's not completely obvious, you should do this cleanup before configuring any network settings like DNS servers or a static IP address.
Microsoft Hyper V Windows 10
Perhaps if the environment variable was devmgmt_show_hidden_devices (instead of devmgr_show_nonpresent_devices) then I could actually remember it 😉