On 2022-03-08 at 04:54, Fjoerfoks wrote:
> Hi all,
>
> As far as I know, you can put your Firefox-profile anywhere you want.
> Just put it in the shortcut you are providing to the users by using
> the parameter -profile, for example: -profile
> %APPDATA%\Mozilla\Firefox\Profiles\Firefox, or in your case -profile
> \\servername\Mozilla\Firefox\Profiles\FirefoxBI. If it doesn't exist,
> it will be created automatically.
What about when Firefox is launched from some other location than that
shortcut - for example, because of being set as the default for .html
files or for the HTTP protocol? At my workplace, we ran into a similar
issue when we were specifying Chrome behavior via launch-time options,
before we (quite recently) adopted the GPO-based configuration.
I imagine you could probably adjust the Registry entries which control
file associations, so that they likewise include this parameter - but
then you might run up against the arguably-overzealous file-association
protections that Microsoft has built in to Windows, and there might be
other issues to consider as well.
And of course, there's always the possibility that people could launch
Firefox by simply typing 'firefox' into a suitable prompt window - or
even by specifying the full path to the EXE. Either of which would
bypass any and all such pre-added parameters.
As far as I understand, there is simply no way to catch all possible
cases without having Firefox itself handle the redirecting of the
profile-folder location, and Firefox does not appear to support doing
any such thing.
The only way that I'm aware of to store the Firefox profile on a network
server, rather than under %USERNAME%\AppData\Roaming\, is to use
Windows' folder-redirection feature to redirect the entire Roaming
directory to be stored on the server. We do that in my workplace, or we
used to, and while there were some hiccups and some teething troubles
with getting it working I think it mostly worked pretty well.
--
The Wanderer
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw