Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
0xC004F038 means the Office KMS activation count on the KMS host is below the required threshold. Office 2016 KMS clients will not activate until the Office KMS pool reaches 5 or more unique client computers.
What to do:
- On the KMS host, verify the current Office count:
Then openCscript slmgr.vbs -dlv all >c:\temp\KMSInfo.txtc:\temp\KMSInfo.txt, search for Office, and check Current Count. - If Current Count is less than 5, add more Office volume-licensed clients and have them contact the KMS host. Activation will not succeed before the count reaches 5.
- After the Office KMS pool contains 5 or more clients, activate Office again by using the Office activation wizard,
ospp.vbs, or VAMT. - If there are already more than five computers trying to activate and the error still occurs, check the KMS host Event Viewer log on the KMS server for activation entries.
- Confirm the client is pointing to the correct KMS host. If needed, the KMS host name and port can be set manually. The default KMS port is 1688.
- Check the Office client license state:
or for all Office products:cscript ospp.vbs /dstatuscscript ospp.vbs /dstatusall
Important:
-
ospp.vbsmust be run from an elevated command prompt. - For Office volume activation,
ospp.vbsis typically inProgram Files\Microsoft Office\root\Office16orProgram Files (x86)\Microsoft Office\root\Office16. Earlier versions may not include\root\in the path. - If Sysprep was used to create images, duplicate Office client IDs can prevent the KMS count from increasing correctly.
There is no supported way to force Office 2016 KMS activation with an Office KMS count below 5.
- "0xC004F038: The computer couldn't be activated" error in KMS activation
- Configure a KMS host computer to activate volume licensed versions of Office
- Activate volume licensed versions of Office by using KMS
- Activate volume licensed versions of Office by using KMS
- Troubleshoot volume activation of Office
- Tools to manage volume activation of Office