Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions src/content/docs/reference/policies/DisableLaunchOnLogin.mdx
Original file line number Diff line number Diff line change
@@ -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

<PolicyCompat policy="DisableLaunchOnLogin" />

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

<PolicyExample policy="DisableLaunchOnLogin" />

## Windows (GPO)

```
Software\Policies\Mozilla\Firefox\DisableLaunchOnLogin = 0x1 | 0x0
```

## macOS

```xml
<dict>
<key>DisableLaunchOnLogin</key>
<true/> | <false/>
</dict>
```