# 3. 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, however, getting a success message is also normal. Once this is done, restart your PC for the changes to take affect.

<figure><img src="https://1058551586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqUt05yazCSWOqqe1wRAI%2Fuploads%2FKTul4XH6lF3yyDowGX4x%2Fezgif.com-webp-to-png.png?alt=media&#x26;token=d747f7ca-9e57-4ec0-8fbb-c3733aadbe90" alt=""><figcaption></figcaption></figure>

{% file src="<https://1058551586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqUt05yazCSWOqqe1wRAI%2Fuploads%2FvWGM1k3jJQqwcv2ZAYZz%2Fezgif.com-webp-to-jpg%20(6).jpg?alt=media&token=baac28b0-5106-4d49-af78-489650d7d945>" %}
