Searching for registry value and getting value

  • Thread starter Thread starter wingers
  • Start date Start date
W

wingers

Guest
Hi

I need to be able to search a certain key in the registry:-

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

And look for any profiles in this list which contain a specific word in the Description field

And then get the full registry path for the profile which match


Entries in this location look similar to below e.g. they have a GUID value, and there can be several of them

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\{85944595-D1D1-48CF-9D22-0D96086C8BFE}

So using example above if the above key had a Description value which matched what I was looking for then I would need it to return the full key including the GUID


Any thoughts please


Thanks


Darren Rose

Continue reading...
 
Back
Top