# 3. Hyper-V

1. 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.
2. 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`
3. 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://docs.pxrrot.com/~gitbook/image?url=https%3A%2F%2F152245496-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4ealdnDHwi2un9yaLwWN%252Fuploads%252FTnSv4q8FkXykqX5t7Yd3%252Fimage.png%3Falt%3Dmedia%26token%3D27bf81f2-01c6-458c-9b0c-51241ec7026a&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8d758c91&#x26;sv=1" alt=""><figcaption></figcaption></figure>
