Configuration Manager Sms_def.mof file gives an invalid data error message when you import the file
This article helps you fix a problem in which the Sms_def.mof file doesn't open when you try to import the file to customize your hardware inventory in Microsoft System Center 2012 Configuration Manager.
Original product version: Microsoft System Center 2012 Configuration Manager
Original KB number: 2690570
Symptoms
When you try to import the Sms_def.mof file to customize your hardware inventory in System Center 2012 Configuration Manager, the file does not open. Additionally, you receive an error message that states that the file contains invalid data.
Resolution
To resolve this problem, check the integrity of your MOF file. To do this, open a Command Prompt window, enter the following command in the directory in which you last saved your MOF file:
mofcomp.exe -check <YourMOFName>.mof
More information
For more information about how to test your MOF file, see How to Extend the Sms_def.mof File by Using the Windows Management Instrumentation Registry Providers.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for