diff --git a/src/content/docs/reference/policies/DisableLaunchOnLogin.mdx b/src/content/docs/reference/policies/DisableLaunchOnLogin.mdx new file mode 100644 index 0000000..b9a2c6a --- /dev/null +++ b/src/content/docs/reference/policies/DisableLaunchOnLogin.mdx @@ -0,0 +1,41 @@ +--- +title: "DisableLaunchOnLogin" +description: "Prevent Firefox from launching automatically when the user logs in." +category: "Startup" +--- + +Prevent Firefox from launching automatically when the user logs in, and prevent the user from enabling this setting. + +When the policy is set to `true`, Firefox removes any existing launch-on-login entry and hides the **Open Firefox automatically when your computer starts up** checkbox under **Settings > General > Startup**. +Setting the policy to `false` has no effect. + +## Compatibility + + + +Windows and macOS only; Windows in Firefox 155, and macOS in Firefox 156. + +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** `browser.startup.windowsLaunchOnLogin.enabled` + +> [!NOTE] +> The preference name uses the `windows` prefix for historical reasons, it also applies on macOS. + +## Examples + + + +## Windows (GPO) + +``` +Software\Policies\Mozilla\Firefox\DisableLaunchOnLogin = 0x1 | 0x0 +``` + +## macOS + +```xml + + DisableLaunchOnLogin + | + +```