Skip to content

SCOM: don’t forget to set the license key!

During some client testing operations I installed some months ago a version of System Center Operation Manager 2012 on a Virtual Machine.
Today I try to open this version of SCOM to perform some new tests and I had the surprise to receive a beautiful error message:

b2ap3_thumbnail_Scom_SetLicense1.jpg

In fact, I never thought to verify that my version was licensed or not and as SCOM gives by default an evaluation period of 180 days I don’t face the problem before…
I decided to download the new version of SCOM 2012 R2, as I prefer to have the last version, and install it.
By default the installation center tells me that it will upgrade my old version which is a good point.
After the upgrade, SCOM 2012 R2 raises a warning which specifies to not forget to use the PowerShell cmdlet Set-SCOMLicense to license the current version… This was that I forget last time!!

b2ap3_thumbnail_Scom_SetLicense2.jpg

To check the version of my fresh installation, I opened the Operations Manager Shell and then I ran the following command:

b2ap3_thumbnail_Scom_SetLicense3.jpg

Get-SCOMManagementGroup | select SkuForProduct, skuforlicense, version, timeofexpiration

b2ap3_thumbnail_Scom_SetLicense4.jpg

At this point, I see that I have an Evaluation version of SCOM which will expire the third of August, so in six months.
To avoid the same disillusion than today, I decided to set my license key immediately with the following command:

Set-SCOMLicense -ProductId ‘?????-?????-?????-?????-?????’

b2ap3_thumbnail_Scom_SetLicense5.jpg

A confirmation is asked before validating the license key.
I can now execute a second time my first query to check if the license key is registered:

b2ap3_thumbnail_Scom_SetLicense6.jpg

Now, the license’s term is Retail and the expiration date is longer than I will never live 😉
I can also check directly in the Help/About menu of SCOM to see the same.

b2ap3_thumbnail_Scom_SetLicense7.jpg

See you!

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Stéphane Savorgnano

Stéphane Savorgnano

Stéphane Savorgnano has more than 20 years of experience in Microsoft software development and SQL Server database solutions, specializing in SQL Server installation, performance analysis, and best practices. He holds Microsoft Certified Solutions Associate (MCSA) and Expert (MCSE) for SQL Server 2012 through 2017, MCTS, MCITP for SQL Server 2008, and ITIL V3 Foundation certifications. Prior to dbi services, he was a software engineer at Ciba Specialty Chemicals in Basel. He holds a Master's degree in Informatics from the University of Mulhouse. His industry experience covers banking and financial services, chemicals, and pharmaceuticals.View Author posts

75 posts since November 2012

Most read in Monitoring

The Monitoring posts our readers open most: the all-time favourites, and what is trending right now.

Leave a Comment

Your email address will not be published. Required fields are marked *