Ne pas autoriser la création d’un fichier OST : valeur de Registre noostUtilisateurHKCU\software\policies\microsoft\office\16.0\outlook\ost

ID de stratégie
L_OSTCreation
É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 › Paramètres de compte › Exchange

Registre

noost

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

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\ost]

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

:: Activé
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\ost" /v "noost" /t REG_DWORD /d 2 /f
:: Désactivé
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\ost" /v "noost" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\ost' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\ost' -Name 'noost' -PropertyType DWord -Value 2 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\ost' -Name 'noost' -PropertyType DWord -Value 0 -Force | Out-Null