Vermeide das Upgrade Office / Outlook 2024 auf Office / Outlook 365 (Outlook new)

# verhindere im Netzwerk, das die / der Rechner office 365 kontaktieren kann
# erzeuge einen neuen Eintrag im Windows Hosts file:
C:\Windows\System32\drivers\etc\hosts
127.0.0.1 outlook.office365.com


# https://learn.microsoft.com/de-de/microsoft-365-apps/outlook/get-started/control-install
# Blockieren Sie die neue Outlook-Vorinstallation unter Windows
Remove-AppxProvisionedPackage -AllUsers -Online -PackageName (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName

# entferne den Registzry Eintrag:
# HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\OutlookUpdate

# So deaktivieren Sie die automatische Migration::
# HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Preferences
# NewOutlookMigrationUserSetting"=dword:00000000


# entferne das neue Outlook für alle Benutzer auf diesem Computer:
Remove-AppxPackage -AllUsers -Package (Get-AppxPackage Microsoft.OutlookForWindows).PackageFullName

# Blockieren neuer Outlook-Installationen im Zuge der Einstellung der Funktionen für E-Mail und Kalender
Get-AppxProvisionedPackage -Online | Where {$_.DisplayName -match "microsoft.windowscommunicationsapps"} | Remove-AppxProvisionedPackage -Online -PackageName {$_.PackageName}


## alle Registry Schlüssel sind bei Microsoft dokumentiert
# Zwangsupdate verhindern
HKEY_LOCAL_MACHINE\Office\Policies\Microsoft\Office\16.0\Common\officeupdate
"EnableAutomaticUpdates"=dword:00000000


## weitere Registry-Schlüssel, die das Upgrade / die Migration vernindern sollen:
# Policy zur Deaktivierung der automatischen Umstellung auf Microsoft Outlook new
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Preferences
"NewOutlookMigrationUserSetting"=dword:00000000

# Zweite Policy zur Deaktivierung der automatischen Umstellung auf Microsoft Outlook new
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General
"DoNewOutlookAutoMigration"=dword:00000000

# Policy, um automatisches Öffnen von Microsoft Outlook new beim Starten vom Microsoft Outlook zu deaktivieren
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Preferences
"UseNewOutlook"=dword:00000000

# Policy zur Intervallsteuerung zwischen Migrationsversuchen
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General
"NewOutlookAutoMigrationRetryIntervals"=dword:00000000

# Policy, um Schalter „Neues Outlook testen” auszublenden
KEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General
"HideNewOutlookToggle"=dword:0000000


# oder alles auf der Kommandozeile als Administrator:
reg delete "HKLM\Software\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\OutlookUpdate" /f
reg add "HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Preferences" /v "NewOutlookMigrationUserSetting" /t REG_DWORD /d 0
reg add "HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Preferences" /v "UseNewOutlook" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General" /v "DoNewOutlookAutoMigration" /t REG_DWORD /d 0
reg add "HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General" /v "HideNewOutlookToggle" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General" /v "NewOutlookAutoMigrationRetryIntervals" /t REG_DWORD /d 0

reg add "HKCU\Software\Microsoft\Office\16.0\Outlook\Preferences" /v "NewOutlookMigrationUserSetting" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Outlook\Preferences" /v "UseNewOutlook" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Outlook\Options\General" /v "DoNewOutlookAutoMigration" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Outlook\Options\General" /v "HideNewOutlookToggle" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Outlook\Options\General" /v "NewOutlookAutoMigrationRetryIntervals" /t REG_DWORD /d 0