# Hyper-V

* In order to turn off Hyper-V in Windows, we are going to start by opening a Windows Powershell as Admin. This can be done by typing powershell into your windows search, and pressing "Run as administrator" beside it.
* Now that we have Powershell open, copy and paste the following lines of code separately, then press enter: `bcdedit /set hypervisorlaunchtype off Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All`
* Getting an error that says "Disable-WindowsOptionalFeature : Feature name Microsoft-Hyper-V-All is unknown." on the above is completely normal. Once this is done, restart your PC for the changes to take affect.

<figure><img src="https://1295651450-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUZquK4nW6x6gTdzChX5X%2Fuploads%2FWfTSpTTXl0gKEwPgsTcL%2Fimage.png?alt=media&#x26;token=a366cc0a-5a17-4d5c-8828-2a6ba6be76b5" alt=""><figcaption></figcaption></figure>
