1
Vote

VMConnect is not found on x64 machines

description

Running the gadget on Windows 7 Ultimate 64bit, it doesn't find VMConnect.exe so doesn't offer that as a means of connecting to the VMs.
 
VMConnect and the other Hyper-V components exist in C:\Program Files\Hyper-V
 
The problem seems to be in Gadget.js in the function GetHyperVPath().
The call to System.Shell.knownFolderPath("ProgramFiles") is returning "C:\Program Files (x86)", while the Hyper-V tools are installed in the normal (x64) path: "C:\Program Files".
 
The workaround is to create a link using SysInternals Junction tool: junction.exe "C:\Program Files (x86)\Hyper-V" "C:\Program Files\Hyper-V"

comments