You are browsing the archive for SCVMM 2012 R2.

2016: My blog year in an overview

2:37 pm in Azure, Azure Backup, Azure RemoteApp, Client Hyper-V, Cloud, DC, Hyper-V, IaaS, PowerShell, Private Cloud, Public Cloud, Replica DC, SCAC 2012 R2, SCVMM 2012 R2, System Center 2016, W2K12R2, Windows 10 by Wim Matthyssen

Hi all,

As a blogger completely focused on Microsoft technologies, it was a fun year of writing about all those interesting and ever changing products and services. As we almost end the year 2016 and are preparing for 2017 to start, I wanted to make a list of all the blog posts I wrote throughout the twelve months of 2016. During the year, I’ve published 26 blog posts mostly about Azure, the System Center Suite and Hyper-V. Below you can find them all divided by technology.



Azure Compute – IaaS (ASM)

Step-by-step: Move an Azure IaaS VM between different Azure Subscriptions

Clean up Azure PowerShell when using different Azure subscriptions

Replica DCs on Azure – Removing the Azure Endpoints

Replica DCs on Azure – Transferring FSMO roles to the IaaS DCs

Replica DCs on Azure – Manage the Time Configuration settings on the DCs

Replica DCs on Azure – Domain Controller Health Check

Replica DCs on Azure – Promote the Azure IaaS VMs to a domain controller

Replica DCs on Azure – Add the Active Directory Domain Services role

Replica DCs on Azure – Adjustment of some server settings before promoting the DCs

Replica DCs on Azure – Initialize and format the additional data disk

Replica DCs on Microsoft Azure – Create the VMs with Azure PowerShell

Step by step: Change the drive letter of the Temporary Storage on an Azure IaaS v1 VM


Azure Networking

How to connect an Azure ARM VNet to an ASM VNet using VNet Peering

Replica DCs on Azure – Switch DNS servers for the VNet

Replica DCs on Azure – Create the Active Directory site for the Azure VNet


Azure Backup

Microsoft Azure Backup Server: Install a new version of the Microsoft Azure Recovery Services Agent

Microsoft Azure Backup Server: System State backup fails with WSB Event ID: 546

Microsoft Azure Backup Server: System State backup fails with the message replica is inconsistent

Step by step: How to install Microsoft Azure Backup Server (MABS)


Azure RemoteApp

An RDP connection to the Azure RemoteApp custom VM fails with the following error: “No Remote Desktop License Servers available”


Windows 10

How to deploy Windows 10 from a USB flash drive


System Center

System Center 2016 evaluation VHDs download links

Step by step: How to connect SCAC 2012 R2 to SCVMM 2012 R2 and Microsoft Azure

Step by step: Installing SCAC 2012 R2



A list of tools that can be used to do a V2V from VMware to Hyper-V

Client Hyper-V – Using nested virtualization to run Client Hyper-V on a Windows 10 VM


Before I wrap up this blog post, I want to thank you all for reading my blog posts in 2016, and I really hope you will keep doing so in 2017. I wish you all a healthy, successful and outstanding New Year! See you all in 2017!

Wim Matthyssen (@wmatthyssen)

A list of tools that can be used to do a V2V from VMware to Hyper-V

11:49 am in Hyper-V, MVMC, SCVMM 2012 R2, V2V, VMware by Wim Matthyssen

From time to time clients ask me to convert VMware virtual machines (VM) to Hyper-V VMs. Briefly said to do a virtual-to-virtual (V2V) migration.


Most of the times those clients have System Center Virtual Machine Manager 2012 R2 (SCVMM) in place, which can perform those migrations with ease. You can find how you can do this by using SCVMM via following Microsoft TechNet article:

But there are also clients who don’t make use of the System Center Suite, mostly because of the price or because they have a small environment. Therefore, other tools need to be used for these V2V migrations. In this blog post I will list up some of those tools (Microsoft and third party), all with their pros and cons.

Before I start listing them up, I would like to draw your attention to some things you should keep in mind:

  • Always check the current VMware ESX version -> not all tools migrate all versions of ESX
  • Check the guest OS version -> not all tools migrate all versions of the guest OS installed
  • Be aware that almost every migration process will introduce downtime -> no “warm migration”, VMware VM down, Hyper-V VM up
  • Hyper-V GEN 1 VMs -> Only an IDE disk can be used to boot a VM, no SCSI boot from VHD
  • Hyper-V GEN 1 VMs -> Never configure a paging file on a VHD connected to a SCSI Controller
  • Hyper-V GEN 2 VMs -> Only supports the following Windows guest operating systems (OSs): Windows Server 2012 R2, Windows Server 2012, 64-bit versions of Windows 8.1 and 64-bit versions of Windows 8

