MSS: (SafeDllSearchMode) Enable Safe DLL search mode
Computer Configuration > Administrative Templates > MSS (Legacy)
Pol_MSS_SafeDllSearchMode MSS-legacy.admx MS Security Guide v26H2 v2 Registry
| Key (computer) | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager |
|---|---|
| Value name | SafeDllSearchMode |
| Supported on | At least Windows Vista |
| Namespace | Microsoft.Policies.MSS |
What each state writes
Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager | SafeDllSearchMode | 1 REG_DWORD |
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager | SafeDllSearchMode | 0 REG_DWORD |
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager | SafeDllSearchMode | value removed |
In Intune
This is a Policy CSP setting, so it is in Intune's Settings Catalog by name. For a custom (OMA-URI) profile, use:
| OMA-URI (device) | ./Device/Vendor/MSFT/Policy/Config/ADMX_MSS-legacy/Pol_MSS_SafeDllSearchModeWindows builds: 10.0.22000, 10.0.19043.1202, 10.0.19042.1202, 10.0.19041.1202 |
|---|---|
| Data type | String |
| Value to enable | <enabled/> |
| Value to disable | <disabled/> |
From Microsoft's Policy CSP DDF files (DDFv2Feb2026.zip, 2026-02-19).
Build it
Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.
Keep it set across your fleet
Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.
Source: MS Security Guide and MSS (Legacy) templates from the Windows 11 v26H2 Security Baseline, version v26H2 v2, published by Microsoft 2026-10-08. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.
ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.
Your note and the summary below are all that get sent. Your file stays on your machine.