Archive for the ‘SCVMM’ Category

SCVMM 2012 R2 Update Rollup 4 Pulled

October 30, 2014 2 comments

So another normal day at work, too much to do not enough time. But I planned to update my VMM 2012 R2 servers today to the latest update rollup package.


Update Rollup 4 for System Center 2012 R2 Virtual Machine Manager


However I could not find the download for the VMM server anywhere, I could find the admin console update only. My understanding is that it was pulled late last night or early morning (depending on where you live) because of installation issues upgrading VMM servers using Windows Server 2012.

I would expect the update to be re-released next week

Categories: SCVMM, System Center

System Centre Virtual Machine Manager 2012 R2 The object was not found on the server

October 30, 2013 1 comment


When setting or amending a configuration setting in SCVMM 2012 R2 against a Hyper-V Clustered VM I got a error which looked something like


Error (2915)

The Windows Remote Management (WS-Management) service cannot process the request. The object was not found on the server (SERVER NAME)

Unknown Error (0x80338000)


This put the VM in the console into a failed state, the natural first action is to try and repair the VM, this generates another error which looks like:

Error (12711)

VMM cannot complete the WMI operation on the server (HOST Server Name) because of an error (MSCluster…….) The cluster resource could not be found.

the cluster resource could not be found (0x138F)




1.Logon to one of the host servers and from a Powershell session run:

2.Import-Module FailoverClusters

Get-ClusterResource -c CLUSTERNAME | where {$ -eq ‘virtual machine configuration’} | Update-ClusterVirtualMachineConfiguration

3.From VMM console refresh cluster

4.From VMM console repair VM

Error Uninstalling VMM 2012 SP1

October 18, 2013 2 comments

With the release of System Centre 2012 R2 it was time to upgrade our production deployment of VMM.

This is installed on a single Windows 2012 Standard Edition server.

The plan was to uninstall VMM and the console and upgrade the OS to Windows 2012 R2.

I immediately hit a issue where VMM would not uninstall using add and remove programs.

I was presented with a pop up error message saying:

“you cannot upgrade from the currently installed version of VMM to system center 2012 SP1 virtual machine manager. You must first uninstall VMM,  and then install SCVMM 2012 SP1. If you are running system center suite, when you uninstall VMM, you can retain the database. When you install System center 2012 SP1, use the retained database”


Using the Following TechNet Article as a reference use the command line to uninstall the VMM Server and Console:

The VMServerUninstall.ini file was modified as below:

NOTE: The below Deleted the VMM Database, make sure you take a backup!

# RemoteDatabaseImpersonation=1
# RetainSqlDatabase=1
# ForceHAVMMUninstall=1


The command I ran from and administrative command prompt was:

setup.exe /server /x /f c:\temp\VMServerUninstall.ini /SqlDBAdminDomain "DOMAIN" /SqlDBAdminName "USERNAME" /SqlDBAdminPassword "PASSWORD"


setup.exe /client /x



The result, VMM 2012 SP1 uninstalled, I am now moving on to upgrading the OS to Windows 2012 R2 and re-installing VMM Server

Categories: SCVMM Tags:

System Centre Virtual Machine Manager 2012 SP1 Error (2912)


Failing to create virtual machine from within Virtual machine manager getting Error (2912)

Error (2912)

An Internal error has occurred trying to contact the <SERVER NAME>: NO_PARAM: NO_PARAM



Oh great, no matter what I do I cannot seem to create a virtual machine.

What’s happened? Virtual Machine Manager has been working pretty well for a while now.

I noticed that whenever this fails the virtual machine is being created on the same host server, this host server had some issues last week and I rebuilt the server.

What’s happened, the certificate on the VMM server has not been updated.

To  fix this, remove the host from VMM completely, delete the certificate from the VMM server.

The certificate can be found in the Trusted People store on the local computer

Add back in the host server and that’s it, you should be up and running again.



Categories: Hyper-V, SCVMM

Add possible Owner to a Cluster Shared Volume

April 11, 2012 2 comments

Another interesting issue this evening, today I added a Hyper-v host server to an existing cluster using System Centre Virtual Machine Manager 2012 (which rocks BTW). As part of the process to add the node you click a button to say add this node to this cluster and provide some credentials and off it goes and performs some validation tests before actually adding it to the cluster, this is great I hear you say….. In this case the node was added to the cluster and I start to check to make sure everything was OK before loadng the dad boy/girl up with VM’s when I happen to notice the the CSV’s LUNS were not attached it puzzled me how VMM 2012 thought this was OK……

Anyway I connected the LUNs and proceeded to load him/her up and moved onto the next node to take out of the cluster for maintenance, as part of this process I wanted to move the owner of a CSV disk first. so I go into Failover Manager find the CSV resource and select migrate to other node…. Only to be presented with


Operation has failed.

The action ‘Move to node <nodename>’ did not complete

