Error (26193) No Run As account is associated with the host. Recommended Action You have not specified a Run As account for your host. You can add a Run As account to the cluster using Powershell: $Cluster = Get-SCVMHostCluster -Name CLUSTER_NAME $RunAs = Get-SCRunAsAccount -Name "RUN_AS_ACCOUNT" Set-SCVmHostCluster -VMHostCluster $Cluster -VMHostManagementCredential $RunAs
Tag: VMM
Monitoring VMM Jobs with JobVariable
With the -JobVariable parameter you can create a temporary variable that contains the status (and other good stuff) of the created job. This variable will only be available in the current session, it will not be globally available. The jobvariable will be converted in a variable, you can only set text as -jobvariable. I used […]
Enabling Jumbo Frames on Hyper-V Switch
So, you have enabled Jumbo Frames on your NIC’s and vNIC’s, but your hosts are not not doing Jumbo Frames? This is because the Hyper-V switch still has a MTU of 1500 and the good thing is… There is a way to enable Jumbo Frames on your Hyper-V Switch! The {4D36E972-E325-11CE-BFC1-08002BE10318} subkey in the registry […]
VM Network Wizard fails with errorcode 12416
I found a bug in the creation of VM networks. I received the error: VMM is unable to process one of the provided parameters for the cmdlet (New-SCVMSubnet): Cannot convert ‘System.Object[]’ to the type ‘Microsoft.SystemCenter.VirtualMachineManager.LogicalNetworkDefinition’ required by parameter ‘LogicalNetworkDefinition’. Specified method is not supported ID: 12416 I created a Network site called “ABC” on my […]
Uninstall Intergration Services
Uninstall Intergration Services on Hyper-V VM using VMM. 1. Start the Hyper-V management console 2. Start and Connect to your Virtual Machine 3. Click on Action > Insert Integration Services Setup Disk 4. Log onto your virtual machine and open the command prompt 5. At the command prompt browse to the Integration Services Setup Disk(D:\ […]
Uninstall VMware Tools with Powershell
In addition to this great post by MigrationMark about Automating VM Migration and uninstalling VMware Tools I decided to write a little powershell script that finds the GUID of the VMware Tools Registry Key and use it to uninstall VMware Tools with this key. This powershell script will uninstall VMware Tools and force shutdown the […]
Set custom property’s on VM creation
It seems like you cant set custom property’s on VM creation, you will encounter these problems if you use a powershell function to deploy a VM like below and you want to set a custom property in the same function. Function CreateVM { #Create unique Guid as JobGroupID $JobGroupID = [Guid]::NewGuid().ToString() $VMTemplate = Get-SCVMTemplate | […]
Force Remove VMM Cloud
I had some problems today with a Cloud that I could’t delete. If I clicked Right mouse > Delete in VMM, nothing happend. *Please backup your database before any changes, I’m not responsible for the outcome.* I successfully removed this cloud trough changing the “Physical Object’s” in the SQL database that were still connected somehow. […]
VMM Crash – Error 802
Encountered some strange behaviour within VMM. Situation: I created a VM Template “VMTemplate – Windows Server 2012 Datacenter” from a server called “VM – Windows Server 2012 Datacenter”. The VM Template disk is stored in a folder on the library share. When I delete the folder (or safely move to a folder outside the library) […]