• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Any way to set up Hyper V or any other virtualization that opens and closes on specific software installed within?

Joined
Sep 28, 2005
Messages
3,434 (0.48/day)
Location
Canada
System Name PCGR
Processor 12400f
Motherboard Asus ROG STRIX B660-I
Cooling Stock Intel Cooler
Memory 2x16GB DDR5 5600 Corsair
Video Card(s) Dell RTX 3080
Storage 1x 512GB Mmoment PCIe 3 NVME 1x 2TB Corsair S70
Display(s) LG 32" 1440p
Case Phanteks Evolve itx
Audio Device(s) Onboard
Power Supply 750W Cooler Master sfx
Software Windows 11
Confusing as I have no idea how to word the title but

Here is situation:

Friend I have built a semi older but capable workstation has some programs that do not work under Windows 11. He purchased them and he is the most stubborn of guys and thus needs to use them. Of course Windows 11 can be troublesome for older software so I figured why not run a VM of lets say Window 7 that can use the software. But this guy isn't the most tech savvy individual and he is would eventually just complain "it isn't working" out of randomly nowhere cause he would screw it up.

What I was thinking:

Set up a VM with the software installed in it, have shortcuts on his main desktop. When he wants to use the program, he double clicks that exe that opens up the instance of the VM and opens up that software within. Seamless. Much like how the Xbox Series systems do it for their games.

Is it possible?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
28,620 (3.74/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
VMware's vmrun command supports executing commands in guests
 
Joined
Sep 28, 2005
Messages
3,434 (0.48/day)
Location
Canada
System Name PCGR
Processor 12400f
Motherboard Asus ROG STRIX B660-I
Cooling Stock Intel Cooler
Memory 2x16GB DDR5 5600 Corsair
Video Card(s) Dell RTX 3080
Storage 1x 512GB Mmoment PCIe 3 NVME 1x 2TB Corsair S70
Display(s) LG 32" 1440p
Case Phanteks Evolve itx
Audio Device(s) Onboard
Power Supply 750W Cooler Master sfx
Software Windows 11
Joined
Jan 4, 2022
Messages
262 (0.22/day)
if your friend's software requires direct access to the main video card (or iGPU) for OpenCL/OpenGL acceleration in Hyper-V, you'll need to enable GPU passthrough:-
https://www.nakivo.com/blog/hyper-v-gpu-passthrough/

Note: Only Generation 2 Hyper-V VMs can be used for GPU passthrough with DDA. Do not set up a Generation 1 VM if you want to use Microsoft Hyper-V with
GPU passthrough.

Similarly, if he needs direct access to USB devices (apart from mouse and keyboard), you'll need USB passthrough:-
https://woshub.com/how-to-connect-a-usb-drive-directly-to-a-hyper-v-vm/
 
Top