Building Microsoft System Center Cloud – SCVMM 2012 R2 – Create Run As Account to add and manage Hyper-V hosts


Rules

There are a few rules that you should always follow…

  • Do not add hosts using own user credentials.
  • Do not use VMM service account to add hosts.

Create account in Active Directory to manage hosts

  • New identity in Domain Users group.
      • scvmmrunashosts
  • Add the account manually to the Local Administrators group on the hosts or do it automatically using Group Policy.

Add the new account to the hosts using Group Policy

  • Create group in the Active Directory and add new account as the member.
      • scvmmrunashostsgroup
  • Create a new Group Policy Object (GPO).
  • Recommended – Preferences
    • Computer Configuration\Preferences\Control Panel Settings\Local Users and Groups – New – Local Group
    • Select Administrators (built-in) and identity in Active Directory.
  • Old way – Restricted Groups
    • Computer Configuration\Policies\Windows Settings\Security Settings\Restricted Groups – Add Group…
    • Set the new group as Member Of Local Administrators
      • Administrators
  • And after gpupdate you can check the results on your Hyper-V hosts.

Create new Run As account in the VMM

  • Create Run As Account
  • Set name for the Run As account and add domain credentials of the created identity.
      • Hosts Administrator
      • AD\scvmmrunashosts

Leave a Reply

Your email address will not be published. Required fields are marked *

Active Directory Advanced function AlwaysOn Availability Groups AlwaysOn Failover Cluster Instances Building Cloud Cloud Cluster Cmdlet Database Deployment Design DFS Domain Controller DSC Fabric Failover Clustering File Server Group Policy Hardware Profile Host Hyper-V Installation Library Library Asset Library Server Network Operations Manager Orchestrator PowerShell PowerShell User Group PowerShell Workflow Security Service Manager SQL Server Storage System Center Template Time Time Synchronization Tips Virtual Machine Virtual Machine Manager VM Network VM Template Windows Server 2012 R2