1# Desktop browser policies
2
3> For the complete documentation index, see [llms.txt](https://learn.chatgpt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.
4
5Use mobile device management (MDM) to configure the built-in browser in the ChatGPT desktop app. Choose a policy from the [supported list](#support-policy-reference), then look up its name and value format in the [Chrome Enterprise policy reference](https://chromeenterprise.google/policies/) before deploying it. Check the platform and browser version for each policy.
6
7If you already manage Chrome, the deployment process will be familiar. Chrome supports both device-based policy deployment and cloud browser management through Google Admin. ChatGPT desktop currently supports device-based deployment through MDM, Group Policy, or configuration-management tools; cloud management of these browser policies is not yet available.
8
9For a given operating system, the policy contents and formats stay the same. The main change is **where you deploy them on the device**: use ChatGPT desktop's registry keys, preference domain, or policy directory instead of Chrome's.
10
11## Policy locations by platform
12
13| Platform | Policy format | Chrome location | ChatGPT desktop location |
14| -------- | ---------------------------------------------- | ----------------------------------- | ---------------------------------- |
15| Windows | Registry values and keys | `SOFTWARE\Policies\Google\Chrome` | `SOFTWARE\Policies\OpenAI\Codex` |
16| macOS | Managed preferences in a configuration profile | `com.google.Chrome` | `com.openai.codex` |
17| Linux | JSON files in the mandatory-policy directory | `/etc/opt/chrome/policies/managed/` | `/etc/opt/codex/policies/managed/` |
18
19The ChatGPT desktop identifiers still contain `Codex` or `codex`. Use them exactly as shown.
20
21- **Windows:** Use `HKEY_LOCAL_MACHINE` for all users on a device, or `HKEY_CURRENT_USER` for a specific user. Use Chrome’s Windows registry format for values and lists. Chrome's standard administrative templates (ADMX) target Chrome; use custom registry settings for ChatGPT desktop.
22- **macOS:** Deploy the policy keys and their property list values as managed preferences under `com.openai.codex`. A profile targeting Chrome's domain does not target ChatGPT desktop.
23- **Linux:** Deploy JSON files directly into `/etc/opt/codex/policies/managed/`. Use `/etc/opt/codex/policies/recommended/` for policies that support defaults that users can change.
24
25## Admin guide
26
27### Example policies
28
29The examples below configure two policies:
30
31| Policy | Example value | Effect |
32| ------------------------ | ------------------------- | ------------------------------------------------------------------------------------------ |
33| `PasswordManagerEnabled` | `false` | Prevents saving new passwords. Existing saved passwords are not deleted. |
34| `CookiesBlockedForUrls` | `["https://example.com"]` | Prevents `https://example.com` from setting cookies. It does not block access to the site. |
35
36Replace these examples with your organization's settings.
37
38### Windows: Microsoft Intune or Group Policy
39
40For **Microsoft Intune**, save the following as a PowerShell script and add it under **Platform scripts**. It writes mandatory policies for all users on the device:
41
42```powershell
43$ErrorActionPreference = 'Stop'
44$policyRoot = 'HKLM:\SOFTWARE\Policies\OpenAI\Codex'
45if (-not (Test-Path -LiteralPath $policyRoot)) {
46 New-Item -Path $policyRoot -Force | Out-Null
47}
48New-ItemProperty -Path $policyRoot -Name PasswordManagerEnabled -PropertyType DWord -Value 0 -Force | Out-Null
49$cookieKey = "$policyRoot\CookiesBlockedForUrls"
50if (-not (Test-Path -LiteralPath $cookieKey)) {
51 New-Item -Path $cookieKey -Force | Out-Null
52}
53New-ItemProperty -Path $cookieKey -Name '1' -PropertyType String -Value 'https://example.com' -Force | Out-Null
54```
55
56In [Microsoft Intune Platform scripts](https://learn.microsoft.com/en-us/intune/device-management/tools/run-powershell-scripts-windows), set **Run this script using the logged on credentials** to **No** and **Run script in 64-bit PowerShell host** to **Yes**, then assign it to your pilot group. After the script runs, restart ChatGPT desktop and [verify the policies](#verify-the-policies).
57
58For **Group Policy**, create Registry preference items for the same keys, value names, types, and values shown in the script, and apply them to your pilot devices.
59
60Registry value formats:
61
62- **True or false:** `REG_DWORD`, with `0` for false and `1` for true.
63- **String lists:** Create a child key named after the policy. Number its `REG_SZ` values starting at `1`. When updating a list, remove numbered values that no longer apply.
64- **Structured policies:** Follow the policy reference's Windows encoding. For example, `ExtensionSettings` stores its dictionary as a JSON string in a `REG_SZ` value.
65
66For per-user policies, use the same path under `HKEY_CURRENT_USER` and deploy in the intended user's context. A script running as SYSTEM does not write to the signed-in user's `HKEY_CURRENT_USER`. For policies that support recommended defaults, use a child key named `Recommended` beneath the ChatGPT desktop root.
67
68### macOS configuration profiles
69
70Create a configuration profile that sets **forced (mandatory) managed preferences** in the `com.openai.codex` domain. For `Jamf Pro`, first save the following as `com.openai.codex.plist`:
71
72```xml
73<?xml version="1.0" encoding="UTF-8"?>
74<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
75<plist version="1.0">
76<dict>
77 <key>PasswordManagerEnabled</key>
78 <false/>
79 <key>CookiesBlockedForUrls</key>
80 <array>
81 <string>https://example.com</string>
82 </array>
83</dict>
84</plist>
85```
86
87- `Jamf Pro`: Use a computer configuration profile's **Application & Custom Settings** payload, upload the property list, and set the preference domain to `com.openai.codex`. See [the custom settings instructions](https://learn.jamf.com/r/en-US/technical-articles/Deploying_Custom_Computer_Configuration_Profiles_Using_the_Application_and_Custom_Settings_Payload).
88- **Microsoft Intune:** Create a macOS **Templates → Preference file** profile and set **Preference domain name** to `com.openai.codex`. For this profile, save only the key-value pairs inside the example's outer `<dict>`; omit the XML declaration, DOCTYPE, `<plist>`, and outer `<dict>` wrappers. Keep the nested `<array>` intact. See [Intune's preference-file instructions](https://learn.microsoft.com/en-us/intune/device-configuration/templates/configure-preference-file-macos).
89- **Other MDM tools:** Use their custom managed-preferences workflow or deploy an equivalent `.mobileconfig` profile for this domain.
90
91Assign the profile to your pilot devices and confirm installation. Restart ChatGPT desktop and [verify the policies](#verify-the-policies). Use managed preferences: a normal user preference written with `defaults write` does not make a policy mandatory.
92
93### Linux configuration management
94
95Use a tool such as `Ansible`, Puppet, or Chef to deliver a JSON policy file to your devices, just as you would for Chrome.
96
971. Create `/etc/opt/codex/policies/managed/` if needed.
982. Deploy a JSON file directly into that directory using your configuration-management tool, package, or device-management agent.
993. Make the directories and file owned by `root`, readable by ChatGPT desktop users, and writable only by trusted administrators. Typical permissions are `0755` for directories and `0644` for files.
1004. Restart ChatGPT desktop and [verify the policies](#verify-the-policies).
101
102Example `/etc/opt/codex/policies/managed/browser.json`:
103
104```json
105{
106 "PasswordManagerEnabled": false,
107 "CookiesBlockedForUrls": ["https://example.com"]
108}
109```
110
111Use JSON boolean values, numbers, arrays, and objects as required by each policy. Place files directly in `managed/`; nested directories are not read. Avoid defining the same policy in multiple files.
112
113## Verify the policies
114
1151. Confirm that your deployment tool delivered the registry values, installed profile, or JSON file to a pilot device.
1162. Quit and reopen ChatGPT desktop. Open an in-app browser tab and navigate to `chrome://policy` **inside ChatGPT desktop**.
1173. Select **Reload policies**. Check each policy's value, source, scope, level, and status. For the mandatory examples, expect source **Platform**, level **Mandatory**, and no policy error.
1184. Test the intended behavior in that browser. A policy appearing on this page confirms it was read; it does not by itself prove that the affected feature behaves as intended.
119
120Some policies require a full app restart even after reloading policies. Complete the pilot checks before expanding the deployment.
121
122If a policy is missing, check its spelling, target location, assignment, and read permissions. If a policy shows an error or is ignored, check the value type, supported platform and policy level, and any conflicting policy reported on `chrome://policy`.
123
124To change or remove a policy, update the deployment that supplied it and remove obsolete registry entries or file keys. If you used a script, remove the values it wrote before you remove the script assignment. Restart ChatGPT desktop and verify again.
125
126## Support policy reference
127
128ChatGPT desktop’s in-app browser supports the 244 policies listed below. For each policy’s purpose, accepted values, and platform details, look up its name in Google’s [Chrome Enterprise policy list](https://chromeenterprise.google/policies/).
129
130### A–C
131
132- `AccessControlAllowMethodsInCORSPreflightSpecConformant`
133- `AIModeSettings`
134- `AllowDeletingBrowserHistory`
135- `AllowedDomainsForApps`
136- `AllowSystemNotifications`
137- `AllowWebAuthnWithBrokenTlsCerts`
138- `AlternateErrorPagesEnabled`
139- `AlwaysOpenPdfExternally`
140- `AudioCaptureAllowed`
141- `AudioCaptureAllowedUrls`
142- `AuthNegotiateDelegateAllowlist`
143- `AuthServerAllowlist`
144- `AutofillAddressEnabled`
145- `AutofillCreditCardEnabled`
146- `AutoFillEnabled`
147- `AutofillSettings`
148- `AutoLaunchProtocolsFromOrigins`
149- `AutomaticDownloadsAllowedForUrls`
150- `AutomaticDownloadsBlockedForUrls`
151- `AutomaticFullscreenAllowedForUrls`
152- `AutomaticFullscreenBlockedForUrls`
153- `AutoOpenAllowedForURLs`
154- `AutoOpenFileTypes`
155- `AutoplayAllowed`
156- `AutoplayAllowlist`
157- `AutoSelectCertificateForUrls`
158- `BlockExternalExtensions`
159- `BlockThirdPartyCookies`
160- `BoundSessionCredentialsEnabled`
161- `CACertificates`
162- `CACertificatesWithConstraints`
163- `CacheEncryptionEnabled`
164- `CADistrustedCertificates`
165- `CAHintCertificates`
166- `CAPlatformIntegrationEnabled`
167- `CloudAPAuthEnabled`
168- `ComponentUpdatesEnabled`
169- `CompressionDictionaryTransportEnabled`
170- `CookiesAllowedForUrls`
171- `CookiesBlockedForUrls`
172- `CORSNonWildcardRequestHeadersSupport`
173- `CpuPerformanceTierOverride`
174
175### D–F
176
177- `DataUrlInSvgUseEnabled`
178- `DataUrlInWebWorkerOpaqueOriginEnabled`
179- `DefaultAutomaticDownloadsSetting`
180- `DefaultIdleDetectionSetting`
181- `DefaultImagesSetting`
182- `DefaultJavaScriptJitSetting`
183- `DefaultJavaScriptOptimizerSetting`
184- `DefaultJavaScriptSetting`
185- `DefaultLocalFontsSetting`
186- `DefaultMediaStreamSetting`
187- `DefaultNotificationsSetting`
188- `DefaultPopupsSetting`
189- `DefaultPrinterSelection`
190- `DefaultSearchProviderAlternateURLs`
191- `DefaultSearchProviderContextMenuAccessAllowed`
192- `DefaultSearchProviderName`
193- `DefaultSearchProviderNewTabURL`
194- `DefaultSearchProviderSearchURLPostParams`
195- `DefaultSearchProviderSuggestURL`
196- `DefaultSearchProviderSuggestURLPostParams`
197- `DefaultSensorsSetting`
198- `DefaultSerialGuardSetting`
199- `DefaultWebBluetoothGuardSetting`
200- `DefaultWebHidGuardSetting`
201- `DefaultWebUsbGuardSetting`
202- `DefaultWindowManagementSetting`
203- `DefaultWindowPlacementSetting`
204- `Disable3DAPIs`
205- `DisabledSchemes`
206- `DisablePrintPreview`
207- `DNSInterceptionChecksEnabled`
208- `DownloadRestrictions`
209- `EditBookmarksEnabled`
210- `EnableMediaRouter`
211- `EnableOnlineRevocationChecks`
212- `EncryptedClientHelloEnabled`
213- `EnterpriseHardwarePlatformAPIEnabled`
214- `ExemptDomainFileTypePairsFromFileTypeDownloadWarnings`
215- `ExtensionAllowedTypes`
216- `ExtensionDeveloperModeSettings`
217- `ExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls`
218- `ExtensionInstallAllowlist`
219- `ExtensionInstallBlocklist`
220- `ExtensionInstallForcelist`
221- `ExtensionInstallSources`
222- `ExtensionInstallTypeBlocklist`
223- `ExtensionSettings`
224- `ExtensionUnpublishedAvailability`
225- `ExternalProtocolDialogShowAlwaysOpenCheckbox`
226- `FileOrDirectoryPickerWithoutGestureAllowedForOrigins`
227- `ForceForegroundPriorityForUrls`
228- `ForceGoogleSafeSearch`
229- `ForceSafeSearch`
230- `ForceYouTubeRestrict`
231- `ForceYouTubeSafetyMode`
232
233### G–L
234
235- `GeolocationBlockedForUrls`
236- `HSTSPolicyBypassList`
237- `HttpAllowlist`
238- `HttpHeaderInjection`
239- `HttpsUpgradesEnabled`
240- `IdleDetectionAllowedForUrls`
241- `IdleDetectionBlockedForUrls`
242- `ImagesAllowedForUrls`
243- `ImagesBlockedForUrls`
244- `ImportHistory`
245- `ImportSavedPasswords`
246- `IsolateOrigins`
247- `JavaScriptAllowedForUrls`
248- `JavaScriptBlockedForUrls`
249- `JavascriptEnabled`
250- `JavaScriptJitAllowedForSites`
251- `JavaScriptJitBlockedForSites`
252- `JavaScriptOptimizerAllowedForSites`
253- `JavaScriptOptimizerBlockedForSites`
254- `LocalFontsAllowedForUrls`
255- `LocalFontsBlockedForUrls`
256- `LocalNetworkAccessAllowedForUrls`
257- `LocalNetworkAccessBlockedForUrls`
258- `LocalNetworkAccessIpAddressSpaceOverrides`
259- `LocalNetworkAccessRestrictionsTemporaryOptOut`
260- `LocalNetworkAllowedForUrls`
261- `LocalNetworkBlockedForUrls`
262- `LookalikeWarningAllowlistDomains`
263- `LoopbackNetworkAllowedForUrls`
264- `LoopbackNetworkBlockedForUrls`
265
266### M–P
267
268- `ManagedBookmarks`
269- `ManagedConfigurationPerOrigin`
270- `NativeHostsExecutablesLaunchDirectly`
271- `NativeMessagingAllowlist`
272- `NativeMessagingBlocklist`
273- `NativeMessagingUserLevelHosts`
274- `NetworkPredictionOptions`
275- `NotificationsAllowedForUrls`
276- `NotificationsBlockedForUrls`
277- `OopPrintDriversAllowed`
278- `OriginAgentClusterDefaultEnabled`
279- `PartitionedBlobUrlUsage`
280- `PasswordLeakDetectionEnabled`
281- `PasswordManagerBlocklist`
282- `PasswordManagerEnabled`
283- `PaymentMethodQueryEnabled`
284- `PdfAnnotationsEnabled`
285- `PdfLocalFileAccessAllowedForDomains`
286- `PdfUseSkiaRendererEnabled`
287- `PdfViewerOutOfProcessIframeEnabled`
288- `PolicyDictionaryMultipleSourceMergeList`
289- `PopupsAllowedForUrls`
290- `PopupsBlockedForUrls`
291- `PreferSlowCiphers`
292- `PreferSlowKexAlgorithms`
293- `PrefetchWithServiceWorkerEnabled`
294- `PrinterTypeDenyList`
295- `PrintHeaderFooter`
296- `PrintingAllowedBackgroundGraphicsModes`
297- `PrintingBackgroundGraphicsDefault`
298- `PrintingEnabled`
299- `PrintingLPACSandboxEnabled`
300- `PrintingPaperSizeDefault`
301- `PrintPdfAsImageAvailability`
302- `PrintPdfAsImageDefault`
303- `PrintPostScriptMode`
304- `PrintPreviewUseSystemDefaultPrinter`
305- `PrintRasterizationMode`
306- `PrintRasterizePdfDpi`
307- `PromptOnMultipleMatchingCertificates`
308- `ProxyBypassList`
309- `ProxyMode`
310- `ProxyPacUrl`
311- `ProxyServer`
312- `ProxyServerMode`
313- `ProxySettings`
314
315### Q–S
316
317- `QuicAllowed`
318- `ReduceAcceptLanguageEnabled`
319- `RegisteredProtocolHandlers`
320- `RelaunchFastIfOutdated`
321- `RelaunchNotification`
322- `RelaunchNotificationPeriod`
323- `RelaunchWindow`
324- `RemoteDebuggingAllowed`
325- `RequireOnlineRevocationChecksForLocalAnchors`
326- `RestrictYouTubeCookiesDeletion`
327- `SameOriginTabCaptureAllowedByOrigins`
328- `SandboxExternalProtocolBlocked`
329- `ScreenCaptureAllowed`
330- `ScreenCaptureAllowedByOrigins`
331- `ScreenCaptureWithoutGestureAllowedForOrigins`
332- `ScrollToTextFragmentEnabled`
333- `SearchSuggestEnabled`
334- `SecurityKeyPermitAttestation`
335- `SensorsAllowedForUrls`
336- `SensorsBlockedForUrls`
337- `SerialAllowAllPortsForUrls`
338- `SerialAllowUsbDevicesForUrls`
339- `SerialAskForUrls`
340- `SerialBlockedForUrls`
341- `ServiceWorkerAutoPreloadEnabled`
342- `ServiceWorkerToControlSrcdocIframeEnabled`
343- `SharedArrayBufferUnrestrictedAccessAllowed`
344- `SharedWorkerBlobURLFixEnabled`
345- `SharedWorkerExtendedLifetimeEnabled`
346- `SignedHTTPExchangeEnabled`
347- `SilentPrintingEnabled`
348- `SitePerProcess`
349- `SpellcheckEnabled`
350- `SpellcheckLanguage`
351- `SpellcheckLanguageBlocklist`
352- `SSLErrorOverrideAllowed`
353- `SSLErrorOverrideAllowedForOrigins`
354- `StandardizedBrowserZoomEnabled`
355- `StaticStorageQuotaEnabled`
356- `StrictMimetypeCheckForWorkerScriptsEnabled`
357- `SuppressDifferentOriginSubframeDialogs`
358
359### T–Z
360
361- `TabCaptureAllowedByOrigins`
362- `TranslatorAPIAllowed`
363- `URLAllowlist`
364- `URLBlocklist`
365- `UrlKeyedAnonymizedDataCollectionEnabled`
366- `VideoCaptureAllowed`
367- `VideoCaptureAllowedUrls`
368- `WebAudioOutputBufferingEnabled`
369- `WebHidAllowAllDevicesForUrls`
370- `WebHidAllowDevicesForUrls`
371- `WebHidAllowDevicesWithHidUsagesForUrls`
372- `WebHidAskForUrls`
373- `WebHidBlockedForUrls`
374- `WebRtcDiagnosticLogCollectionAllowedForOrigins`
375- `WebRtcIPHandling`
376- `WebRtcIPHandlingUrl`
377- `WebRtcLocalIpsAllowedUrls`
378- `WebRtcPostQuantumKeyAgreement`
379- `WebRtcTextLogCollectionAllowed`
380- `WebRtcUdpPortRange`
381- `WebUsbAllowDevicesForUrls`
382- `WebUsbAskForUrls`
383- `WebUsbBlockedForUrls`
384- `WindowCaptureAllowedByOrigins`
385- `WindowManagementAllowedForUrls`
386- `WindowManagementBlockedForUrls`
387- `WindowPlacementAllowedForUrls`
388- `WindowPlacementBlockedForUrls`
389- `WPADQuickCheckEnabled`
390- `XSLTEnabled`