# Disable Hyper-V on a Windows Server 2012

PowerShell to disable Hyper-V with this command:

```powershell
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
```