Page 1 of 1

Open .url shortcut after reinstalling browser in sandbox

Posted: Sat Apr 21, 2012 9:51 pm
by AES
Problem:
Unable to associate .url extension to your browser after reinstalling it into a sandbox.
(IE disabled, no browsers installed outside sandbox)

Cause:
You have installed your browser outside of its default location inside the sandbox, and your browser's .exe location is not updated in the unsandboxed Windows registry.

Solution:
Update your sandboxed browser's .exe location in the registry using Regedit

1. Open Regedit
2. Navigate:

HKEY_CLASSES_ROOT > Applications > firefox.exe > shell > open > command > Default


3. Edit the Default key to your .exe's location.

Example:
OLD: "C:\Program Files\Mozilla Firefox\firefox.exe" "%1"
NEW: "C:\Sandbox\TJ\Firefox\drive\C\Firefox\firefox.exe" "%1"

4. Now retry assigning .url to sandboxed Firefox in default programs. Now you can have no firefox installed and still be able to open .url shortcuts!



Tested in Windows 7 x64 Pro
Registry edit method is credited to Xandragnis @ Microsoft Forums