Home

Server 2016 Activation

%3CLINGO-SUB%20id%3D%22lingo-sub-42837%22%20slang%3D%22en-US%22%3EServer%202016%20Activation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-42837%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%26nbsp%3Bhaving%20some%20trouble%20activating%20a%20newly%20installed%20Server%202016%20VM.%20It%20is%20showing%20error%200xC004F074.%20We%20are%20simply%20attempting%20to%20use%20a%20MAK%20key.%20When%20trying%20to%20use%20slmgr%20%2Fipk%20or%20any%20other%20slmgry%20cmd%20we%20receive%20Error%3A%200xC004D032%20as%20attached.%20Not%20sure%20if%20I%20have%20just%20used%20the%20wrong%20ISO%20or%20something%20during%20the%20initial%20install.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EDeniz%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-192788%22%20slang%3D%22en-US%22%3ERe%3A%20Server%202016%20Activation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-192788%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%3CU%3ESymptom%3A%3CBR%20%2F%3E%3C%2FU%3E%3C%2FSTRONG%3EEncountering%20the%20following%20error%20during%20activation%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EError(s)%3A%26nbsp%3B%20Activating%20Windows(R)%2C%20ServerDatacenter%20edition%3C%2FP%3E%3CP%3EError%3A%200xC004F074%20The%20Software%20Licensing%20Service%20reported%20that%20the%20computer%20could%20not%20be%20activated.%20No%20Key%20Management%20Service%20(KMS)%20could%20be%20contacted.%20Please%20see%20the%20Application%20Event%20Log%20for%20additional%20information.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CU%3ECause%3A%3CBR%20%2F%3E%3C%2FU%3E%3C%2FSTRONG%3EKMS%20Server%20authentication%20error%20due%20to%20caching.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CU%3EResolution%3A%3CBR%20%2F%3E%3C%2FU%3E%3C%2FSTRONG%3ECleared%20the%20cache%20using%20the%20following%20commands%20and%20resolved%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%40echo%20off%3C%2FP%3E%3CP%3Eslmgr.vbs%20%2Fckms%3C%2FP%3E%3CP%3Eslmgr.vbs%20%2Fato%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E--------------------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E%3CSTRONG%3ESteps%20are%20below%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EOpen%20PowerShell%20with%20Admin%20Privileges%3C%2FP%3E%3CPRE%3E%25%20%7B%20iex%20%22%24env%3Awindir%5Csystem32%5Ccscript.exe%20%24env%3Awindir%5Csystem32%5Cslmgr.vbs%20%2Fato%22%20%3B%20start-sleep%205%20%7D%3C%2FPRE%3E%3CP%3EKMS%20Client%20Setup%20key%20will%20be%20changed%20as%20per%20OS%20Version%3C%2FP%3E%3CPRE%3Eiex%20%22%24env%3Awindir%5Csystem32%5Ccscript.exe%20%24env%3Awindir%5Csystem32%5Cslmgr.vbs%20%2Fipk%20CB7KF-BWN84-R7R2Y-793K2-8XDDG%22%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3Eiex%20%22%24env%3Awindir%5Csystem32%5Ccscript.exe%20%24env%3Awindir%5Csystem32%5Cslmgr.vbs%20%2Fato%22%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20still%20facing%20activation%20issue%20try%20below%20command%20for%20clear%20activation.%3C%2FP%3E%3CP%3EOpen%20CMD%20with%20Admin%20Privileges%3C%2FP%3E%3CPRE%3E%40echo%20off%3CBR%20%2F%3Eslmgr.vbs%20%2Fckms%3CBR%20%2F%3Eslmgr.vbs%20%2Fato%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20Successfully%20cleared%20KMS%20Key%20retry%20below%20command%20with%20PowerShell%3C%2FP%3E%3CPRE%3Eiex%20%22%24env%3Awindir%5Csystem32%5Ccscript.exe%20%24env%3Awindir%5Csystem32%5Cslmgr.vbs%20%2Fato%22%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-61103%22%20slang%3D%22en-US%22%3ERe%3A%20Server%202016%20Activation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61103%22%20slang%3D%22en-US%22%3E%3CP%3EPlease%20check%20whether%20you%20use%20MAK%20key%20for%20OLP%20licenses%20and%20KMS%20license%20key%20might%20not%20work%20as%20they%20need%20local%20key%20management%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMake%20sure%20you%20have%20internet%20connection%20before%20activating%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ESAmy%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-57743%22%20slang%3D%22en-US%22%3ERe%3A%20Server%202016%20Activation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-57743%22%20slang%3D%22en-US%22%3Ehello%2C%3CBR%20%2F%3Esome%20ideas%20to%20try%3A%3CBR%20%2F%3E-%20are%20you%20sure%20that%20you%20tried%20to%20run%20your%20slmgr%20command%20in%20an%20ELEVATED%20CMD.EXE%20windows%20(run%20as%20administrator%20)%20%3F%3CBR%20%2F%3E-%20be%20carefull%20to%20use%20CMD.EXE%20et%20not%20the%20POWERSHELL%20windows%3CBR%20%2F%3E-%20always%20use%20for%20slmgr%20purpose%2C%20the%20full%20command%20line%20syntax%20with%20all%20pathes%20and%20runtime%3A%3CBR%20%2F%3Ecscript.exe%20%25Windir%25%5Csystem32%5Cslmgr.vbs%20%2Fipk%20xxxxxxxx%3CBR%20%2F%3E-%20have%20the%20same%20error%20if%20you%20try%20to%20activate%20via%20GUI%20%3F%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hi,

 

I am having some trouble activating a newly installed Server 2016 VM. It is showing error 0xC004F074. We are simply attempting to use a MAK key. When trying to use slmgr /ipk or any other slmgry cmd we receive Error: 0xC004D032 as attached. Not sure if I have just used the wrong ISO or something during the initial install.

 

Thanks,
Deniz

3 Replies
hello,
some ideas to try:
- are you sure that you tried to run your slmgr command in an ELEVATED CMD.EXE windows (run as administrator ) ?
- be carefull to use CMD.EXE et not the POWERSHELL windows
- always use for slmgr purpose, the full command line syntax with all pathes and runtime:
cscript.exe %Windir%\system32\slmgr.vbs /ipk xxxxxxxx
- have the same error if you try to activate via GUI ?

Please check whether you use MAK key for OLP licenses and KMS license key might not work as they need local key management server.

 

Make sure you have internet connection before activating it.

 

Regards,

SAmy

Symptom:
Encountering the following error during activation:


Error(s):  Activating Windows(R), ServerDatacenter edition

Error: 0xC004F074 The Software Licensing Service reported that the computer could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information.

Cause:
KMS Server authentication error due to caching.

 

Resolution:
Cleared the cache using the following commands and resolved the issue.

 

@echo off

slmgr.vbs /ckms

slmgr.vbs /ato

 

--------------------------------------------------------------------------------------------

Steps are below:

Open PowerShell with Admin Privileges

% { iex "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /ato" ; start-sleep 5 }

KMS Client Setup key will be changed as per OS Version

iex "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /ipk CB7KF-BWN84-R7R2Y-793K2-8XDDG"

 

iex "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /ato"

 

If you still facing activation issue try below command for clear activation.

Open CMD with Admin Privileges

@echo off
slmgr.vbs /ckms
slmgr.vbs /ato

 

Once Successfully cleared KMS Key retry below command with PowerShell

iex "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /ato"
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies