Re: Enable inventory of bitlocker drive status
- From: "Kim Oppalfens [MVP]" <""Kim dot Oppalfens\"@google mail.com">
- Date: Thu, 18 Oct 2007 21:26:56 +0200
Christoffer Bennerstedt wrote:
Hi Kim,The warning means that if you rebuild your wmi, by deleting the wmi repository that you would lose the additions that were added through this file.
Sorry, i forgot all about adding my question :)
I wondered if i could run mofcomp on Vista, which you already answered. Well, when i try to mofcomp on my vista client, i get the following:
Parsing MOF file: sms_def.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while creating object 81 defined on lines 4085 - 4097:
0X80041002 Class, instance, or property 'SMS_Class_Template' was not found.
Compiler returned error 0x80041002
The lines 4085-4097 is the added code that i sent previously.
If i remove SMS_Class_Template, i get the following result:
Parsing MOF file: sms_def.mof
MOF file has been successfully parsed
Storing data in the repository...
WARNING: File sms_def.mof does not contain #PRAGMA AUTORECOVER.
If the WMI repository is rebuilt in the future, the contents of this MOF file wi
ll not be included in the new WMI repository.
To include this MOF file when the WMI Repository is automatically reconstructed,
place the #PRAGMA AUTORECOVER statement on the first line of the MOF file.
Done!
What does this mean? And, if i successfully compile the MOF-file, should it then be copied to the SMS server??
Thanks again!
"Kim Oppalfens [MVP]" <""Kim dot Oppalfen" wrote:
Hi Christoper,
Looks good to me at first glance.
I don't really know what you expect from me at this point, I failed to see a question in your post. :-)
Indeed the namespace is non-existent on windows 2003, so you would only mofcomp this on vista clients. There is absolutely no need to mofcomp this on your sms server.
--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
Christoffer Bennerstedt wrote:Hi Kim,
Thanks, i have tried adding the following to my sms_def.mof, but when compiling with mofcomp on my SMS-server i get Error Number 0x8004100e, description: Invalid Namespace
Which i understand, because on the SMS server, that namespace is non-existant since it's an Win2k3 server..
Added:
#pragma namespace ("\\\\.\\root\\cimv2\\security\\MicrosoftVolumeEncryption")
[ SMS_Report (TRUE),
SMS_Group_Name ("Bitlocker Info"),
SMS_Class_ID ("BITLOCKER") ]
class Win32_EncryptableVolume : SMS_Class_Template
{
[SMS_Report (TRUE) ] string Driveletter;
[SMS_Report (TRUE) ] uint32 GetProtectionStatus;
[SMS_Report (TRUE) ] uint32 GetEncryptionMethod;
[SMS_Report (TRUE), key] uint32 GetConversionStatus;
[SMS_Report (TRUE), key] uint32 GetKeyProtectors;
};
"Kim Oppalfens [MVP]" <""Kim dot Oppalfen" wrote:
Christoffer Bennerstedt wrote:Hi,To take a look at bitlocker you need to use this namespace:
How do i enable taking inventory from Vista-clients to see if their systemdrive is protected with bitlocker?
I guess i have to add the namespace to the sms_def.mof file on our SMS server and compile it?
Is this the namespace i should add: \\.\root\CIMv2\Security\MicrosoftVolumeEncryption
btw, we're running SMS SP3
Thanks
\\.\root\cimv2\security\MicrosoftVolumeEncryption
and the class is Win32_EncryptableVolume.
--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
You can circumvent this by running mofcomp -AUTORECOVER sms_def.mof
--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
.
- References:
- Re: Enable inventory of bitlocker drive status
- From: Kim Oppalfens [MVP]
- Re: Enable inventory of bitlocker drive status
- From: Christoffer Bennerstedt
- Re: Enable inventory of bitlocker drive status
- From: Kim Oppalfens [MVP]
- Re: Enable inventory of bitlocker drive status
- From: Christoffer Bennerstedt
- Re: Enable inventory of bitlocker drive status
- Prev by Date: Re: Software Inventory mp3s
- Next by Date: Re: Enable inventory of bitlocker drive status
- Previous by thread: Re: Enable inventory of bitlocker drive status
- Next by thread: Re: Enable inventory of bitlocker drive status
- Index(es):
Relevant Pages
|
Loading