![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | VBScript to traverse all Registry keys Hi All, After trying a lot. I came here. I need to Traverse all (ALL) windows registry key i need to get the registry key value that user needs. By my exploration I found by using strKeyPath = "SYSTEM\CurrentControlSet\Services" oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys we can get the subkeys. but here I need to pass the path(strKeyPath). whatever function to be used its working with a specific path. I need to traverse all(HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONFIG). And one more thing is it possible?. If yes kindly help me... Thanks, Jam |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VBScript to traverse all Registry keys "jam" <ruby.watir@xxxxxx> wrote in message news:e904a5b6-7d32-4b22-ace8-b14c09ff1090@xxxxxx Quote: > Hi All, > > After trying a lot. I came here. I need to Traverse all (ALL) windows > registry key i need to get the registry key value that user needs. > > By my exploration I found by using > > strKeyPath = "SYSTEM\CurrentControlSet\Services" > oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys > > we can get the subkeys. but here I need to pass the path(strKeyPath). > whatever function to be used its working with a specific path. > > I need to traverse all(HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, > HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONFIG). > > And one more thing is it possible?. If yes kindly help me... > > Thanks, > Jam |
My System Specs![]() |
| | #3 (permalink) |
| | Re: VBScript to traverse all Registry keys On Apr 15, 4:43*pm, "Pegasus [MVP]" <n...@xxxxxx> wrote: Quote: > "jam" <ruby.wa...@xxxxxx> wrote in message > > news:e904a5b6-7d32-4b22-ace8-b14c09ff1090@xxxxxx > > > Quote: > > Hi All, Quote: > > After trying a lot. I came here. I need toTraverseall (ALL) windows > >registrykey i need to get theregistrykey value that user needs. Quote: > > By my exploration I found by using Quote: > > strKeyPath = "SYSTEM\CurrentControlSet\Services" > > oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys Quote: > > we can get the subkeys. but here I need to pass the path(strKeyPath). > > whatever function to be used its working with a specific path. Quote: > > I need totraverseall(HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, > > HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONFIG). Quote: > > And one more thing is it possible?. If yes kindly help me... Quote: > > Thanks, > > Jam > What are you actually trying to achieve in functional terms? I need to traverse all(ALL) registry keys. Thanks, Jam |
My System Specs![]() |
| | #4 (permalink) |
| | Re: VBScript to traverse all Registry keys "jam" <ruby.watir@xxxxxx> wrote in message news:b5ce2f1f-e827-453f-a215-08dfc8391169@xxxxxx On Apr 15, 4:43 pm, "Pegasus [MVP]" <n...@xxxxxx> wrote: Quote: > "jam" <ruby.wa...@xxxxxx> wrote in message > > news:e904a5b6-7d32-4b22-ace8-b14c09ff1090@xxxxxx > > > Quote: > > Hi All, Quote: > > After trying a lot. I came here. I need toTraverseall (ALL) windows > >registrykey i need to get theregistrykey value that user needs. Quote: > > By my exploration I found by using Quote: > > strKeyPath = "SYSTEM\CurrentControlSet\Services" > > oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys Quote: > > we can get the subkeys. but here I need to pass the path(strKeyPath). > > whatever function to be used its working with a specific path. Quote: > > I need totraverseall(HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, > > HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONFIG). Quote: > > And one more thing is it possible?. If yes kindly help me... Quote: > > Thanks, > > Jam > What are you actually trying to achieve in functional terms? I need to traverse all(ALL) registry keys. Thanks, Jam ===================== Sorry, I have a dense day today. Would you elaborate what you mean with "traverse" and what outcome or output you expect? |
My System Specs![]() |
| | #5 (permalink) |
| | Re: VBScript to traverse all Registry keys jam wrote: Quote: > After trying a lot. I came here. I need to Traverse all (ALL) windows > registry key i need to get the registry key value that user needs. > I do registry searches all the time, and use a (heavily modified) version of a script developed Bill James, called "Registry Search Tool" and found here: http://www.billsway.com/vbspage/ (near the bottom of the page). The script will dump out the registry to a text file, and then you can search the text for whatever you want. In addition, the text file is really a "reg" file, and you can extract-and- modify pieces of it, and then use regedit to enter your revisions back into the registry. The benefits of Bill James' script are that it will search much faster than regedit, and the text is easier to work with than the "raw" registry. cheers, jw ____________________________________________________________ You got questions? WE GOT ANSWERS!!! ..(but, no guarantee the answers will be applicable to the questions) |
My System Specs![]() |
| | #6 (permalink) |
| | Re: VBScript to traverse all Registry keys mr_unreliable wrote: Quote: > jam wrote: Quote: > > After trying a lot. I came here. I need to Traverse all (ALL) windows > > registry key i need to get the registry key value that user needs. > > > hi Jam, > > I do registry searches all the time, and use a (heavily modified) > version of a script developed Bill James, called "Registry Search Tool" > and found here: > > http://www.billsway.com/vbspage/ > > (near the bottom of the page). > > The script will dump out the registry to a text file, and then > you can search the text for whatever you want. In addition, > the text file is really a "reg" file, and you can extract-and- > modify pieces of it, and then use regedit to enter your revisions > back into the registry. > > The benefits of Bill James' script are that it will search much > faster than regedit, and the text is easier to work with than > the "raw" registry. -- Todd Vargo (Post questions to group only. Remove "z" to email personal messages) |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| registry keys | VB Script | |||
| VBScript to traverse all Registry keys | VB Script | |||
| Re: How can I delete registry keys | Vista installation & setup | |||
| What are these Registry Keys? | Vista General | |||
| Mcafee Registry Keys or other | VB Script | |||