diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


How to avoid UAC prompt when starting Hyper-V, Windows 7, Windows Server 2008 R2 Manager?

“Why when starting Hyper-V Manager, you get a UAC prompt? Yet you don’t with most other Microsoft Administrative MMCs. It’s becuase, “MSFT shipped Hyper-V same as in Vista/2008 by placing virtmgmt.msc, in \program files\Hyper-V. As that location isn’t, a “secure location”, or not known by MMC, you get elevation prompt when starting Hyper-V Manager,” explains John Howard.

The workaround here only applies to Windows 7/Windows Server 2008 R2: “From an elevated command prompt, copy \program files\Hyper-V\virtmgmt.msc to \windows\system32:

Next, open properties for the shortcut to Hyper-V Manager located under Administrative Tools. The target will be %windir%\system32\mmc.exe "%ProgramFiles%\Hyper-V\virtmgmt.msc"Update this to %windir%\system32\mmc.exe %windir%\system32\virtmgmt.msc:

Don’t change “Start in” location though. Note double quotes aren’t necessary. When you hit enter, you get a UAC prompt to confirm the update. That’s it!


Share This Story, Choose Your Platform!