Below you can find the list of the different V2V migration tools:

1) Microsoft Virtual Machine Converter (MVMC) 3.0

Download link:

Microsoft TechNet article:


  • Free
  • Automation via PowerShell
  • Can integrate with System Center Orchestrator (SCORCH) 2012 R2
  • VM and physical server (online) conversion
  • Not only Hyper-V but also Microsoft Azure is available as migration destination
  • Uninstalls VMware tools before an online conversion (VMware tools will not be uninstalled when an offline conversion is used)


  • No GEN 2 VM support

2) 5nine V2V Easy Converter 6.5 free version

Download link:


  • Free
  • GEN 2 VM support
  • Ability to override the number of vCPUs and the available vMemory
  • Remap the vNetwork
  • Ability to override the VM start/stop/delay actions
  • Automatic conversion into a Highly Available Hyper-V VM is available
  • Faster than MVMC


  • No automation trough PowerShell for the migration process in the free edition (only in the payed edition)
  • Does not remove VMware tools automatically

3) StarWind V2V Converter

Download link:


  • Free
  • Converts VMs from any format (VMDK, VHD, VHDX, …) to another


  • Requires registration in order to download it
  • Does not remove VMware tools automatically

Before ending this post, I also want to mention the Disk2vhd tool which enables you to do a physical-to-virtual (P2V) migration. You can dowload it via following link:

You can also read all about how to use this tool in a blog post I wrote some time ago:

Like you can see you have several tools you can use, all with their advantages and possible disadvantages. Newer versions of those tools mostly include new features and add support for more OSs. I mostly prefer to use MVMC if SCVMM is not available to do the migration, but off course the choice is all yours. Hopefully this list helps, till next time!

Wim Matthyssen (@wmatthyssen)

Step by step: How to connect SCAC 2012 R2 to SCVMM 2012 R2 and Microsoft Azure

10:43 am in Azure, Cloud, hybrid cloud, Private Cloud, Public Cloud, SCAC 2012 R2, SCVMM 2012 R2 by Wim Matthyssen

11-02-2016 16-14-33What’s a System Center App Controller (SCAC) server without a connection to System Center Virtual Machine Manager (SCVMM) or Microsoft Azure … right nothing! That’s why in this blog post I will show you how you can connect your SCAC server to your private (SCVMM) and public cloud (Microsoft Azure) environments.

Before we start some things to keep in mind:

To connect SCAC to SCVMM, complete these steps:

1) Open the SCAC web portal, expand Settings and click Connections. On het menu bar, click Connect and select SCVMM


2) In the Add a new VMM connection screen, enter a Connection name (this is the name the user sees), a Description, the SCVMM server name in FQDN format, and the TCP port of that same SCVMM server (default is 8100). Check the “Automatically import SSL Certificates” check box if you plan to copy files and templates to and from SCVMM libraries (this option is recommend). Click OK


3) SCAC establishes the connection and begins a session with the SCVMM server. You can follow the completion in the Jobs section




4) If all is setup without any errors, you will be able to connect to your different on premise Clouds and Virtual Machines (VMs)



To connect SCAC to your Azure Subscription, complete these steps:

1) To create the Self-Signed Certificate open up the IIS Manager on the SCAC server. Double-click on Server Certificates


2) In the Actions pane select Create Self-Signed Certificate



3) Name the certificate (in my example AzureSCACCert) and click OK


4) Now we need to export this certificate as a .pfx file. To do so, right-click on the certificate and choose Export…


5) Choose a file name, a location and set a password. If all is filled in click OK


6) In my example the .pfx file is created under the C: root


7) Now open run an type mmc and add the Certificates Snap in for the “Local Computer Account”



8) Go to Personal, right-click Certificates and under All Tasks select Import…



9) Follow all steps to import the .pfx file (AzureSCACCert) in the personal certificate store



10) To generate the .cer file by right clicking on the certificate, and under All Tasks, select Export




11) Use the defaults trough the wizard, as file name I used AzureSCAC.cer and as location C: At the end of the wizard press Finish


