# Hyper-V

* <https://xakep.ru/2017/08/09/hyper-v-internals/>

Enable feature:

```
PS > Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
```

## Sharing VPN

* <https://win10.guru/hyper-v-virtual-machine-use-host-vpn-connection/>

## Enhanced Session Mode

* <https://techcommunity.microsoft.com/t5/virtualization/sneak-peek-taking-a-spin-with-enhanced-linux-vms/ba-p/382415>
* <https://www.kali.org/docs/virtualization/install-hyper-v-guest-enhanced-session-mode/>

1. `sudo apt install hyperv-daemons`
2. `kali-tweaks`
3. "Configure the system for Hyper-V enhanced session mode" > Shut down VM.
4. `Set-VM "Kali Linux" -EnhancedSessionTransportType HVSocket`
5. Power up VM.


---

# 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://ppn.snovvcra.sh/admin/virtualization/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.
