Empêcher le message signé en clair et l'indexation de pièce jointe : valeur de Registre preventclearsignedmsgandattachmentindexingUtilisateurHKCU\software\policies\microsoft\windows\windows search\preferences

ID de stratégie
L_PreventClearSignedMessageAndAttachmentIndexing
Étendue
Configuration utilisateur
Pris en charge sur
Au minimum Windows Server 2008 R2 ou Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Catégorie
Microsoft Outlook 2016 › OptionsOutlook › Préférences › Options de recherche

Registre

preventclearsignedmsgandattachmentindexing

REG_DWORDUtilisateur
Valeur si activée
1
Valeur si désactivée
0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\windows\windows search\preferences]

; Options (en utiliser une seule)
; Activé
"preventclearsignedmsgandattachmentindexing"=dword:00000001
; Désactivé
"preventclearsignedmsgandattachmentindexing"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKCU\software\policies\microsoft\windows\windows search\preferences" /v "preventclearsignedmsgandattachmentindexing" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKCU\software\policies\microsoft\windows\windows search\preferences" /v "preventclearsignedmsgandattachmentindexing" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\software\policies\microsoft\windows\windows search\preferences' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\windows search\preferences' -Name 'preventclearsignedmsgandattachmentindexing' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\windows search\preferences' -Name 'preventclearsignedmsgandattachmentindexing' -PropertyType DWord -Value 0 -Force | Out-Null