12) As a next step we need to upload the .cer file to Azure. To do so logon into your subscription in the classic portal ( When logged on, select Settings at the bottom left, select MANAGEMNT CERTIFICATES and finally select Upload at the bottom


13) Browse to the .cer file (located under the C: drive) select it, and click the check box. After a few seconds you should see a notification telling you that your upload is successful and the certificate should be added to the list of management certificates




14) Before we can connect SCAC to this Azure Subscription we need the Azure subscription ID. Because were already at the MANAGEMENT CERTIFICATES page, you can find this ID under the field SUBSCRIPTION ID. Copy the subscription ID to the clipboard


15) Open up the SCAC web console again, in the Overview pane, under Public Clouds, select Connect a Windows Azure Subscription




16) Fill in a Name and a Description, past the Azure Subscription ID, and select the correct certificate and add the password. If all is foreseen click OK


17) If all went well, you can see that you have an Azure subscription is now connected in the Overview page


18) Under the Virtual Machines section you can see your Azure IaaS VMs running


This concludes this blog post, hope it helps. Till next time!

Wim Matthyssen (@wmatthyssen)

The Service Principal Name could not be registered in AD DS for the SCVMM 2012 R2 Management Server

11:14 am in Private Cloud, SCVMM 2012 R2, SPN by Wim Matthyssen


Sometimes when installing a new System Center Virtual Machine Manager (SCVMM) 2012 R2 Management server you can receive following message at the end of the installation: “Setup completed successfully with warnings”. Like you can read in the error message, this means the installation was successful only the Service Principal Name (SPN) could not be registered in Active Directory Domain Services (AD DS) for the SCVMM Management Server. If the SPN and SCP are not registered, SCVMM consoles on other computers will not be able to connect to this SCVMM Management Server and deploying a Hyper-V host to a bare-metal computer will not work. This problem occurs when your installing your SCVMM Management Server with an account that has insufficient rights to make chances to AD.


To fix this problem run following commands as a domain administrator from a command prompt:

1) Use setspn.exe to create SPN for SCVMM server using the following command:

"C:\Windows\system32\setspn.exe  -S SCVMM/hostname.domain accoutname".

As example:

"C:\Windows\system32\setspn.exe -S SCVMM/VMM-01.contoso.local CONTOSO\mgrscvmm".

2) Add SPN values to following registry key "Software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup\VmmServicePrincipalNames".

3) Run "C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\setup\ConfigureSCPTool.exe -install" to configure SCP.


This should fix the issue and also concludes this blog post.

Hope it helps, till next time!

Wim Matthyssen (@wmatthyssen)

Step by step: Installing a standalone SCVMM 2012 R2 Management Server

4:34 pm in Private Cloud, scvmm, SCVMM 2012 R2 by Wim Matthyssen

clip_image002Installing the System Center Virtual Machine Manager (SCVMM) 2012 R2 Management Server is pretty straightforward and is very much like installing a new Windows Server. Its main focus is to run the SCVMM service, which processes all commands and handles all communication between the SCVMM database, the SCVMM library server(s) and the Hyper-V hosts. The SCVMM server is cluster-aware, and you can deploy it as highly available (HA) if your virtualization environment is large. But in this blog post I will go to the installation process for setting up a standalone SCVMM Management server. I will also list up all prerequisites and components to get all things up and running.

But first of all, I will start with listing some things up which need  to be kept in mind when planning your deployment:

  • The topology for a SCVMM deployment will vary according to each company’s needs. Consider the following before taking off: numbers of Hyper-V hosts, number of branch sites with hosts, security, administrative groups, self-service experience, availability and recovery time for each of the components.
  • For complete SCVMM software and hardware requirements go to the following Microsoft TechNet page:
  • If you are deploying SCVMM, you should consider that the SCVMM database no longer supports SQL Express. Therefore, you must use a supported version of SQL server (full version) to run this database.
  • At least one SCVMM library server is necessary, but you should consider foreseeing more separate servers for each external site with a low bandwith link.
  • When you are naming the SCVMM Management server, the computer name cannot contain the character string “SCVMM”.
  • The SCVMM database can reside on a SQL server with other application databases. For example, in combination with the App Controller database.
  • The SCVMM database must be in the same domain as the SCVMM server or a two-way trust must be in place.
  • Be sure to join the SCVMM Management server to the domain.
  • Create all necessary accounts in advance: SCVMM service account, RunAs account for managing hosts, SCVMM Administrators security group. Add the security group to the Local Administrator group on the SCVMM Management Server.
  • You can deploy the SCVMM Console on the same server as the SCVMM Management server, or on another server or workstation that is running a supported operating system (OS).
  • The SCVMM Management Server will be installed on a W2K12 R2 virtual machine (VM) with the Windows Firewall disabled.
  • Configure SCVMM 2012 R2 Distributed Key Management (DKM) in advance. If you do not know how, read all about it in my previous blog post:
  • For the installation log on with a domain account which is a member of the SCVMM Administrators security group and insure this account has sufficient rights to access the SQL and the AD container.

