Hyper-V Scripts and User Account Control

  • Comments 1

Last week I posted a bunch scripts for interacting with Hyper-V and a couple of you have contacted me about issues running these scripts on systems with User Account Control enabled.  By default 'Administrators' are only allowed to access the Hyper-V WMI interfaces.  In order to have WMI scripts run correctly you need to:

  1. Login as the 'Administrator' account.
  2. Login with an account that is a member of the Administrators group and launch the command prompt 'As Administrator'.
  3. Add your specific user account to the Administrators role under Authorization Manager (details here).


Leave a Comment
  • Please add 2 and 8 and type the answer here:
  • Post
  • Thanks a lot :) These things are really helpfull.


Page 1 of 1 (1 items)

Hyper-V Scripts and User Account Control