Office Admin Explorer

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
GruppenrichtlinieEinstellungen für AutoArchivierung
Englische VersionAutoArchive Settings
Intune-EinstellungskatalogAutoArchive Settings (User)
BereichBenutzer · HKCU
ADMXoutlk16.admx · L_AutoArchiveSettings
Im interaktiven Explorer öffnen+ Zur Sammlung

Pfad der Gruppenrichtlinie

Benutzerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Outlook 2016\Outlook-Optionen\Weitere\AutoArchivierung
User Configuration\Policies\Administrative Templates\Microsoft Outlook 2016\Outlook Options\Other\AutoArchive

Registrierung

WertDaten
HKCU\Software\policies\microsoft\office\16.0\outlook\preferences
doagingEnabled = 1 · Disabled = 0
everydaysdecimal 1–60
promptforagingEnabled = 1 · Disabled = 0
deleteexpiredEnabled = 1 · Disabled = 0
archiveoldEnabled = 1 · Disabled = 0
archivemountEnabled = 1 · Disabled = 0
archiveperioddecimal 1–60
archivegranularity0 = Months · 1 = Weeks · 2 = Days
archivedeleteEnabled = 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
DatentypString
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

Alle Richtlinien dieser Kategorie · Alle 406 Richtlinien von outlk16.admx