SCVMM WSUS Configurations

Steps :-

Need to install WSUS on a Dedicated Server

Below are the step by Step process

1 Open Server Manager Click on Manage

2 Click on Add Roles and Features


6 Click on Windows Server Update Services to Install

7 Click on Add features89101112 Give a path to store Updates131415 Confirm that Web Server (IIS) should be installed
Click on Install

1617 After Installed Click on Warning Flagged

18  Click on Post Deployment to Complete Configuration

If It Pop’s up for Path give the same Path that you have given earlier for Store

Click on Tools and then Click on Windows Server Update Services
Configure WSUS

2122232425 Click on start Connecting for Save and Download Proxy Server Information.262728  Select Language appropriately

29 This is important because here you will select what updates you want 30 Here you Classify updates

  • 313233 Click on Finish to Configure it Successfully.
    34  The Above Console shows that WSUS has been Configured Successfully
    If have Chosen Manually Synchronization you can run the Synchronization       manually if you have chosen automatically it will run automatically.
    35 Login to SCVMM Server
    Click on Server Manager
    Click on Add Roles and Feature go to Feature
    Expand Remote Server Administration
    Expand Role Administration Tools
    Check on User Interface Management Console and Click on Next.
    Once Interface Management Console is installed Restart SCVMM Service.38

    Login to SCVMM Server

  • Go to Fabric
  • Right Click on Update Server

Click on Add Update Server

Once you click on Add Update Server
The Next Window will pop as shown above
Enter WSUS Server Name with Full FQDN
Port No to check Port No
Go to Server Manager
Go to Tools
Open Windows Server Update Services
Right Click on Update Service
Connect to server
Pop-up Window will Show Port No need to be connected



Upgrade from SCVMM 2012 R2 to 2016

Requirements and limitations

  • SCVMM 2012 R2 should be running with UR 9 and above.
  • Ensure that the server meets all requirements for SCVMM 2016.
  • Supported SQL for SCVMM 201 start’s from SQL Server 2012 SP1

Upgrade Standalone SCVMM.

  • Uninstall VMM and select to retain the database. Make sure you remove both the VMM management server and the console.
  • On the current VMM server, upgrade the operating system to Windows Server 2016.
  • Install VMM 2016. In the main setup page, click Install.
  • In Select features to install, select VMM management server > Next. The VMM console is automatically installed.
  • In Product registration information, provide the appropriate information > Next. If you don’t enter a product key, VMM will be installed as an evaluation version that expires 180 days after installation.
  • In Please read this license agreement, specify that you’ve read the terms, and click Next.
  • In Usage and Connectivity Data, select the option you want, and click Next.
  • If Microsoft Update appears, select whether you want to install VMM updates with Microsoft Update, and then click Next.
  • In Installation location, use the default path or type a different installation path for the VMM program files, and then click Next. The computer you’re upgrading is checked to ensure it complies with prerequisites.
  • In Database configuration:
  • If you’re using a remote SQL Server instance, specify the name of the remote SQL Server computer.
  • Learn more about upgrading the SQL Server database if required.
  • If SQL Server will run on the VMM server, type the VMM server name, or type localhost. If the SQL Server is in a cluster, type the cluster name.
  • Don’t specify a Port value if you’re using a local SQL Server, or if the remote SQL Server uses the default port (1443).
  • Select Existing Database, and select the database you backed up from your previous installation. Provide credentials with permissions to access the database. Click Yes to upgrade.
  • In Configure service account and distributed key management, specify the account that the VMM service will use. You can’t change the identity of the VMM service account after installation.
  • Under Distributed Key Management, select whether to store encryption keys in Active Directory. Choose settings carefully for the service account and distributed key management. Depending on what you choose encrypted data such as passwords in templates might not be available after the upgrade and you’ll need to enter them manually.
  • In Port configuration, use the default port number for each feature or provide a unique port number that is appropriate in your environment. To change the ports that you assign during the VMM installation, you need to uninstall and reinstall the VMM server. Don’t configure port 5986, because it’s preassigned.
  • In Library configuration, select whether to create a new library share or to use an existing library share on the computer.
  • The default library share that VMM creates is named MSSCVMMLibrary, and the folder is located at %SYSTEMDRIVE%\ProgramData\Virtual Machine Manager Library FilesProgramData is a hidden folder, and you cannot remove it.
  • After the VMM management server is installed, you can add library shares and library servers.
  • In Upgrade compatibility report, review settings > Next.
  • In Installation Summary, review settings and click Install to upgrade the server. Installing features page appears and displays the installation progress.
  • In Setup completed successfully page, click Close to finish the installation.
  • If there’s an issue with  setup,check the %SYSTEMDRIVE%\ProgramData\VMMLogs folder. ProgramData is a hidden folder.



VMM Server cluster failover fails with Error Code: 0x8007138d

I have installed a 2-node VMM Server 2016 failover cluster on Windows Server 2016 today, I found that I could not manually failover the VMM cluster service from node 1 to node 2, and failed with the following information:

The operation has failed

The action ‘Move’ did not complete

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

Here is a screenshot:

FailOver SCVMM

The error is a bit strange to me as I can see the Node 2 was listed there when I performed the Move operation, and the cluster installation was successfully on both nodes.

At this point, I did some research, and found someone mentioned that the Node 2 might be not a possible owner for one or more of VMM Server failover cluster dependencies.

After several clicks, I found that the failed Node 2 was not a possible owner of IP address of VMM Server virtual server name like below, once I selected it back, the failover succeeded.

FailOver SCVMM1FailOver SCVMM2FailOver SCVMM3

Then again Try to failover and Test.

Hope this Help’s 🙂

Setting up a Highly-Available 2016 VMM Environment

System Center Virtual Machine Manager is now starting to get more traction than ever, especially so given some of its management capabilities around Storage and Networking, Moreover when the Windows Azure Pack is used in production, Virtual Machine Manager must be installed in high availability in order to your tenants have almost always access to their VM management. To do this VMM uses the Failover Cluster feature integrated in Windows Server.

Before you begin there are some important things to note:

  1. Not only should the VMM Management Server should be highly available, but also the SQL Server where the VMM database will be installed and the file share for the Library Share too.
  2. Whilst it is possible to have two or more VMM Management servers in a cluster, only one node will ever be active.
  3. You will need to configure Distributed Key Management.  The distributed key management is used to store encryption keys in AD instead of storing the encryption keys on the machine/VM where the Management Server is installed.

The high level steps we will be carrying out in this post are:

  • Install all the SCVMM prerequisites (ADK)
  • Create a VMM Service Account which has local admin rights on the SCVMM nodes.
  • Create a container in Active Directory Domain Services for the Distributed Key Management.
  • Set all IP addresses, you may also configure an independent Heartbeat network
  • Install & configure the Failover Cluster feature on both servers.
  • Install SCVMM 2016

First Install ADK and MSODBCSQL & MSSQLCMD on both VMM Server’s.

You can also download the ADK to an alertnate path and install on your VMM Server’sif your machine is not connected with internet.





Install Failover Clustering feature on Both VMM Server’s.


Start Installing VMM on VMM Node 1

Right Click on the Setup and Run As Administrator


Click on Install





After you click Next from the Above Picture, it will check for the Prerequisite for the VMM like Minimum Memory,ADK and Etc.

It the Prerequisite Passed then it will give you option to configre Database for VMM Server’s.


Enter the database information for the MSSQL database you want VMM to use. As stated earlier, this should be a highly available SQL installation installed on a separate failover cluster from the cluster we are installing VMM on.

Use Domain Admin Credentials it should automatically Detect MSSQLSERVER in Instance Name and Click on Next.


Enter the service name for the VMM installation. Click Next


Click Select and search for your Service Account and enter the Password.  In the Distributed Key Management section enter the location of the DKM container in AD created earlier.

Add the Service Account to the Local Administrator Group.


Done with the Installation on VMM Node 1 Click Close to Finish.


Start VMM Installation on Node 2.

Finally you need to install VMM on the second node in the cluster. To do this, log on to the second node and run the VMM installer.

You’ll be prompted to add this server as a node to the highly available VMM installation (you’ll obviously say you do).

You won’t have to enter the DKM information again (you’ll still have to enter the VMM service account password but not the username.

You won’t have to enter database information.

Below Snapshot is from the Database Configuration fron Node 2.


Below Snapshot Either you can Create a Library or you can use the Existing one.


To Connect to VMM Server you can either enter the Clsuter Role name for VMM server or the Active Node Name and Click Connect.


Below snapshot you can confirm both the VMM server’s.


That’s it!  You now have a highly available VMM environment to manage your Server 2012 R2 /Server 2016 Hyper-V Hosts.

Adding SCVMM 2016 Hosting to Studio

  • First Step is to Install SCVMM console on DDC.
  • This will allow me to add any machine I create through PVS via SCVMM to Machine Catalogs, and allow me to power manage those machines.
  • Open Citrix Studio, navigate to Configuration -> Hosting and then click Add Connection and Resources.


  • Fill in your connection details as per the below image.


  • Browse the Cluster you can use the Storage as per the availabilty.


  • Select Cluster


  • Verify all your connection Details from the Summary


  • Verify the Connection.


  • Check if you are able to get the MCS option in the Machine Catalouge.


Installing DPM 2016


  • 2 vCPU
  • 4096MB or Memory dynamic.
  • Backupdrive – <You Can as much as you can>GB
  • Note : Cannot extend more then 120 TB

SQL Server’s

  • SQL 2012
  • SQL 2014
  • SQL 2016
  1. Database Engine
  2. Reporting Native Service’s

Service Account

  • Svc_sql
  • Svc_SqlAgent
  • Svc_Reporting


You can download the Setup from below Link :-

You can Mount the ISO or Extract it to the VM

Double-click on setup.exe – To Start the installation.



Adding Backup Drive

13Adding Backup Drive141516171819202122232425262728

  • Open DPM Console Click on Management Tab


  • Adding the Backup drive from the Storage Pool


  • Installing the DPM Agent from Console to Data Source



  • Creating New Protection Group for the Data Source.


  • You can also Modify the Retention range and Express Full Backup accordingly.


  • You can Also Specify Backup Disk according to the Data Source if you have Multiple Backup Disk.
















Setting up DKIM Keys for Highly-Available VMM 2016

Creating the Container in AD

  • Open the Active Directory Service Interfaces Editor(adsiedit.msc)
  • Right-click the ADSI Edit object in the left tree and select Connect To.
  • In most environments it should be sufficient to connect to the Default Naming Context, so the defaults are ok. Click Ok
  • Once connected, expand the connection object and then right click the domain’s container and select New > Object…



  • Provide a value for the name of the container


  • Select container as the class. Click Next


  •  Click Finish


  • Now the container is created but you will still need to take note of the distinguishedName property of the container and provide it to VMM during installation.


  • Right-Click the container and select Properties


  • Now provide this text string (“CN=SCVMM,DC=MSCLOUD07,DC=com”) to the VMM installer during VMM installation.