How to run Hyper-V Management Tools with alternate credentials
Follow the below steps to run Hyper-V Management Tools with Alternate Credentials:
runas /user:Administrator mmc — This prompt for local administrator password and then started a blank MMC console.
Load Hyper-V .MSC file: runas /user:Administrator "mmc \"C:\Program Files\Hyper-V\virtmgmt.msc\""
Note that \” is an escaped quote (needed for quotes inside of quotes). This prompted me for a password and ran the Hyper-V Manager.
Get rid of password prompt: runas /savecred /user:Administrator "mmc \"C:\Program Files\Hyper-V\virtmgmt.msc\""
Create a shortcut that passed this whole command to CMD.EXE – as follows: C:\Windows\System32\cmd.exe /s /c "runas /savecred /user:Administrator "mmc \"C:\Program Files\Hyper-V\virtmgmt.msc\"""
Final steps: Get shortcut a Hyper-V icon from “%ProgramFiles%\Hyper-V\SnapInAbout.dll” and to change the shortcut to run minimized by default.
Source:→ Virtual PC Guy
1 Response | RSS comments on this post | Leave a comment»
No Pingback yet

Hi,
I've tried your method. It starts the Hyper-V tools but when connecting to the hyperv machine I get an RPC error.
Good to know is that I have to use netonly credentials to run because there is no trust between my production domain and test domain.
Regards,
Marcus