r/HyperV • • 22d ago

Share your NVIDIA GPU with Hyper-V VMs (GPU-P

Setting up GPU partitioning (GPU-P) in Hyper-V usually means a pile of PowerShell commands, copying NVIDIA driver files into the VM by hand, and doing it all again after every driver update.

I got tired of that, so I built **VM GPU Share**, a free Windows app that does it for you.

**What it does**

* **Share your NVIDIA GPU with a VM:** pick how much (10–100%) and click Apply
* **Copies the NVIDIA driver into the VM automatically**, and warns you when it needs an update
* **Creates new GPU-ready VMs** (Gen 2, fixed memory, checkpoints off, optional TPM for Win 11)
* **Live view of your VMs:** CPU, memory, uptime, IP, plus Start / Shut down / Remote Desktop
* Clean Fluent design, light and dark mode

**How to use it**

1. Turn on Hyper-V
2. Create a VM and install Windows: **same version as your PC** (Win 10 → Win 10, Win 11 → Win 11)
3. In the app: select the VM → set the GPU slider → **Apply GPU share**
4. Connect with Remote Desktop, and the VM uses your GPU

I'm running **SolidWorks 2025 inside a VM on an RTX 4080 laptop GPU** with it, and it works great.

**Requirements**

* Windows 10 (21H2+) or 11: Pro, Enterprise or Education, with Hyper-V
* An NVIDIA GPU
* The VM must run the same Windows version as the host

**Download** (free, one .exe, nothing to install):
https://github.com/totheuniversal/vm-gpu-share/releases/latest

**GitHub** (step-by-step guide + troubleshooting):
https://github.com/totheuniversal/vm-gpu-share

Heads-up:

* The .exe isn't code-signed yet, so Windows SmartScreen may warn you: click "More info → Run anyway".
* GPU-P on client Windows isn't officially supported by Microsoft, so some apps or drivers may behave differently.

Built with support from Claude Code. Feedback, bug reports and feature ideas are welcome!
5 Upvotes

12 comments sorted by

9

u/BlackV 21d ago

What does this do that https://github.com/jamesstringer90/Easy-GPU-PV and the GUI add on does not do ?

why would I run a random unsigned exe rather than a powershell script that I can see the source for before execution? (yes I'm aware the code is on your site)

It does look nice though, slider is a good idea

1

u/KaiUno 13d ago

I've been using that thing for years. Easy switching between iGPU, P4 and 3080 on Hyper-V.

1

u/BlackV 13d ago

one of the OG tools

1

u/PepperdotNet 21d ago

Any chance of this working on server 2025?

-1

u/Itchy_Pineapple3248 21d ago

I didn't test yet but It could be ok if the host can install NVIDIA DRIVER

1

u/Acrobatic-Ad35 21d ago

Setting the % won’t work, it just doesn’t work at all, I know because I built https://github.com/DanielChrobak/Hyper-V-GPU-Paravirtualization-Manager it will just use as much as it can

2

u/Acrobatic-Ad35 21d ago

Also
> · Currently, Hyper-V cannot effectively limit the GPU resources used by each virtual machine. Parameters in Set-VMGpuPartitionAdapter do not take effect (Relevant discussion). Therefore, this tool does not currently provide resource allocation functions.

Discussion is gone, but it’s still the same, easily verified by running a benchmarking tool using different % set

https://github.com/Justsenger/ExHyperV

1

u/BorysTheBlazer 18d ago

How does SolidWorks feel over RDP with GPU-P? Curious whether viewport rotation stays smooth or the remote session ends up being the bottleneck rather than the GPU share.

1

u/KaiUno 13d ago

You're better off using Apollo/Moonlight to stream from the devices. Pretty sure regular ol' RDP doesn't do the acceleration. (Or Parsec if you only need one screen.)

1

u/BorysTheBlazer 13d ago

RDP can use the GPU if you enable the "use hardware graphics adapters for all Remote Desktop Services sessions" policy in the VM. Default is software rendering.

2

u/[deleted] 22d ago

[removed] — view removed comment

1

u/Itchy_Pineapple3248 21d ago
https://github.com/totheuniversal/vm-gpu-share
just try on here