Virtualization Create Shortcut of Hyper-V Virtual Machine in Windows 11


  • Staff
Hyper-V_virtual_machine_banner.png

This tutorial will show you how to create a shortcut of a Hyper-V virtual machine in Windows 10 and Windows 11.

Hyper-V enables running virtualized computer systems on top of a physical host. These virtualized systems can be used and managed just as if they were physical computer systems, however they exist in virtualized and isolated environment. Special software called a hypervisor manages access between the virtual systems and the physical hardware resources. Virtualization enables quick deployment of computer systems, a way to quickly restore systems to a previously known good state, and the ability to migrate systems between physical hosts.

Hyper-V is only available on 64-bit versions of Windows 10/11 Pro, Enterprise, and Education. Hyper-V is not available on the Home edition.

You can create a shortcut of a Hyper-V virtual machine to make it easier to directly connect and start the virtual machine. You can Pin to taskbar, Pin to Start, add to All apps, assign a keyboard shortcut to, or move this shortcut to where you like for easy use.


You must be signed in as an administrator to create and use a shortcut of a Hyper-V virtual machine.


EXAMPLE: Running Hyper-V virtual machine shortcut

Hyper-V_virtual_machine.png



Here's How:

1 Right click or press and hold on the Desktop, click/tap on New, and click/tap on Shortcut. (see screenshot below)

Hyper-V_virtual_machine_shortcut-1.png

2 Type the target below into the location box, and click/tap on Next. (see screenshot below)

vmconnect.exe localhost "VMName"

Substitute VMName in the target above with the virtual machine name (ex: "W10 UEFI") you want.

For example: vmconnect.exe localhost "W10 UEFI"


Hyper-V_virtual_machine_shortcut-2.png

3 Type a name you want for this shortcut, and click/tap on Finish. (see screenshot below)

Hyper-V_virtual_machine_shortcut-3.png

4 Right click or press and hold on the shortcut, and click/tap on Properties. (see screenshot below)

Hyper-V_virtual_machine_shortcut-4.png

5 In the Shortcut tab, click/tap on the Advanced button. (see screenshot below)

Hyper-V_virtual_machine_shortcut-5.png

6 Check Run as administrator, and click/tap on OK. (see screenshot below)

Hyper-V_virtual_machine_shortcut-6.png

7 Click/tap on OK. (see screenshot below)

Hyper-V_virtual_machine_shortcut-7.png


That's it,
Shawn Brink


 

Attachments

  • Hyper-V_virtual_machine.png
    Hyper-V_virtual_machine.png
    6.6 KB · Views: 138
Last edited:
Why does vmconnect.exe require run as administrator?

If I start "Hyper-V Manager" from start menu and then in it connect to a VM, it never asks for Administrator rights (the UAC dialog never appears).
 

My Computer

System One

  • OS
    Windows 11
Why does vmconnect.exe require run as administrator?

If I start "Hyper-V Manager" from start menu and then in it connect to a VM, it never asks for Administrator rights (the UAC dialog never appears).

Hello, :alien:

Agreed, but "vmconnect.exe" requires to "Run as administrator" when used as a shortcut to avoid the error below.

error.png
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium

Latest Support Threads

Back
Top Bottom