Introduction
This article outlines a solution to a strange problem encountered on a Windows 11 system: three instances of Firefox Portable were running with the AllowMultipleInstances option set to true in the FirefoxPortable.ini file, but the second and third instances would not load a profile.
Context
Firefox Portable allows users to run the browser without installing it on a system. It can be carried on a USB drive or any portable media, making it ideal for users who need to access their browsing data from various computers. The AllowMultipleInstances option in the FirefoxPortable.ini file controls whether multiple instances of the browser can run simultaneously.
Issue Description
On a specific Windows 11 system, three instances of Firefox Portable were launched using the following batch script:
@echo off
start FirefoxPortable.exe -profile "Profile1"
start FirefoxPortable.exe -profile "Profile2"
start FirefoxPortable.exe -profile "Profile3"
Only the first instance was loading the designated profile. The second and third instances would open and then close immediately without displaying any error messages or loading the profile.
Solution
Editing the FirefoxPortable.ini file to change the following parameter from 1 to 0 resolved the issue:
Locked=0
With Locked set to 0, Firefox Portable instances can create and write to their own profile directory when multiple instances run.
Step-by-Step Instructions
- Open the Firefox Portable directory.
- Find and open the
FirefoxPortable.inifile using a text editor like Notepad or Notepad++. - Search for the
Lockedparameter. - If the value of
Lockedis set to 1, change it to 0. - Save the changes in the
FirefoxPortable.inifile.
The issue of Firefox Portable multi-instance will not load profile on a Windows 11 system can be resolved by editing the FirefoxPortable.ini file and changing the Locked parameter from 1 to 0. This allows multiple instances to create and write to their own profile directory.