Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom WMI Class and SMS_DEF.MOF Modification

Status
Not open for further replies.
Sep 29, 2002
524
US
I think people are shying away from this question so I am rephrasing ...

I need to collect the following registries keys in the Hardware Inventory. How do I modify the SMS_DEF.MOF to collect the information?

1. All the subkeys and registry keys HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions

It should have the following information:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{FB5F1910-F110-11d2-BB9E-00C04F795683}]
"ButtonText"="Messenger"
"CLSID"="{1FBA04EE-3024-11D2-8F1F-0000F87ABD16}"
"Default Visible"="Yes"
"Exec"="C:\\Program Files\\Messenger\\msmsgs.exe"
"HotIcon"="C:\\Program Files\\Messenger\\msmsgs.exe,302"
"Icon"="C:\\Program Files\\Messenger\\msmsgs.exe,301"
"MenuText"="Windows Messenger"

2. All the registry keys for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Toolbar

It should look like:
Code:
"{2318C2B1-4965-11d4-9B18-009027A5CD4F}"=hex:00

3. And the CODEBASE and INF for all registry keys Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units

so it should look like:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{166B1BCA-3F9C-11CF-8075-444553540000}\DownloadInformation]
"CODEBASE"="[URL unfurl="true"]http://fpdownload.macromedia.com/pub/shockwave/cabs/director/sw.cab"[/URL]
"INF"="C:\\WINDOWS\\Downloaded Program Files\\swdir.inf"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{17492023-C23A-453E-A040-C7C580BBF700}\DownloadInformation]
"CODEBASE"="[URL unfurl="true"]http://go.microsoft.com/fwlink/?linkid=39204"[/URL]
"INF"="C:\\WINDOWS\\Downloaded Program Files\\LegitCheckControl.inf"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{8FFBE65D-2C9C-4669-84BD-5829DC0B603C}\DownloadInformation]
"CODEBASE"="[URL unfurl="true"]http://fpdownload.macromedia.com/get/flashplayer/current/ultrashim.cab"[/URL]
"INF"="C:\\WINDOWS\\Downloaded Program Files\\erma.inf"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}\DownloadInformation]
"CODEBASE"="[URL unfurl="true"]https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"[/URL]
"INF"="C:\\WINDOWS\\Downloaded Program Files\\swflash.inf"

Thanks,

Gladys Rodriguez
GlobalStrata Solutions
Computer Repair, Website Design and Computer Consultant
Small Business Resources
Anime, Manga and Video Games
 
I have writen a short guide about creating custom modifications to the SMS Def mof, and registering bespoke WMI Classes.

Contact me on
support at circlegroupit dot com

and I'll "hook you up".


Neil J Cotton
Technical Consultant
Anix
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top