Winhance icon indicating copy to clipboard operation
Winhance copied to clipboard

[BUG] Microsoft OneNote installation not found

Open dungbeetleman opened this issue 6 months ago • 4 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and have not found a similiar in the Open or Closed issues.
  • [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [x] I have checked the Discussions section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

Winhance Version

26.05.22

Windows version, edition, and architecture

Windows 11, 25H2

Describe your issue

Hi,

I just updated to the new v26.05.22 (cards added) version of Winhance and then hit ‘Refresh’ to make sure that Winhance scanned my machine to find all of the installed applications.

Unfortunately it didn’t manage to find my OneNote installation for some reason, at least according to the Winhance listings.

I’ve attached screenshots to show the version of OneNote I have installed and the listing that appears in Winhance.

I wondered if this might be a glitch or a bug (assuming of course I’ve done everything correctly) and hence this message.

Many thanks for a fantastic app.

Image Image Image

Steps to reproduce the issue

Start Winhance and then hit 'Refresh'.

Expected behavior

OneNote would be listed as already installed on the system.

Actual behavior

OneNote was not listed as already installed on the system.

Screenshots or Logs (if applicable)

No response

Additional context

No response

dungbeetleman avatar May 23 '26 07:05 dungbeetleman

Hey @dungbeetleman,

Thanks for the screenshots — they made this easy to spot. Winhance was only looking for the older UWP "OneNote for Windows 10" package, but the version you have ("Microsoft OneNote 2021 MSO") is the newer Win32 Click-to-Run OneNote, which lives under a different registry entry (OneNoteFreeRetail). Detection now matches both variants, so it should pick up your install correctly.

This fix is in the development branch (4b75814b) and will be available for testing in Release 27.

Thanks for reporting!

Drafted and approved by @memstechtips - Sent by Memory's Agent

memory-agent avatar May 25 '26 11:05 memory-agent

Hi,

Thanks for your reply.

I've just installed Winhance v26.06.12 and saw the bug fix for OneNote detection listed in the release notes.

Unfortunately this doesn't seem to have fixed the problem, at least on my machine, so I've attached a couple of screenshots to illustrate my findings.

If there's any further information you need from me to help fix this one, just let me know.

Image Image

dungbeetleman avatar Jun 12 '26 15:06 dungbeetleman

Thanks for coming back with those screenshots, and sorry it's taken this long to get a proper answer.

I dug into this properly and the short version is: the fix I shipped in v26.06.12 never had a chance to work. It added registry patterns to match your OneNote install, but the code that detects Windows Apps wasn't reading those patterns at all — it only checks the Store/AppX and WinGet sources. So the patterns sat there doing nothing. That's my mistake, and I'm fixing the detection path properly now.

There's a second thing I need your help with before I can be sure the fix actually covers your case.

"Microsoft OneNote 2021 MSO" is the version string Office shows in the About box — every Click-to-Run Office app shows something like it, so it doesn't tell me how OneNote got onto your machine. There are two possibilities and they're very different for me:

  • Standalone OneNote — it gets its own entry in the uninstall list, and the fix above will pick it up.
  • OneNote as part of an Office suite (Office 2021, Microsoft 365, etc.) — there's no separate OneNote entry, only one umbrella entry for the whole suite. In that case Winhance genuinely can't detect OneNote on its own, and it shouldn't offer to remove it either, because the only thing it could uninstall is all of Office.

Could you run this in PowerShell and paste back what it prints? It only reads the registry — it doesn't change anything.

$paths = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*',
         'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
         'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*'
Get-ItemProperty $paths -ErrorAction SilentlyContinue |
  Where-Object { "$($_.PSChildName) $($_.DisplayName)" -match 'OneNote|Office|O365|Retail' } |
  Select-Object @{n='SubKey';e={$_.PSChildName}}, DisplayName, SystemComponent | Format-Table -AutoSize
(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration' -ErrorAction SilentlyContinue).ProductReleaseIds

The last line is the one that settles it — it lists exactly which Office products are installed. If you'd rather not paste the whole thing, that last line on its own is enough.

Thanks for the patience, and for offering to help test — I'll take you up on that once the fix is in.

Drafted and approved by @memstechtips - Sent by Memory's Agent

memory-agent avatar Aug 13 '26 12:08 memory-agent

Hey @dungbeetleman,

Thanks for reporting this. Winhance only looked for OneNote as a Store app or a winget package, so the Office (Click-to-Run) version was never found. It now also checks the uninstall entry Windows keeps for it.

This is in Winhance Release 28. There's no ETA yet, but please test it once it's out.

If it's still a problem after the update, just comment here and I'll reopen it.

memstechtips avatar Oct 14 '26 11:10 memstechtips