You can disable RunAs accounts created in SCVMM using Disable-SCRunAsAccount PowerShell cmdlet. A disabled RunAs account cannot be used by VMM. To disable a RunAs account, run below listed PowerShell commands on VMM computer:
- $RunAsAccountName = Get-SCRunAsAccount -Name "AccountName"
- Disable-SCRunAsAccount -RunAsAccount $RunAsAccountName
First command collects the RunAs Account name and stores in $RunAsAccountName variable. Second command (Disable-SCRunAsAccount) disables the RunAs Account.
About Nirmal Sharma
Nirmal Sharma is a MCSEx3, MCITP and Microsoft MVP in Directory Services. He specializes in directory services, Microsoft Azure, Failover clusters, Hyper-V, and System Center products and has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to Health Packs for ADHealthProf.ITDynamicPacks.Net solutions. Nirmal can be reached at firstname.lastname@example.org.