+ Post New Thread
Results 1 to 4 of 4
Office Software Thread, [Solution] KMS Activation and Imaging plus error 0xC004F038 in Technical; Skipping to the point, Office 2010 is not rearmed for activation when running a sysprep and so if you just ...
  1. #1

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,205
    Thank Post
    876
    Thanked 2,729 Times in 2,308 Posts
    Blog Entries
    11
    Rep Power
    782

    Lightbulb [Solution] KMS Activation and Imaging plus error 0xC004F038

    Skipping to the point, Office 2010 is not rearmed for activation when running a sysprep and so if you just image your stations and Office has been run on the image before it keeps the same ID. As KMS activation requests are requested and counted by the IDs it means that your KMS server will never hit the 5 limit to allow activation.

    There is a nice easy fix which I grabbed from here that you can run as a startup script which will rearm the installs on your stations to get KMS going right.

    0xC004F038 The software Licensing Service reported that the computer could not be activated. The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator. - Office Deployment Support Team Blog - Si

    Office2010Rearm.bat
    Code:
    @echo off
    :OSPP
    reg query HKLM\Software\Microsoft\Office\14.0\Common\OSPPREARM
    if %errorlevel%==1 (goto RUN) else (goto END)
    :RUN
    set ProgramFilesPath=%ProgramFiles%
    "%ProgramFilesPath%\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE"
    C:\Windows\system32\cscript.exe "%ProgramFilesPath%\Microsoft Office\Office14\ospp.vbs" /act
    set ProgramFilesPath=%ProgramFiles(x86)%
    "%ProgramFilesPath%\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE"
    C:\Windows\system32\cscript.exe "%ProgramFilesPath%\Microsoft Office\Office14\ospp.vbs" /act
    REG ADD "HKLM\Software\Microsoft\Office\14.0\Common\OSPPREARM"
    :END
    Exit
    This caught me by suprise and was getting quite irritating to track as I could not remember the activation threashold. Office 2010 is also nice and quiet about its need to activate till the 25 day timer runs out and it gets angry prompting the user to activate and giving the titlebar of any Office app a nice angry red background colour.
    clip_image004_thumb.jpg
    Volume Activation Tips and Tricks - Microsoft Office 2010 Engineering - Site Home - TechNet Blogs

    The uncopyable error (come on MS, its a undecypherable error code, of course it needs to be copied and searched for) at the bottom of the activate now window gives the 0xC004F038 error which translates to the server says no as you don't have enough.

    To figure out how many different activation requests you actually have you can run this on your KMS server with an admin elevated prompt:
    Code:
    cscript slmgr.vbs /dlv bfe7a195-4f8f-4f0b-a622-cf13c7d16864
    You can also look at the KMS event logs on the server just to see if there are multiple stations requesting activation with the same ID.


    At any rate this whole thing made me feel a tad silly for missing it especially as I had read about it before here KMS activation problems but I was a tad distracted trying to string together a network infrastructure possibly older than I am into something a little more reliable.

    Hope that this can help someone even if only to just remind everyone again so that it does not catch anyone else out.

  2. Thanks to SYNACK from:

    FN-GM (4th August 2011)

  3. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,104
    Thank Post
    891
    Thanked 1,752 Times in 1,511 Posts
    Blog Entries
    12
    Rep Power
    457
    Thanks thats just sorted that issue out for us. Would you say its ok to set this a startup script please?

  4. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,205
    Thank Post
    876
    Thanked 2,729 Times in 2,308 Posts
    Blog Entries
    11
    Rep Power
    782
    Been running here at one site since I posted this with no issues so I'd say go for it. The script only runs if it does not detect the reg key so its nice and quick.

  5. Thanks to SYNACK from:

    FN-GM (4th August 2011)

  6. #4
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,675
    Thank Post
    168
    Thanked 221 Times in 204 Posts
    Rep Power
    67
    Yup works fine as a startup script, for some reason the client ID didn't reset even though we ran the rearm process but all activating OK now

SHARE:
+ Post New Thread

Similar Threads

  1. KMS activation problems
    By glennda in forum Windows Server 2008 R2
    Replies: 4
    Last Post: 10th December 2010, 09:51 AM
  2. KMS Activation Woes
    By Gatt in forum Windows 7
    Replies: 4
    Last Post: 31st August 2010, 03:46 PM
  3. KMS Server Activation
    By Duke in forum Licensing Questions
    Replies: 3
    Last Post: 11th May 2010, 08:24 AM
  4. KMS activation
    By zag in forum Windows 7
    Replies: 23
    Last Post: 24th February 2010, 04:59 PM
  5. How to change Win 7 Activation from MAK to KMS?
    By Number6 in forum Windows 7
    Replies: 4
    Last Post: 21st September 2009, 06:26 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •