Skip to content Skip to sidebar Skip to footer

Loop Through Registry Python

I am trying to write a small application that checks each value in the Windows Registry for valid file paths, provided it is a REG_SZ. I need to be able to loop through all of the

Solution 1:

_winreg.OpenKey to open a given registry key. _winreg.EnumKey to enumerate the sub-keys of a given registry key.

And you have the _winreg.HKEY_CLASSES_ROOT and friends key constants.

What else do you need?

Post a Comment for "Loop Through Registry Python"