I run and provide support for a program that gets updated regularly however I can not install the latest update. It fails with an error opening registry key. The developer reads a registry key to obtain the current installation path and then displays that for confirmation of the upgrade to the correct path. I am in direct contact with the developer and we have not been able to identify why I am encountering the problem. He has made this update publicly available and has many confirmations of update success. So far, I am the only one reporting this problem. I pulled an old laptop out of the closet and successfully ran the update on it so the problem is unique to my Win11 machine. I have confirmed that it exists. I have run the upgrade using “Run as administrator” and while logged in as an admin user. Does anyone know of anything that I could fix that is preventing the reading of a registry key?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Installer program can’t read my registry
Home » Forums » AskWoody support » Windows » Windows 11 » Windows 11 version 23H2 » Installer program can’t read my registry
- This topic has 22 replies, 4 voices, and was last updated 17 hours, 32 minutes ago.
Viewing 13 reply threadsAuthorReplies-
Paul T
AskWoody MVP -
EricB
AskWoody PlusMay 15, 2025 at 2:28 am #2773936@Peobody If you log the installer activity using process monitor (available from https://learn.microsoft.com/en-us/sysinternals/downloads/procmon ) you may be able to provide the developer with some information about why the attempted read of the registry key failed. The amount of information that it logs can be substantial but this can be controlled by limiting logging to registry activity and also filtering by path.
-
Rick Corbett
AskWoody MVPMay 15, 2025 at 10:44 am #2774051The amount of information that it logs can be substantial but this can be controlled by limiting logging to registry activity and also filtering by path
@EricB is right about this. Process Monitor (ProcMon) has a bit of a learning curve and one of the annoying things is that when you run it and accept its EULA (first-time use only), it starts capturing thousands of events a minute immediately.So, here’s a couple of tips to make using ProcMon easier:
1. Always run ProcMon from a modified shortcut:
Create a shortcut to the procmon.exe file then amend the shortcut’s properties as follows:
a) This will run the executable using the Run as administrator option. You will need this elevation for ProcMon to capture system-wide events (like registry activity from installers) instead of just user-level events.
b) The /NoConnect switch will stop the executable auto-capturing events when run.
2. Filter what capture activity is shown.
You are looking for a registry event (most likely a result of ACCESS DENIED) so filter out extraneous captures from view by deselecting the 3 activity icons to the right of Show Registry Activity:
This will change the view to show you only registry activity, nothing else. (It just hides the display of the other activities.)
3. Create a filter (using Filter in the main menu) to include the image path to the installer.
You didn’t mention the name of the installer so here’s an example image path filter for Paint Shop Pro 7:
You create the entry to the installer executable and make sure the new entry ends with Include (a); then you ADD (b) the entry to the filter list; then you Apply (c) the change then click on OK (e) to close the dialog.
So, do this:
Create the shortcut then run it to open ProcMon (and accept the EULA).
Deselect the Activities view so only Show Registry Activity is active.
Create the image path filter, similar to the example screenshot above.
Practice clicking on the Capture icon to start captures (or use CTRL+E) then clicking on the icon again to end captures (or use CTRL+E again).
Adjust the ProcMon windows size so you can see the installer executable next to it.
When you’re ready, do this:
Start ProcMon capturing then quickly swap to the installer and run it.
Swap back to the ProcMon window then stop the capture immediately you see the installer fails with error opening registry key.
In ProcMon‘s Results column you should be able to spot the error and its cause near to the end of the capture list.
Hope this helps…
-
EricB
AskWoody PlusMay 16, 2025 at 6:39 am #2774281In addition to Rick Corbett’s excellent advice you can further reduce the volume of registry information by filtering on the registry path itself. For example, lets say the registry key to be interrogated looks like this –
Since the registry path is known the procmon filter can look like this –
A successful retrieval of the InstallPath looks like this –Failure to open the registry key looks like this –
1 user thanked author for this post.
-
Rick Corbett
AskWoody MVPMay 16, 2025 at 6:32 pm #2774427Sorry, @EricB, but I can’t see how anyone could guess beforehand with any certainty which registry key(s) to filter on without first picking apart the installer update.
For example, what if the ‘update’ is to upgrade a previous 32-bit install to 64-bit, removing the 32-bit version (filesystem and registry) at the same time? Which registry InstallPath to look for… old or new?
For some reason @Peobody has given little to no information about which program and/or upgrade he/she is seeking help on.
Without further info, I think we’re all just guessing… hence why I provided just a generic answer about using ProcMon to look for further info, especially errors as that was what was mentioned.
Hope this helps…
-
EricB
AskWoody PlusMay 16, 2025 at 6:56 pm #2774432It fails with an error opening registry key. The developer reads a registry key to obtain the current installation path and then displays that for confirmation of the upgrade to the correct path. I am in direct contact with the developer and we have not been able to identify why I am encountering the problem
I agree that the description of the problem is rather vague. However, from what I have read it seems to me the interaction with the developer would have provided that information. Also, earlier post referred to checking of permissions on the registry key.
-
-
Peobody
AskWoody PlusMay 16, 2025 at 6:55 pm #2774431@EricB did good. Apparently he picked up on the fact that I was in contact with the developer so knew the registry keys. I just didn’t know how to help him identify what was causing the failure. I don’t know whether the results from Process Monitor will help him but I was able to produce them thanks to you both. I saved to a .csv and sent them on to him. Now I wait to hear whether they helped. Regardless, you guys introduced me to something new, and in such detail that I didn’t feel over my head whereas I certainly would have without it. Thanks again.
BTW, I didn’t include the details of the product because the product is irrelevant to the issue, plus it’s a bit obscure and I didn’t want that to sidetrack the discussion.
-
EricB
AskWoody PlusMay 17, 2025 at 4:38 am #2774516@Peobody Unless you are familiar with how Windows permissions work it is easy to misinterpret how the system enforces them.
It is very unusual for an application running with elevated privileges as Administrator to fail to read a registry key.
Following shows the typical permissions for the example HKLM\Software\ImaginaryCorp registry key from my earlier example. Right clicking on permissions and then clicking the Advanced button will result in this more detailed display –
If you can share the same display for your registry key with us (or the developer) there may be something relevant to the access failures that you have experienced.
-
Rick Corbett
AskWoody MVPMay 17, 2025 at 8:09 am #2774543@EricB did good. Apparently he picked up on the fact that I was in contact with the developer so knew the registry keys.
Yes, I didn’t pick up on that at all. My apologies to @EricB… I got it wrong.
PS – Another ProcMon tip: If you’re going to save results from ProcMon, always save them in the default .PML format (unless asked to send them in a different format) and ZIP the .PML file before sending.
The reason is… the recipient can load the .PML file into their own copy of ProcMon and use its tools to further filter/examine the results. That’s not possible with a .CSV file.
PML files can be quite large so I suggest you don’t save all events, only the events displayed by the current filter. I use these settings:
Hope this helps…
1 user thanked author for this post.
-
Peobody
AskWoody PlusMay 17, 2025 at 8:48 am #2774549@Peobody Unless you are familiar with how Windows permissions work it is easy to misinterpret how the system enforces them.
I am when it comes to NTFS file/folder permission. Until now, I was unaware that there was similar security for registry keys.
I discovered, and reported to the developer, that the previous version still installs fine. Dev then sent me a revised test installer that again abended due to being unable to read a registry key, actually three, because it has two fallback keys and the abend was after the third one failed. Baffling to the dev is why is it happening and why I am the only one to report it.
I don’t think there is anything more to be done on this topic now. I’ll be back if I need you.
-
EricB
AskWoody Plus
-
-
Peobody
AskWoody PlusMay 18, 2025 at 4:34 am #2774822Just curious, have you tried after turning off any antivirus/antimalware software?
I hadn’t, but I have now (MS Defender). No joy.
-
EricB
AskWoody Plus
-
-
Peobody
AskWoody PlusMay 18, 2025 at 9:11 am #2774881The Process Monitor results won’t help, but perhaps you might have a clue into why.
The installer is updating a program called IERenderer which is an add-on to the email client Pegasus Mail. The three registry keys being read by the installer are being done to determine the installation path of Pegasus Mail. Two of the tree keys being checked are HK<span style=”text-decoration: underline;”>CU</span>\Software\Pegasus Mail\BaseDir and HKCR\Software\Pegasus Mail\BaseDir (this is the last one being checked so is the one referenced in the error notice. Surprising to me is that I don’t find either of these keys when I search for “Pegasus Mail” in the .csv export of the registry filtered results. I have attached that .csv in the hopes it might provide a clue into what is going on, or what I did wrong when I used Process Monitor.
-
EricB
AskWoody Plus
-
-
Peobody
AskWoody PlusMay 18, 2025 at 10:37 am #2774905Was the account used to run the installer the same account under which Process Monitor was running as an Administrator?
Yes
How did you filter the results?
The only filter was image path set to the path of the installer IERendererSetup.exe.
“Show registry activity” was the only “Show” button active.
-
EricB
AskWoody Plus
-
-
Peobody
AskWoody PlusMay 18, 2025 at 2:21 pm #2774956@EricB, I think your intellectual curiosity has paid off. The Path filter you suggested resulted in the recording of registry events that the Image Path filter did not.
Below are two screenships of those entries. The first one was taken when I was logged in as the admin user. It shows three registry keys that weren’t found. None of them exist when I look at the registry as the admin user but the first one exists when I look at the registry as Me, a standard user. I don’t understand this but I consider it irrelevant to the topic at hand, other than that it prompted me to run process monitor and the installer again while logged in as me. The second image shows the IERendererSetup.tmp process entries from that test. The registry keys are different. One shows a buffer overflow condition which I assume causes the abend in this case. This is valuable info for me to take to the developer. I hope it also satisfies your curiosity.
-
EricB
AskWoody PlusMay 18, 2025 at 5:05 pm #2774998Looks like you’re making progress.
By the way, the Buffer Overflow errors are not a problem. It is very common to call a Windows API function twice. The first call returns the size of the memory buffer needed to hold the desired data. That’s the one that shows as Buffer Overflow. After a suitably sized buffer is allocated the function is called again and the data is returned.
The HKCU registry key is a shortcut way of referring to a specific user’s registry hive that actually resides under HKU. So it maps to HKU\User’s SID\.
When a user is not logged on their specific registry hive is not loaded.
When an Administrator account references HKCU it refers to the Administrators hive mapped to HKU\Administrator’s SID\. So its not surprising that nothing was found for the Administrator account if the software installation wrote to the non-administrator account registry hive.
Finally, HKCR is a merged view of HKLM\Software\Classes and HKCU\Software\Classes. So again, it would not contain the data when viewed under the Administrator’s account.
-
-
Peobody
AskWoody PlusMay 18, 2025 at 6:38 pm #2775013Yup! Making progress (I think), and learning a lot. Thank you for sharing your knowledge.
Since my last post I have learned that the developer is in the midst of a major internet outage with earliest hope for service restoration still two days away. I feel bad that he is having to try to get the word out via cell service but grateful for his efforts at trying to get the word out via cell service. I’ll be back in a few days or so if I still need assistance.
Viewing 13 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
1 minute ago -
Auto Time Zone Adjustment
by
wadeer
3 hours, 35 minutes ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 hour, 15 minutes ago -
Manage your browsing experience with Edge
by
Mary Branscombe
28 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
28 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
26 minutes ago -
Apps included with macOS
by
Will Fastie
1 hour, 16 minutes ago -
Xfinity home internet
by
MrJimPhelps
21 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
2 hours, 30 minutes ago -
Debian 12.11 released
by
Alex5723
1 day ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
1 day, 4 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
7 hours, 51 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
16 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
1 day, 21 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
1 day, 11 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
2 days ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
1 day, 16 hours ago -
Some advice for managing my wireless internet gateway
by
LHiggins
23 hours, 49 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
1 hour, 46 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
2 days, 9 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
2 days, 5 hours ago -
Does windows update component store “self heal”?
by
Mike Cross
1 day, 19 hours ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 days, 23 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
1 day, 7 hours ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
20 hours, 2 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
3 days, 2 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
3 days, 2 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
2 days, 14 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
3 days, 10 hours ago -
0Patch, where to begin
by
cassel23
3 days, 4 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.