mof file attribute
I know the sms_def-.mof file is for hardware. What setting in that .mof file tells you what your process_architecture is? I did a search on ARCHITECTURE and the only thing I found that looked like it might be it was:
[ dynamic, provider("SMSInstProvider"),
SMS_Report (TRUE),
SMS_Group_Name ("Processor"),
SMS_Namespace (TRUE),
SMS_Class_ID ("MICROSOFT|PROCESSOR|1.0") ]
class SMS_Processor : SMS_Class_Template
{
[SMS_Report (TRUE) ]
uint16 AddressWidth;
[SMS_Report (FALSE) ]
uint16 Architecture;
Is that the setting?
.
Also, can you tell the OS type from the .MOF file? OS=x86 or OS=x64?mqh7
June 25th, 2012 5:57pm
Hi
When I'm not sure on which MOF set to look for I normally start by searching Resource Explorer, in this case I found the System type in the System node. Armed with this information I searched the sms_def.mof for "System Type" no results then tried SystemType
and found what I was looking for.
[ SMS_Report (TRUE),
SMS_Group_Name ("Computer System"),
SMS_Class_ID ("MICROSOFT|COMPUTER_SYSTEM|1.0") ]
class Win32_ComputerSystem : SMS_Class_Template
{
..... <scroll down>
[SMS_Report (TRUE) ]
string SystemType;
}
I hope this is the value you are looking for and the my tip will come in handy in the future.
Kind regards
Adrian
Free Windows Admin Tool Kit Click here and download it now
June 26th, 2012 12:59pm
The OS platform type (32 bit or 64 bit) is the Address Width parameter in the MOF file excerpt you provided above.John DeVito
June 26th, 2012 1:33pm
http://myitforum.com/cs2/blogs/skissinger/archive/2009/06/23/32bit-vs-64bit-report.aspx
otherwise systemType works as well.Standardize. Simplify. Automate.
Free Windows Admin Tool Kit Click here and download it now
June 26th, 2012 3:30pm
Hi,
From many technet threads, I found AddressWidth attribute of SMS_Processor WMI class is used for OS architecture 32 for 32bit OS and 64 for 64bit OS.
And use DataWidth attribute of SMS_Processor WMI class for process architecture.
Here are the references:
http://social.technet.microsoft.com/Forums/en-US/configmgrgeneral/thread/6779deb1-a84b-431e-9608-b04df09af5fe/
http://myitforum.com/cs2/blogs/skissinger/archive/2009/06/23/32bit-vs-64bit-report.aspx
http://msdn.microsoft.com/en-us/library/cc145394.aspx
Thanks
June 29th, 2012 3:52am
Sherry, in the sms_def.mof file under
class Win32_ComputerSystem : SMS_Class_Template
It is the SystemType? as shown here:
[SMS_Report (TRUE) ]
string SystemType;
That is the setting?mqh7
Free Windows Admin Tool Kit Click here and download it now
July 10th, 2012 4:54pm
Err, yes. Just like the blog says. and just like almost everyone else said, too. I'm not sure why you are having difficulties? It's a default setting that is set to TRUE (unless you've deliberately made changes).
Please read through the links Quan Xu posted for explicit details.Standardize. Simplify. Automate.
July 10th, 2012 11:02pm