Usa ordine di ricerca nella foresta: valore del Registro di sistema UseForestSearch e altri 1 (KDC\Parameters)ComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters
- ID criterio
- ForestSearch
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Server 2008 R2 o Windows 7
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › KDC
Registro
UseForestSearch
REG_DWORDComputer- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; Opzioni (usarne solo una) ; Abilitato "UseForestSearch"=dword:00000001 ; Disabilitato "UseForestSearch"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "UseForestSearch" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "UseForestSearch" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'UseForestSearch' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'UseForestSearch' -PropertyType DWord -Value 0 -Force | Out-Null
ForestSearchList
REG_SZComputer- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Foreste in cui cercare
- Tipo di valore
- REG_SZ
- Obbligatorio
- true
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati "ForestSearchList"="<inserisci valore>"
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "ForestSearchList" /t REG_SZ /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'ForestSearchList' -PropertyType String -Value '<inserisci valore>' -Force | Out-Null