Forza l'azione di rilevamento degli osservatori: valore del Registro di sistema ForceOnlookerDetectionActionComputerHKLM\Software\Policies\Microsoft\HumanPresence
- ID criterio
- ForceOnlookerDetectionAction
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows 11 versione 24H2
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Presenza umana
Registro
ForceOnlookerDetectionAction
-ComputerHKLM\Software\Policies\Microsoft\HumanPresence Chiave corrente
ForceOnlookerDetectionAction
REG_DWORDComputerHKLM\Software\Policies\Microsoft\HumanPresence Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Scegli una delle azioni seguenti
| Voce | Valore memorizzato |
|---|---|
| Applica la selezione predefinita dell'utente | 0 |
| Notifica | 2 |
| Attenua e notifica | 3 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\HumanPresence] ; Opzioni (usarne solo una) ; Applica la selezione predefinita dell'utente "ForceOnlookerDetectionAction"=dword:00000000 ; Notifica "ForceOnlookerDetectionAction"=dword:00000002 ; Attenua e notifica "ForceOnlookerDetectionAction"=dword:00000003
CMD
:: Opzioni (usarne solo una) :: Applica la selezione predefinita dell'utente reg add "HKLM\Software\Policies\Microsoft\HumanPresence" /v "ForceOnlookerDetectionAction" /t REG_DWORD /d 0 /f :: Notifica reg add "HKLM\Software\Policies\Microsoft\HumanPresence" /v "ForceOnlookerDetectionAction" /t REG_DWORD /d 2 /f :: Attenua e notifica reg add "HKLM\Software\Policies\Microsoft\HumanPresence" /v "ForceOnlookerDetectionAction" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Force | Out-Null # Opzioni (usarne solo una) # Applica la selezione predefinita dell'utente New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceOnlookerDetectionAction' -PropertyType DWord -Value 0 -Force | Out-Null # Notifica New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceOnlookerDetectionAction' -PropertyType DWord -Value 2 -Force | Out-Null # Attenua e notifica New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceOnlookerDetectionAction' -PropertyType DWord -Value 3 -Force | Out-Null