/build/static/layout/Breadcrumb_cap_w.png

Searching the Registry

Hi all, I'm looking for an option to search the registry for a Value name and it's data (the videoID to be exact). I needs this data to fill a property.
I tried the Wise option for system search but that only point to a predefined location, but the location I'm searching varies per machine. Example;

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_8086&DEV_2582&SUBSYS_02D81014&REV_04\3&61aaa01&0&10\Device Parameters\

I browsed the forum and looked for a VBS otions but can't seem to find one...

How can I search the registry and fill a property?

Thanx in advance

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 17 years ago
Red Belt
0
Google for 'JSWare'. There's a registry class there which has an enum method for registry keys. The class is a wrapper for the WMI registry object so you could use that object directly but I've found the class to be very handy, as it has reasonable error-trapping and so on.
Posted by: Rainman_CT 17 years ago
Senior Yellow Belt
0
I've needed to do this in one of my scripts and used REG QUERY. -rfc
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