https://lazyadmin.nl/it/disable-outlook-logging-and-remove-etl-files/
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