# Disable Microsoft Virtualization Features (MANUAL)

{% hint style="success" %}
This can now be automated in the loader by simply enabling the checkbox "Auto Setup". This only has to be done once. If it does not successfully disable the settings then you will need to go through the guide below.
{% endhint %}

## Disable Hyper-V (Microsoft Hypervisor)

{% hint style="info" %}
Begin by checking the [#status-of-hyper-v](#status-of-hyper-v "mention"). If it is already disabled then you can proceed to[#disable-virtualization-based-security](#disable-virtualization-based-security "mention").
{% endhint %}

<details>

<summary>Status of Hyper-V</summary>

1. In the search box, type *msinfo32.exe*
2. Select **System Information**
3. Then make sure you can see the following highlighted entries in the window:

   <figure><img src="/files/KhGt6QTFwxCU1j6GLJMg" alt=""><figcaption><p>If you see the above then you have done it correctly</p></figcaption></figure>
4. If it is correctly shown then proceed to [#disable-virtualization-based-security](#disable-virtualization-based-security "mention")

{% hint style="danger" %}
If you can **not** find these entries and instead find:  "A hypervisor has been detected. Features required for Hyper-V will not be displayed." then Hyper-V is enabled and you must follow the steps listed below.
{% endhint %}

</details>

In order to disable Hyper-V you can follow these steps as documented by Microsoft:

{% hint style="info" %}
You may need to do both of these in order for it to work. Additionally a restart will be required afterwards.
{% endhint %}

* [Disable using Control Panel](https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/virtualization-apps-not-work-with-hyper-v#disable-hyper-v-in-control-panel)
* [Disable using PowerShell](https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/virtualization-apps-not-work-with-hyper-v#disable-hyper-v-in-powershell)

After doing the steps above and restarting, you can check [#status-of-hyper-v](#status-of-hyper-v "mention")again to make sure it was successfully disabled. If however it is still showing as enabled then you can try the steps below:

{% hint style="danger" %}
If Hyper-V is still showing as enabled then you can try the following:

1. Open *Command Prompt* as Administrator.
2. Enter this command and then restart your pc and then check [#status-of-hyper-v](#status-of-hyper-v "mention") again.

   <pre data-full-width="false"><code>bcdedit /set hypervisorlaunchtype off
   </code></pre>

If it still is incorrect then please contact support or try researching other methods to disable Hyper-V yourself.
{% endhint %}

***

## Disable Virtualization-based Security

{% hint style="info" %}
Begin by checking the [#status-of-virtualization-based-security](#status-of-virtualization-based-security "mention"). If it is already disabled then you can proceed to [Loader](/vm-docs/setup-installation/publish-your-docs.md).
{% endhint %}

<details>

<summary>Status of Virtualization-based Security</summary>

1. In the search box, type *msinfo32.exe*
2. Select **System Information**
3. Then make sure you can see the following highlighted entries in the window:

   <figure><img src="/files/RpozNz062nLqOwWXGzO4" alt=""><figcaption><p>If you see the above then you have done it correctly</p></figcaption></figure>
4. If it is correctly shown then proceed to [Disable Discord Overlay](/vm-docs/setup-installation/quickstart/disable-discord-overlay.md)

{% hint style="danger" %}
If it shows anything else such as "Running" or "is enabled but not running" then Virtualization-based Security is enabled and you must follow the steps listed below.
{% endhint %}

</details>

{% hint style="info" %}
If the registry settings can not be found or do not exist then you can skip it and go to the next step (The next number in the list).
{% endhint %}

1. Open *Registry Editor* as Administrator.
2. Enter the following into the address bar:

   <pre data-full-width="false"><code>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard
   </code></pre>
3. Set the value of ***EnableVirtualizationBasedSecurity** to 0*
4. Enter the following into the address bar:

   <pre data-full-width="false"><code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard
   </code></pre>
5. Delete the keys named ***EnableVirtualizationBasedSecurity*** and ***RequirePlatformSecurityFeatures***
6. Enter the following into the address bar:

   <pre data-full-width="false"><code>KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\WindowsHello
   </code></pre>
7. Set the value of ***Enabled** to 0*
8. Restart your PC for the changes to take effect. Then check the [#status-of-virtualization-based-security](#status-of-virtualization-based-security "mention")

{% hint style="danger" %}
If Virtualization-based Security is still showing as enabled or something other than expected then you can follow these steps from Microsoft:

1. [Disable Credential Guard](https://learn.microsoft.com/en-us/windows/security/identity-protection/credential-guard/configure?tabs=reg#disable-credential-guard-with-registry-settings) using Registry Editor
2. [Disable Virtualization-based Security](https://learn.microsoft.com/en-us/windows/security/identity-protection/credential-guard/configure?tabs=reg#disable-vbs-with-registry-settings) using Registry Editor
3. Restart your PC for the changes to take effect. Then check the [#status-of-virtualization-based-security](#status-of-virtualization-based-security "mention").

**If the above did not work** and you have Group Policy Editor then you may also need to follow the below:

* [Disable Credential Guard](https://learn.microsoft.com/en-us/windows/security/identity-protection/credential-guard/configure?tabs=gpo#disable-credential-guard-with-group-policy) using Group Policy Editor
* [Disable Virtualization-based Security](https://learn.microsoft.com/en-us/windows/security/identity-protection/credential-guard/configure?tabs=gpo#disable--vbs-with-group-policy) using Group Policy Editor
  {% endhint %}

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vm-docs.gitbook.io/vm-docs/setup-installation/quickstart/disable-microsoft-virtualization-features-manual.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
