Einstellungen für AutoArchivierung
Nur klassisches Outlook. Das neue Outlook für Windows ignoriert die meisten dieser Office-Richtlinien – es wird stattdessen über Exchange Online (OWA-Postfachrichtlinie) gesteuert.
| Registrierungswert | doaging |
| Gruppenrichtlinie | Einstellungen für AutoArchivierung |
| Englische Version | AutoArchive Settings |
| Intune-Einstellungskatalog | AutoArchive Settings (User) |
| Bereich | Benutzer · HKCU |
| ADMX | outlk16.admx · L_AutoArchiveSettings |
Pfad der Gruppenrichtlinie
Registrierung
| Wert | Daten |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\outlook\preferences | |
| doaging | Enabled = 1 · Disabled = 0 |
| everydays | decimal 1–60 |
| promptforaging | Enabled = 1 · Disabled = 0 |
| deleteexpired | Enabled = 1 · Disabled = 0 |
| archiveold | Enabled = 1 · Disabled = 0 |
| archivemount | Enabled = 1 · Disabled = 0 |
| archiveperiod | decimal 1–60 |
| archivegranularity | 0 = Months · 1 = Weeks · 2 = Days |
| archivedelete | Enabled = 1 · Disabled = 0 |
Nicht konfiguriert = der Wert existiert nicht – es gilt der Standard der Anwendung, Benutzer dürfen die Einstellung ändern.
PowerShell
Aktuellen Wert prüfen (nur lesen)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\outlook\preferences"
foreach ($name in @('doaging', 'everydays', 'promptforaging', 'deleteexpired', 'archiveold', 'archivemount', 'archiveperiod', 'archivegranularity', 'archivedelete')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Adminrechte nötig: HKCU\Software\Policies ist für Standardbenutzer schreibgeschützt. Eine erhöhte Sitzung schreibt in das HKCU des Admins – für einen anderen angemeldeten Benutzer $root auf Registry::HKEY_USERS\<SID> ändern.
Aktivieren
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\outlook\preferences"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'doaging' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'everydays' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # range 1–60
New-ItemProperty -Path $key -Name 'promptforaging' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'deleteexpired' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'archiveold' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'archivemount' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'archiveperiod' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # range 1–60
New-ItemProperty -Path $key -Name 'archivegranularity' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null # options: 0 = Months, 1 = Weeks, 2 = Days
New-ItemProperty -Path $key -Name 'archivedelete' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Auf „Nicht konfiguriert“ zurücksetzen
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\outlook\preferences" Remove-ItemProperty -Path $key -Name 'doaging', 'everydays', 'promptforaging', 'deleteexpired', 'archiveold', 'archivemount', 'archiveperiod', 'archivegranularity', 'archivedelete' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (Einstellungskatalog)
AutoArchive Settings (User)
Einstellungskatalog → Einstellungen hinzufügen → nach dem Namen oben suchen.
Intune Settings Catalog Viewer ↗
Alternative: benutzerdefiniertes Profil (OMA-URI)
| OMA-URI | ./User/Vendor/MSFT/Policy/Config/outlk16v2~Policy~L_MicrosoftOfficeOutlook~L_OutlookOptions~L_Other~L_AutoArchive/L_AutoArchiveSettings |
| Datentyp | String |
| Wert | <enabled/> · <disabled/> |
Diese Richtlinie hat Optionen: nach <enabled/> je Element ein <data id="…" value="…"/> anhängen. Die Element-IDs stehen in der ADMX-Datei.
Cloud Policy
Cloud Policy (config.office.com → Anpassung → Richtlinienverwaltung) enthält viele Benutzerrichtlinien der Microsoft 365 Apps – suchen nach AutoArchive Settings. Gilt auch auf nicht verwalteten Geräten und hat Vorrang vor GPO und Intune bei derselben Einstellung.
Erklärung von Microsoft
Wenn diese Richtlinieneinstellung aktiviert ist, werden alle Optionen im Dialogfeld "AutoArchivierung" deaktiviert.
Gleiche Kategorie: Microsoft Outlook 2016 › Outlook-Optionen › Weitere › AutoArchivierung
- Datei'|'Archivieren' deaktivierendisablemanualarchive
- Ändern der Kriterien, die Outlook zum Archivieren verschiedener Elementtypen verwendetarchiveignorelastmodifiedtime
Alle Richtlinien dieser Kategorie · Alle 406 Richtlinien von outlk16.admx