Python Forum
Read complete windows registry?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read complete windows registry?
#1
I am wanting to make a python app that reads the complete registry. I have looked online and cannot find any python extension, script or help that will do this. Is it possible to read the complete windows registry?
Reply
#2
https://www.google.com/search?q=python+read+registry
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
I saw this but was hoping that there was a simple way to read the complete registry and save it to a file like when you use regedit to export the whole registry.

I guess I will have to loop through the different keys and then concatenate the files from there.

Unless......................
Reply
#4
You can always use regedit via subprocess

import subprocess

subprocess.run(['regedit', '/e', r'c:\AllRegistryEntries.reg'])
Code not tested.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to add Python folder in Windows Registry ? Touktouk 1 243 Feb-20-2024, 01:04 PM
Last Post: DeaD_EyE
  Python Serial: How to read the complete line to insert to MySQL? sylar 1 817 Mar-21-2023, 10:06 PM
Last Post: deanhystad
  How to add new registry key shlomi27 3 10,290 Feb-04-2021, 05:45 PM
Last Post: reidnax
  csv.reader(): Limit the number of columns read in Windows Pedroski55 9 5,186 Jan-23-2021, 01:03 AM
Last Post: pjfarley3
  read location of windows libraries ChrisRegenplatz 4 2,232 Mar-16-2020, 12:05 PM
Last Post: buran
  Automatic registering python to registry kozaizsvemira 1 2,181 Oct-22-2019, 11:23 AM
Last Post: kozaizsvemira
  How to ignore - ERROR: The system was unable to find the specified registry key or va asheru93 9 6,639 Feb-04-2019, 06:35 AM
Last Post: asheru93
  Registry Key Access malonn 11 9,354 Jul-26-2018, 09:45 AM
Last Post: gontajones
  Looking for advice about "registry" implementation voltron 0 2,296 Feb-06-2018, 07:26 AM
Last Post: voltron
  Python 3.x Windows 7 registry file associations broken pixhellmann 2 5,060 Sep-12-2017, 09:14 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020