sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.82k stars 1.54k forks source link

ImDiskApp registry key is always written to the real system #4282

Closed isaak654 closed 2 weeks ago

isaak654 commented 1 month ago

Describe what you noticed and did

  1. Install Sandboxie-Plus-x64-v1.14.10.exe (or any previous Plus version with the Add-Ons Manager)
  2. Open SandMan.exe and go to Options menu -> Global Settings
  3. A new empty registry key is written to the real system: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ImDiskApp

No matter how many times I delete the ImDiskApp key, it always reappears with the steps listed above.

How often did you encounter it so far?

Every time with the steps above, after deleting the ImDiskApp registry key.

Expected behavior

No empty registry key written to the real system, as I don't have any ImDisk app installed.

Workaround for affected Sandboxie Plus builds

Edit line 105 of the addons.json file: "_uninstallKey": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ImDiskApp",

What is your Windows edition and version?

Windows 10 Pro 22H2 64-bit

In which Windows account you have this problem?

A local account (Administrator)

Please mention any installed security software

Microsoft Defender

offhub commented 1 month ago

https://github.com/sandboxie-plus/Sandboxie/blob/d7175385758bf0e4a069e11b183e3b37d021f539/SandboxiePlus/SandMan/AddonManager.cpp#L85