This repository provides scripts to safely enable or disable Hyper-V and related Windows features, and to check their status.
- Run all scripts as Administrator.
- A restart is required for many changes to take effect.
- Scripts use
DISMandbcdeditcommands.
follow:
- Go to Turn Windows features on or off.
- Enable all Hyper-V sections.
-
bcdedit /set hypervisorlaunchtype off DISM /Online /Disable-Feature /FeatureName:VirtualMachinePlatform DISM /Online /Disable-Feature /FeatureName:HypervisorPlatform DISM /Online /Disable-Feature /FeatureName:Containers-DisposableClientVM - Restart your PC.
- Install VirtualBox from this link: VirtualBox 7.2.4
- After installation, set up your OS in VirtualBox.
follow:
bcdedit /set hypervisorlaunchtype off
DISM /Online /Disable-Feature /FeatureName:VirtualMachinePlatform
DISM /Online /Disable-Feature /FeatureName:HypervisorPlatform
DISM /Online /Disable-Feature /FeatureName:Containers-DisposableClientVM