Deaktivieren Outlook (Office) Logging und Löschen der Dateien

Ich hatte ca. 20 GB ETL-Dateien in \Users\<username>\AppData\Local\Temp\Outlook Logging\ (dito Excel etc.)

Alle im o.g. Beitrag genannten und sonst ergoogleten Mehoden zur Verhinderung dieses Loggings haben nicht geholfen:
Why Outlook keeps creating the ETL files is still unclear. Even setting the correct registry keys won’t prevent Outlook from creating the files. The problem with the ETL files started at the beginning of 2022. At the moment, there is still no permanent fix for this issue.

Geholfen (Löschen und Verhindern zukünftiger Loggings) hat bisher folgendes Skript aus o.g. Beitrag:

# Get all Users
$Users = Get-ChildItem -Path "$($ENV:SystemDrive)\Users"
# Process all the Users
$Users | ForEach-Object {
    Write-Host "Processing user: $($_.Name)" -ForegroundColor Cyan
    $path = "$($ENV:SystemDrive)\Users\$($_.Name)\AppData\Local\Temp\Outlook Logging\"
    If (Test-Path $path) {
       Write-host "Removing log files from $path" -ForegroundColor Cyan
       Remove-Item -Path $path -Recurse
       Write-host "Creating dummy file to prevent log files" -ForegroundColor Cyan
       New-Item -Path "$($ENV:SystemDrive)\Users\$($_.Name)\AppData\Local\Temp" -Name "Outlook Logging" -ItemType File
    }
}

Stand: 2023-10-04

Ähnliche Beiträge

35. Newsletter

Windows 10 Upgrade 20H2 | FlashPlayer wird eingestellt | Emotet |Jahreswechsel  Version vom 10.11.2020 10 Upgrade 20H2 Ab sofort wird

Weiterlesen

36. Newsletter

Neue Version des daily-Jobs etc. Version vom 11.03.2023 Da ich wieder zurück im IT-Support bin, will ich hiermit die alte

Weiterlesen