SCCM 2012 - Hardware Inventory Registry Import not working - Windows in the name of the Registry key

I downloaded the Reg to MOF tool and compiled some of our custom Registry Keys which worked fine. There was particular Key that didn't work and after some testing and messing around I realized why it isn't working:

The key I am using is: HKLM\Software\MyCompanyWindows

Because the key has the name Windows in it, it fails to import. I get the generic check the formatting for your MOF file error.

The MOF file you tried to import could not be compiled. Ensure that the MOF file contains valid data. You can use the command line mofcomp utility to test the data.

But if I run a MOFCOMP against the MOF I am trying to import it checks the syntax successfully.

If I change the key to MyCompanyWin or MyCompanyW it imports with no problem.

We have rolled out this key to almost every device in our organization and connected it to other inventory agents so there is no possibility of changing the key.

Is there any way to disable the validation check that SCCM is performing?

January 22nd, 2014 6:22am

Any chance that it's just the length of the key? I don't think that the word 'windows' will cause that failure.

Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2014 7:00am

I just checked and it does seem to be the length of the key which is only 13 characters. That still seems to be a fairly painful limitation. Any way we could get around that?
January 22nd, 2014 7:25am

I just checked and it does seem to be the length of the key which is only 13 characters. That still seems to be a fairly painful limitation. Any way we could get around that?
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2014 7:27am

It is not the word "Windows"

January 22nd, 2014 11:04am

I just checked and it does seem to be the length of the key which is only 13 characters. That still seems to be a fairly painful limitation. Any way we could get around that?
  • Edited by Robin Curtis Wednesday, January 22, 2014 12:24 PM
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2014 12:24pm

I just checked and it does seem to be the length of the key which is only 13 characters. That still seems to be a fairly painful limitation. Any way we could get around that?
  • Edited by Robin Curtis Wednesday, January 22, 2014 12:24 PM
January 22nd, 2014 12:24pm

I just checked and it does seem to be the length of the key which is only 13 characters. That still seems to be a fairly painful limitation. Any way we could get around that?
  • Edited by Robin Curtis Wednesday, January 22, 2014 12:24 PM
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2014 3:24pm

I just checked and it does seem to be the length of the key which is only 13 characters. That still seems to be a fairly painful limitation. Any way we could get around that?
  • Edited by Robin Curtis Wednesday, January 22, 2014 12:24 PM
January 22nd, 2014 3:24pm

Hi,

If possible, could you please upload the MOF file to SkyDrive?

Best Regards,

Joyce Li

Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2014 11:11pm

how would I upload to skydrive?

January 30th, 2014 10:52am

Yes, I know this is an old post, but Im trying to clean them up. Did you solve this problem, if so what was the solution?

Free Windows Admin Tool Kit Click here and download it now
March 7th, 2015 12:34pm

Since no one has answer this post, I recommend opening  a support case with Microsoft Customer Support Services (CSS) as they can work with you to solve this problem.

August 23rd, 2015 5:08pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics