How to apply license on SCOM 2016(fwlink 74446)

Today I had a chance to revisit my SCOM Lab. But after booting everything, I noticed that even if all services are running including SQL and SCOM, the Ops Manager console throws an error on connecting.

TL;DR; My trial license is expired. Use Powershell to apply license:

  • Import-Module OperationsManager
  • Set-SCOMLicense –ProductId “<YOUR PRODUCT KEY>”
  • Restart-Service OMSSDK
  • New-SCOMManagementGroupConnection
  • Get-SCOMManagementGroup | Format-List –Property SkuForProduct, SkuForLicense, Version, Name, TimeOfExpiration

Long story, so will I reinstall today? So normal troubleshooting after seeing the error, restarting the services including SQL Server and nope, no joy there.

Going back to the console, thankfully there is a stack trace there. So lets read thru the errors, mostly access denied exception but there was the ex.message.toString there. So we have hopes here.

It seems that there was an access denied exception but the inner message is saying “You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product” Aha! I followed the link and it seems that it only redirects to a generic product page. Still no joy.


There are a few TechNet and Support articles out there, but there’s one problem. License IS expired already.

Problem is we cant connect to the management group, because, yes we have an exception. Yikes.


I think the article is a little off, since applying SCOM licenses are thru registry access so it shouldn’t require any connection.

So first, run PowerShell as an administrator on the server where SCOM is installed.

Apply the license key that you have for retail. (See TLDR section for Copy-Paste PS> commands)

Also remember also to restart the System Center Data Access Service after applying the license. Included in TLDR.


Try out the new connection and try and poke the management group and get the license details.

Then try and connect using the Console. Yes its working, but my apps are not.


So there ya go, and I’m back to my DevOps management group. I’m trying out the new MP for .NET APM with Application Insights. This is going to be fun. Well after we fix DB01. Should blog about it later.

Side by Side comparison of Windows Server 2016 Installation Memory Utilization (Hyper-V)

So I have 3 freshly installed Windows Server Virtual Machines with nothing installed but the base operating system. These are running on Windows 10 Enterprise with Hyper-V.

1. Windows Server 2012 R2 (GUI)

2. Windows Server 2016 (GUI)

3. Windows Server 2016 (Core




These virtual machines are on a strict memory diet Smile I have configured all three to have 32mb available RAM but on dynamic memory.


With no user logged-in and with only default services running, here are the results:


We see that the Windows Server 2016 Core installation runs at 454 MB next to it is the GUI for 2016 then finally at 692 MB for 2012 R2.

Now with Administrator Logged-in:


Now with Administrator Logged-in but closing server manager for virtual machines with GUI installed.


Trying to install IIS on all three VM using PowerShell:



After Installation:


I also tried browsing the default web site installation of each IIS as seen on this screenshot and here’s the memory assignment from Hyper-V:


I’m signing out of the server to make sure no UI is running or services other than the web server that we have just installed.


*Launches 3 Visual Studio 2015 and creates 3 web performance test projects*

I have created 3 simple load test from Visual Studio to simulate browsing to the websites. If you are familiar with Visual Studio impremise load test, you will notice that the scenario is a single webtest that will be invoked multiple times by a load test. The multiplied scenario is a just basic web request.


Lets run the load test:


We are running the load test for 5 minutes:


And after a few more minutes:


I want you to draw your own conclusions based on the data that I have shown in this blog. I also wanted to publish the Load Test Results, but thats for another time. Until then, see ya!


PHIWUG Presents–Boots on the ground!


Yesterday marks a milestone for user groups here in Manila. Its our 10th year anniversary and what better way to celebrate but to do another community-led event!

To get things started (really really hyped start) its no better than Mr. Joel Garcia himeself, DX Director of Microsoft Philippines doing the welcome remarks.




How hyped? I forgot to take pictures as we are all very very much engaged especially when he got the actual Microsoft Hololens out of the bag.



Next is my demo, Windows Server 2016 Technical Preview 5 on Microsoft Azure.




Next is Jay-R Barrios (Microsoft MVP for Cloud and Datacenter Management from Singapore) and one of the geeks that started this user group and the one that recruited me to the community.


His talk no less than create an entire infrastructure on an Intel NUC and Surface Book. Did it using Microsoft Deployment Toolkit and System Center Configuration Manager.


Then its Jay Paloma’s turn on Career in Desktop. Doing talk about desktop deployments and more deployment essentials. Also did I say already that he is an MVP since 2007?



Its also handy if you got a CEH guy hanging around the venue. One of our core member Ren Narvaez, MVP for Enterprise Security delivered a hacking topic that I really really cannot show on my blog. Again guys, those are for educational purposes only. Dont try those at home!



Many thanks also to Microsoft Philippines for allowing us to use their 8th floor conference / events place as well as the food and SWAGS for the attendees. Thanks for your usual support (for 10 years now) to our User Groups!



So thanks for attending our event guys!


See you on our next community event!