Menu ▾ ▴

#2447 KeePass not reading HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet

KeePass_2.x
closed
nobody
None
5
3 days ago
2026-10-22
No

KeePass is not reading HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet
2.61.1 (x64)

I removed Internet Explorer and tried to add DDG Browser.
I confirmed HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet (attached).
I restarted KeePass.
The URL menu is unchanged (attached).
Edition Windows 10 Pro
Version 22H2
Installed on ‎7/‎1/‎2023
OS Build 19045.6466

I noted

2434 URL context menu lists Microsoft Edge on Windows 11 when uninstalled

That snapshot seems to have the same behavior. I tested it with a new db.
Here's the latest development snapshot for testing:
https://keepass.info/filepool/KeePass_260721.zip

1 Attachments

Discussion

  • Steven R. Gerber

    URL Menu

     
  • Dominik Reichl

    Dominik Reichl - 3 days ago
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 3 days ago

    The environment variable %LOCALAPPDATA% is user-specific, not machine-specific. Therefore, you should add your registration in HKEY_CURRENT_USER, not in HKEY_LOCAL_MACHINE.

    However, the main problem here is something else: you have specified an environment variable in the path and the type of the value is REG_SZ. In the case of REG_SZ, the environment variable is not expanded, and consequently KeePass cannot find DuckDuckGo.exe (and therefore shows no menu commands for it). You could fix this by specifying a full path without an environment variable. Alternatively, change the type of the value from REG_SZ to REG_EXPAND_SZ (this causes the environment variable to be expanded, resulting in a valid path for the current user); you can do this for example by running the following in Cmd.exe:
    Reg.exe Add "HKEY_CURRENT_USER\SOFTWARE\Clients\StartMenuInternet\DUCKDUCKGO.EXE\shell\open\command" /ve /t REG_EXPAND_SZ /d ^%LOCALAPPDATA^%\Microsoft\WindowsApps\DuckDuckGo.exe
    (for other shells, you may need to adjust how the percent signs are escaped).

    Best regards,
    Dominik

     

Log in to post a comment.