fr-FR office user

Paramètres d’archivage automatique

Vérifié avec Microsoft 365/Office 5568.1000 — mis à jour le 4 septembre 2026

Microsoft 365/Office 5568.1000

Pris en charge sur : Au minimum Windows Server 2008 R2 ou Windows 7

Chemin dans la console GPO

Configuration utilisateur\Modèles d'administration\Microsoft Outlook 2016\OptionsOutlook\Autre\Archivage automatique

Description

Si vous activez ce paramètre de stratégie, les options spécifiées dans la boîte de dialogue Archivage automatique sont désactivées.

Registre

HKCU software\policies\microsoft\office\16.0\outlook\preferences

Plus d'options disponibles

Options

Activer l’archivage automatique
doaging boolean
Exécuter l’archivage automatique tous les <x> jours
everydays decimal - plage 1-60 - défaut : 14
Demander confirmation avant d’exécuter l’archivage automatique
promptforaging boolean
Supprimer les éléments arrivés à terme (dossiers de messagerie seulement)
deleteexpired boolean
Archiver ou supprimer les anciens éléments
archiveold boolean
Afficher le dossier d’archivage dans la liste des dossiers
archivemount boolean
Nettoyer les éléments antérieurs à
archiveperiod decimal - plage 1-60 - défaut : 6
archivegranularity enum
  • Mois -> 0 (défaut)
  • Semaines -> 1
  • Jours -> 2
Supprimer définitivement les anciens éléments
archivedelete boolean

Générateur d'exports

BETA

Configurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.

Ces exports écrivent le registre — ce n'est pas une GPO managée.

Fichier .reg

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Paramètres d’archivage automatique
; State: Enabled
; Supported on: Au minimum Windows Server 2008 R2 ou Windows 7

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences]
"doaging"=dword:00000000
"everydays"=dword:0000000e
"promptforaging"=dword:00000000
"deleteexpired"=dword:00000000
"archiveold"=dword:00000000
"archivemount"=dword:00000000
"archiveperiod"=dword:00000006
"archivegranularity"=dword:00000000
"archivedelete"=dword:00000000
Autres formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Paramètres d’archivage automatique
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'doaging' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'everydays' -Value 14 -Type DWord
Set-ItemProperty -Path $path -Name 'promptforaging' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'deleteexpired' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'archiveold' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'archivemount' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'archiveperiod' -Value 6 -Type DWord
Set-ItemProperty -Path $path -Name 'archivegranularity' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'archivedelete' -Value 0 -Type DWord

Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).

Ouvrir le Builder

Intégrer cette GPO sur votre site

Contenu à intégrer
Thème

Ajoute une ligne de script : le thème suit l’apparence de votre site et la hauteur s’ajuste au contenu. Si votre site bloque les scripts, l’intégration suit le thème du système du visiteur.

Aperçu