Can’t Turn Off “Open Firefox automatically when your computer starts up”

Published by Nyau Wai Hoe - Updated on

Firefox on Windows has a setting that opens it by itself every time you sign in, and you’d expect to switch it off with one click. For some people, though, the “Open Firefox automatically when your computer starts up” box is checked and grayed out, so it can’t be unchecked, or it turns itself back on after you uncheck it. This guide will show you why that happens and how to actually stop Firefox from opening on startup.

Also see: How to Disable Startup Programs in Windows 11

Can't Turn Off "Open Firefox automatically when your computer starts up"

Why can’t you uncheck the Firefox startup option?

The option arrived in Firefox 120, for Windows only, and a new Firefox install turns it on by default. So you may find it checked without ever touching it. While it’s on, Firefox keeps an entry for itself in Windows’ list of apps that run at sign-in. Once that entry is switched off on the Windows side, in Startup apps, Firefox no longer controls it: the box is grayed out, and Firefox should show “This preference has been disabled in Windows. To change, visit Startup Apps in System settings.”

There’s also a known bug where the box shows as checked while Windows already has the entry off, and that message is missing. Mozilla says this one is cosmetic: Firefox isn’t actually set to launch. A Firefox shortcut in your Startup folder also makes Firefox treat the option as on, even when the Startup apps entry is off.

Firefox startup option grayed out disabled in Windows

If you had switched Firefox off in Startup apps before reinstalling it, the box can stay grayed out afterwards with Firefox missing from Startup apps altogether. That’s an open bug, and since there’s no entry, there’s nothing to turn off.

The other version of the problem, where the option keeps turning itself back on, was a Firefox bug too. Firefox could switch it on again for existing users on later startups, especially with moved installs and roaming profiles. Mozilla fixed it in Firefox 153, though the PortableApps version still has an open bug for this.

If Firefox reopens with the windows you had open before a restart, that’s a different feature, covered further down.

Switch Firefox off in Windows’ Startup apps

Windows has the final say, so check there first. If Firefox is off in Startup apps, it won’t launch from that entry, whatever the grayed-out box in Firefox says.

  1. Open Settings and go to Apps > Startup.Firefox in Startup apps settings Windows 11
  2. Find Firefox in the list and switch it Off.

You can do the same in Task Manager: press Ctrl + Shift + Esc, open Startup apps, right-click firefox and select Disable.

Disable Firefox in Task Manager Startup apps Windows 11

Restart your PC to check that Firefox stays closed. If it still opens, a Startup folder shortcut or Windows reopening apps after a restart is the likely reason (both below).

Make the Firefox checkbox clickable again

Firefox only manages the option while Windows lets it, so to make the checkbox work again, turn Firefox back on in Windows first.

  1. In Settings > Apps > Startup, switch Firefox back On.
  2. Close Firefox completely and open it again.
  3. Open the Firefox menu (three lines) and select Settings.
  4. Select Home and startup, and under Startup, uncheck “Open Firefox automatically when your computer starts up“.Uncheck Open Firefox automatically when your computer starts up

Firefox then removes its own entry, so it disappears from Startup apps instead of just sitting there switched off.

Turn off the feature in about:config

Firefox has a hidden preference that switches this whole feature off, and it has worked when the checkbox wouldn’t budge. The option then disappears from Firefox’s settings. It doesn’t delete the startup entry Firefox already added, though, so make sure Firefox is also off in Startup apps (first section).

  1. Type “about:config” in the Firefox address bar and press Enter.
  2. Click “Accept the Risk and Continue” if a warning shows up.
  3. Search for:
    browser.startup.windowsLaunchOnLogin.enabled
  4. Click the toggle button next to it so the value changes to false.Set browser.startup.windowsLaunchOnLogin.enabled to false in Firefox about:config
  5. Restart Firefox.

Tip: If Firefox keeps offering to open every time you restart your computer, set browser.startup.windowsLaunchOnLogin.disableLaunchOnLoginPrompt to true in the same page to stop that prompt.

Remove a Firefox shortcut from the Startup folder

A Firefox shortcut in the Startup folder launches Firefox at sign-in on its own, and Firefox counts it as the option being on.

  1. Press Win + R, type “shell:startup” and press Enter.
  2. Delete any Firefox shortcut in the folder that opens.Firefox shortcut in Startup folder Windows 11

Restart your PC and check whether Firefox still opens. For shortcuts added for every user, see: Where is the Startup Folder in Windows 11/10 for All Users.

Update Firefox if the setting keeps coming back

If you uncheck the option and later find it checked again, you’re likely hitting the bug Mozilla fixed in Firefox 153.

  1. Open the Firefox menu and go to Help and Report > About Firefox.
  2. If an update is found, let it download, then restart Firefox when it asks.About Firefox update check Windows 11

After the update, uncheck the option once more (or switch Firefox off in Startup apps). It should now stay that way, unless you use the PortableApps version.

If Firefox reopens your windows after a restart

When Firefox comes back with the tabs you had open before you restarted or shut down, it’s usually not the startup option at all. Windows can reopen apps that were still running when you signed out, and Firefox registers itself for that.

  1. Open Settings > Accounts > Sign-in options.
  2. Under Additional settings, switch off “Automatically save my restartable apps and restart them when I sign back in“.Turn off restartable apps in Sign-in options Windows 11

That affects every app that supports it, so to change it for Firefox alone, set toolkit.winRegisterApplicationRestart to false in about:config instead.

Delete Firefox’s startup entry from the registry

Turning the feature off in about:config leaves Firefox’s startup entry behind. To remove it completely, delete it from the registry. Its name in the Run key starts with Mozilla-Firefox- followed by letters and numbers. This is for the normal install: the Microsoft Store version doesn’t use the Run key, so switch it off in Startup apps instead.

Incorrectly changing the registry can cause serious problems in Windows, so please create a system restore point first. If you’re not sure what you’re doing, get someone who knows to help you instead.

  1. Press Win + R, type “regedit” and press Enter.
  2. Copy and paste the following path to the address bar and press Enter:
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  3. Right-click the Mozilla-Firefox-… entry and select Delete, then confirm.Delete Mozilla-Firefox entry in Run key Registry Editor Windows 11

Restart your PC. If Firefox adds the entry back, uncheck the option in Firefox or turn the feature off in about:config (above) as well.


Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of WindowsDigitals.com. With a degree in software engineering and over 15 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.