#πŸ”’ winreg opens a portal to a different dimension instead of my actual registry

7 messages Β· Page 1 of 1 (latest)

finite grove
#

I've been fighting this for days, but I have code that tests and sets values in the registry and all seems to work fine in code. The changes are made, detected, and testable between sessions (including system restart).

The only problem: none of the changes are actually being made to my registry. I don't know WHAT they're changing, but it's not Windows Registry.

Python is 64bit. I specifically set it to 64 bit in the code. My system is 64 bit. I checked if it was changing the virtualstore settings (it isn't).

I wrote a test file that can be executed that shows each problem, seeing something that isn't there, changing something that isn't there, and so on but it doesn't fit so please see this StackOverflow for the whole thing: https://stackoverflow.com/questions/78654772/python-winreg-says-it-opened-a-key-that-doesnt-exist-in-my-registry

bitter boneBOT
#

@finite grove

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

finite grove
#

I'm also running this all in VScode terminal as Admin

#

I just noticed I'm using OpenKey instead of OpenKeyEx, but I don't see how that would make a difference. I tested the code with OpenKeyEx and it didn't make a difference as expected

tacit otter
#

You failed to ask a question.

bitter boneBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.