Error code: 0×80071398. The operation failed because either the specified cluster node is not the owner of the group, or the node is not a possible owner of the group


Uh OH.. I have had enough problems with this cluster/SAN/CSV’s (that’s anther story put is this way one of the CSV’s ‘lost’ it’s partition information). I surmised that because the CSV’s were not presented to the server when it joined the cluster it may not had updated the “Possible Owners list” and sure enough this server was missing a few command laster and were are back in business.

note command needs to run from a Admin commpand prmpt


To tell who are the possible owners run:

Cluster res <resource name> /listowners


To to add a server to the list

Cluster res <resource name> /addowner :<servername>


Hope this helps

Categories: Hyper-V, SCVMM, Windows 2008 R2 Tags:

Create Windows Server VHD image from WIM file

October 9, 2011 Leave a comment

Whilst deploying Virtual Machine Manager 2012 I needed to create a Server 2008 R2 VHD to use as a OS template. I found converting a WIM file to a VHD nice and easy.

To do this:

  1. Download the WIM2VHD.WSF file from
  2. Copy the install.wim file from a Windows Server 2008 R2 installation media to a working directory, I used C:\
  3. Ensure you have the Windows® 7/Server 2008 R2 Automated Installation Kit (AIK) or the Windows® 7/Server 2008 R2 OEM Preinstallation Kit (OPK) installed.

During the process you need to choose which SKU to use, in order to determine the SKU’s available in the wim file run the below from a normal command prompt

C:\>cscript wim2vhd.wsf /wim:c:\install.wim



I want to create a VHD which has Windows 2008 R2 Standard Edition installed, so I will use “SERVERSTANDARD” AS MY SKU.


In order to create the actual VHD run the below command, this command will inspect the WIM file and create a VHD image of the SKU I selected, it will them save this to the root of my E drive. When complete it leaves you with a small log file and the VHD file.

cscript wim2vhd.wsf /wim:c:\install.wim /sku:SERVERSTANDARD /vhd:e:\2008R2Standard.vhd





Categories: Hyper-V, SCVMM, Windows 2008 R2 Tags:

VMM 2012 – Revoke IP address

September 18, 2011 4 comments

I have been working with System Centre Virtual Machine Manager 2012 (VMM 2012) since beta. I must say I love it, there are a few bits of it I need to get my head around and I will tackle them in the coming weeks, i.e. the service and service delivery part. The last two weeks I have been building out my fabric focusing on the logical network and IP Pools. In my environment I segment the subnet into roles, for example the first 50 IP’s are Cluster Hosts the next 50 are standalone hosts and another subset of IP’s are applications and so on. I love the fact I am able to create multiple pools to help with this.

During the course of my testing I found out that although I can create IP pools they are only really any use when deploying a VM, so if I have a VM with one network adapter and I deployed it from a VM template,I can select a IP pool for the VM to get it’s IP address from. GEAT this helps me keep to my standard, however if I have deployed a VM already and I need to added an additional network adapter to the VM I do not have the ability to choose a IP Pool, I need to deploy the VM then go back to the VM and change it’s IP address, not so good. I would have really liked the ability in VMM 2012 to choose the IP pool for the server under any condition. This does actually make sense when you understand that VMM 2012 sets the IP address and network interfaces using the unattended.xml file during deployment and with not with any of magic. One to bare in mind.

During my testing as well I discovered some odd happening with IP addresses and IP allocations. If you add and remove servers through VMM it will managed your IP addresses for you. What I mean by that is it will check IP addresses in and out to ensure there are no IP conflicts. however I found myself in a position this week where I created a new IP Pool and assigned an IP to a virtual machine only to realize I made a mistake with my ranges. I could not amend the range because a number of them were assigned to servers including a few host machines. I changed the VM IP address and forced a refresh from within VMM2012 and the number of allocated IP’s did drop however I was expecting for all IPs to be checked back in. I checked the inactive IP address section on the pool properties and nothing was there, as far as I was concerned nothing should be using this pool any longer but I could see no way to amend or delete this pool. Thanks to the TechNet forums I have discovered a handy and simple PowerShell command that will tell you where IP Addresses are used and a second commandlet to check it back in to the pool.

To see where I addresses are used run the below from a VMM Powershell Session


this will return a list of IP’s and where they are used.


In the above example it shows that a Virtual Machine has the IP address, it even gives me the name of the machine.

If I wanted to force this IP address back into the pool I can revoke it, however you must be sure it is no linger in use. Use the below command to do this.

$ip = get-scipaddress –IPAddress “”

$ip | revoke-scipaddress


That fixed it for me, but one thing I did find while working in the fabric was that it is great that VMM now has started to managed IP’s and I can clearly see how many have been allocated and are available but it really does lack an insight into where IP have been used. I would really like to be able to look at a IP pool and see who has what IP. You never know someone might write an app for this as the information is there.

Categories: SCVMM