# Run HyperDbg on Hyper-V

{% hint style="danger" %}
Hyper-V has an unknown problem with HyperDbg and HyperDbg-style hypervisors. You might encounter unknown errors. We left it for future support.
{% endhint %}

In order to run HyperDbg on Hyper-V, you should enable nested-virtualization on it.

For Hyper-V, we can enable nested-virtualization for the target virtual machine by running the following command on **Powershell**:

```
Set-VMProcessor -VMName PutYourVmNameHere -ExposeVirtualizationExtensions $true
```

{% hint style="info" %}
Note that instead of **PutYourVmNameHere**, put the name of your virtual machine that you want to enable nested virtualization for it.
{% endhint %}

And if you need to disable it, you can run:

```
Set-VMProcessor -VMName PutYourVmNameHere -ExposeVirtualizationExtensions $false
```


---

# 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://docs.hyperdbg.org/tips-and-tricks/nested-virtualization-environments/run-hyperdbg-on-hyper-v.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.
