Allow Cortana Page in OOBE on an AAD account: registry value AllowCortanaInAAD and 1 moreComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search

Policy ID
AllowCortanaInAAD
Scope
Computer Configuration
Supported on
At least Windows Server 2016, Windows 10
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Search

Registry

AllowCortanaInAAD

-Computer

AllowCortanaInAADPathOOBE

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Cortana in AAD Setting
Options
ItemStored value
Disable Cortana Page in AAD0
Enable Cortana Page in AAD1
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)
; Disable Cortana Page in AAD
"AllowCortanaInAADPathOOBE"=dword:00000000
; Enable Cortana Page in AAD
"AllowCortanaInAADPathOOBE"=dword:00000001
CMD
:: Options (use only one)

:: Disable Cortana Page in AAD
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortanaInAADPathOOBE" /t REG_DWORD /d 0 /f
:: Enable Cortana Page in AAD
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortanaInAADPathOOBE" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Force | Out-Null

# Options (use only one)
# Disable Cortana Page in AAD
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'AllowCortanaInAADPathOOBE' -PropertyType DWord -Value 0 -Force | Out-Null
# Enable Cortana Page in AAD
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'AllowCortanaInAADPathOOBE' -PropertyType DWord -Value 1 -Force | Out-Null