SCVMM has five major components of architecture and these are setup accordingly for this standalone installation:

  • SCVMM Management Server -> will be setup as standalone server
  • SCVMM console -> will be installed on the same server as the SCVMM Management Server
  • SCVMM Self-Service portal -> is been replaced by System Center App Controller (SCAPP)
  • SCVMM database -> will be placed on a separate SQL cluster
  • SCVMM library -> tempory local, will be replaced by a share on a separate file server

After this brief intro, it’s time to setup the SCVMM Management server. We will start off with the installation of all the required Prerequisites.

1) Install Microsoft SQL Server 2008 R2 Command Line Utilities, which can be downloaded over here:

2) Scroll down the page, until you find the exact download



3) If you right-click and install, you may receive following error


4) If so download the Microsoft SLQ Server 2008 R2 Native Client (X64 Package) and run Install









5) Now install the SQL Server 2008 R2 Command Line Utilities







6) Download the Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1, you can find it via following link:


7) Run the file as Administrator


8) Leave the default installation path and click Next


9) We don’t join the Customer Experience Improvement Program (CEIP), so we select No and click Next

10) Accept the License Agreement

11) For SCVMM 2012 R2 we only need to install the Deployment Tools and the Windows Preinstallation Environment. Select those and click Next



12) To make sure things are still ticking along under the covers, you can navigate to %temp%/adk to look at the installation log file to make sure that things are still progressing behind the scenes. The installation can be quite large up to 5.1 GB, so if you are on a slow Internet connection, you may be stuck at 0% complete for up to 15 minutes or more before you see any change in the progress bar. In the log file, look for the time that you kicked off the installation and also the time of the last log entry. You should be able to see some activity, namely ‘acquiring package’. This will mean that it’s downloading the package in the background.


Windows Assessment and Deployment Kit for Windows 8.1_20140224141443.log

Check your proxy settings if download doesn’t start or doesn’t work

13) Install the Microsoft Visual C++2010 x86 Redistributable Maintenance. You can locate the executable on the SCVMMR2VMM ISO under the folder “Prerequisites”

After all prerequisites are installed it is now time to freshly install the SCVMM Management Server

14) Go to the DVD or ISO, open it and select setup.exe


15) Click Install


16) Select VMM management server (automatically VMM console is also selected)


17) After the selection of the roles, you have to provide the information about the name of the administrator installing the product, organization details and last but not least the product key. If you don’t provide the product key during installation, you can provide it later. But be aware your installation will only be valid for a 180-day trial period


18) On the next screen, read and accept the licensing agreement and press Next


19) We will not join the Customer Experience Improvement Program (CEIP). So select No, I am not willing to participate and press Next


20) Leave the Installation location to the default and press Next


21) On the prerequisites checker, if there is any prerequisite missing, SCVMM setup will inform you about that. If so, install any missing prerequisite and re-run the checker

22) In the next screen you need to specify the database configuration. Because were installing the SCVMM database on a separate SQL cluster, we need to fill in het Server name and the proper SQL Server Instance name. In addition to this, we also have to specify the correct SQL Server listening port and the user name and domain used to connect to it


23) On the next screen we need to fill in the domain account used by the VMM service and the location for the DKM


24) In the next section leave all ports to the default and press Next


25) For the Library configuration also leave everything to the default. After installation is complete you can add a separate library shared on a file server and delete this default


26) On the last screen, a summary of all the configuration-related settings provided is shown. If everything is OK, you can click Install to start the installation




27) Like you can see installation is completed and you can Close the screen. If you mark the to open the VMM console when this wizard closes this will be opened. Here you are required to provide the right credentials


This concludes this blog post, hope it helps and till next time!

Wim Matthyssen (@wmatthyssen)