Fix your Windows license on an Azure VM

Posted 1 June 2017 12:00 AM by Vicent Galiana, Sitecore Solutions Architect @ ClearPeople

Some months ago, we had to move our servers from Germany to North Europe and recently Windows is asking us to provide a valid product key. Running the command slmgr.vbs /dlv we could see that the registered KMS machine name was "". Apparently, for North Europe (at least) the server name must be ""

To change the licensing server, we have to run the following line in a elevated porwshell console:
iex “$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /skms”

Now we only have to wait a few minute and request a new license with the command slmgr.vbs /ato

That's it, as simple as that. Now our servers have a valid license again.

P.S. We are not sure if the cause of the issue is the change of datacentre, but for sure, using the right license server fixed the issue.


Add your comment





intranet Modern SharePoint teamwork employee engagement digital workspace SharePoint JavaScript Windows Azure Digital Transformation staff satisfaction productivity Microsoft Teams Office 365 Yammer cms content management system agile GDPR Microsoft Graph collaboration Microsoft sharepoint 2016 upgrade migration SharePoint Online 2016 Tech Trends Digital Disruption Context marketing marketing SharePoint 2010 SharePoint 2013 TFS Git security kentico Analytics jquery QA Quality Assurance testing content management websites Sitecore sitecore marketplace sitecore module cloud Microsoft Cloud Storage digital strategy technical consulting sitecore modules Experience database Sitecore 7 Sitecore 8 support account management customer experience Data Storage cms integration front end front end development prototype Cloud Storage StorSimple Front-end Development Layout SharePoint 2013 colour palette UI design website design log viewer sitecore cms website Azure big data business-critical sharepoint accessibility android apple chrome clear people clearpeople debug emulator ios mobile testing opera resize adobe desktop flash ie10 internet explorer 10 metro windows 8 bcsp Advanced System Reporter reporting framework ControlMode form control master page placeholder publishing console SharePoint 2007 SharePoint error search search results search values software testing testing scenario audit content information architecture retention schedules PowerShell QuickLaunch scripts SharePoint server 2010 business solutions metalogix replication replicator storagepoint stena technet UK Technet picture library slideshow web part RTM released to manufacturing caml caml query MOSS 2007 query infopath