Set the SafeSearch setting for Search: registry value ConnectedSearchSafeSearchComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search
- Policy ID
- SafeSearch
- Scope
- Computer Configuration
- Supported on
- Microsoft Windows 8.1. Not supported on Windows 10 or later
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Search
Registry
ConnectedSearchSafeSearch
-ComputerConnectedSearchSafeSearch
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Default Safe Search Setting
| Item | Stored value |
|---|---|
| Strict | 1 |
| Moderate | 2 |
| Off | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] ; Options (use only one) ; Strict "ConnectedSearchSafeSearch"=dword:00000001 ; Moderate "ConnectedSearchSafeSearch"=dword:00000002 ; Off "ConnectedSearchSafeSearch"=dword:00000003
CMD
:: Options (use only one) :: Strict reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchSafeSearch" /t REG_DWORD /d 1 /f :: Moderate reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchSafeSearch" /t REG_DWORD /d 2 /f :: Off reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchSafeSearch" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Force | Out-Null # Options (use only one) # Strict New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'ConnectedSearchSafeSearch' -PropertyType DWord -Value 1 -Force | Out-Null # Moderate New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'ConnectedSearchSafeSearch' -PropertyType DWord -Value 2 -Force | Out-Null # Off New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'ConnectedSearchSafeSearch' -PropertyType DWord -Value 3 -Force | Out-Null