Windows 11 25H2 "Outlook(new)" und "OneDrive" für alle + zukünftigen User entfernen (Domäne)

Du möchtest den Desktop oder die Apps schick machen? Deine Apps starten nicht oder lassen sich nicht installieren?
Antworten
Benutzeravatar
Dino93
Nachwuchs
Nachwuchs
Beiträge: 52
Registriert: 31.07.2023, 21:23
Hat sich bedankt: 25 Mal
Danke erhalten: 1 Mal
Gender:

Windows 11 25H2 "Outlook(new)" und "OneDrive" für alle + zukünftigen User entfernen (Domäne)

Beitrag von Dino93 » 09.02.2026, 10:30

Guten Tag zusammen,

in unserer Domäne haben wir immer wieder das Problem, dass Anwender das falsche Outlook öffnen oder versuchen, OneDrive zu nutzen. Dies möchten wir gerne unterbinden.

Über diverse Skripte lassen sich zwar „Outlook (neu)“, „OneDrive“ und „OneDrive for Business“ unter dem aktuellen User deinstallieren. Allerdings erscheint bei der Anmeldung eines vorhandenen Users oder bei der ersten Anmeldung eines neuen Users das Symbol „Outlook (neu)“ wieder in der Taskleiste. Nach einem Klick darauf lädt es sich automatisch aus dem Store wieder herunter.

Gibt es hierfür eine Lösung, idealerweise über Skripte, die wir über unsere Softwareverteilung ausrollen können?

Ich wäre euch sehr dankbar für Tipps oder Ansätze.

Vielen Dank!
:dankeschoen: :daumen: :thx:
Windows 10 22H2

Tante Google

Windows 11 25H2 "Outlook(new)" und "OneDrive" für alle + zukünftigen User entfernen (Domäne)

Beitrag von Tante Google » 09.02.2026, 10:30


Benutzeravatar
Holgi
Guru
Guru
Beiträge: 3837
Registriert: 12.05.2018, 12:33
Hat sich bedankt: 504 Mal
Danke erhalten: 742 Mal
Gender:

Re: Windows 11 25H2 "Outlook(new)" und "OneDrive" für alle + zukünftigen User entfernen (Domäne)

Beitrag von Holgi » 09.02.2026, 11:27

hätte nicht gedacht, dass im Unternehmensumfeld den Anwendern der Zugriff auf den Store erlaubt wird. Aber nun denn.
Muss der Store installiert sein? > Sonst den Store eleminieren.
Dann noch Content Delivery mit Registry Einträgen bändigen:
search.php?keywords=content+delivery
Das Installationsimage von Windows schon mit NTLite oder DISM++ bearbeiten.
Mir fallen da noch so ein paar Dinge ein, aber es hängt auch von vielen Faktoren ab:
Welche Windows Version (Home/Pro/Enterprise), wie wird Office installiert ...
PDF24 angepasste Installation (nur PDF Druckertreiber) per Script: viewtopic.php?t=30284
Winget (Desktop App Installer) für Windows Versionen ohne Store installieren (HowTo): viewtopic.php?t=26214
Vorstellung: tiny11builder; Script zur Verschlankung von Windows 11: viewtopic.php?t=30134
Windows StartMenü Empfohlen (Recommended Section) komplett ausblenden: viewtopic.php?t=30574
Hyper-V VM per Script erstellen viewtopic.php?t=25114

Benutzeravatar
John-Boy
★ Team Forum ★
Beiträge: 1796
Registriert: 03.08.2017, 15:50
Hat sich bedankt: 52 Mal
Danke erhalten: 712 Mal
Gender:

Re: Windows 11 25H2 "Outlook(new)" und "OneDrive" für alle + zukünftigen User entfernen (Domäne)

Beitrag von John-Boy » 09.02.2026, 11:42

Outlook (neu) global entfernen (SYSTEM-Kontext!)

Powershell:

Code: Alles auswählen

# Outlook (neu) für alle User entfernen
Get-AppxPackage -AllUsers *OutlookForWindows* | Remove-AppxPackage -AllUsers

# Provisionierung entfernen (entscheidend für neue User!)
Get-AppxProvisionedPackage -Online |
Where-Object { $_.DisplayName -like "*OutlookForWindows*" } |
Remove-AppxProvisionedPackage -Online
„Neues Outlook“ per Policy deaktivieren
Registry (skriptfähig)

Code: Alles auswählen

$regPath = "HKLM:\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General"
New-Item -Path $regPath -Force | Out-Null

New-ItemProperty `
  -Path $regPath `
  -Name "HideNewOutlookToggle" `
  -PropertyType DWord `
  -Value 1 `
  -Force
Vorteil von HKLM:
gilt für alle User
auch für neu angelegte Profile

OneDrive unter Windows 11 hart deaktivieren

Code: Alles auswählen

New-Item -Path "HKLM:\Software\Policies\Microsoft\Windows\OneDrive" -Force

New-ItemProperty `
  -Path "HKLM:\Software\Policies\Microsoft\Windows\OneDrive" `
  -Name "DisableFileSyncNGSC" `
  -PropertyType DWord `
  -Value 1 `
  -Force
Microsoft Store blockieren
Wenn ihr keine Store-Apps braucht:

Code: Alles auswählen

New-Item -Path "HKLM:\Software\Policies\Microsoft\WindowsStore" -Force

New-ItemProperty `
  -Path "HKLM:\Software\Policies\Microsoft\WindowsStore" `
  -Name "RemoveWindowsStore" `
  -PropertyType DWord `
  -Value 1 `
  -Force
Alles zusammen in einem PowerShell-Skript für Windows 11
✔ Entfernt Outlook (neu) (inkl. Provisionierung)
✔ Blendet „Neues Outlook“ global aus
✔ Verhindert Taskleisten-Pinning
✔ Deaktiviert OneDrive
✔ Optional: blockiert den Microsoft Store
✔ Logging nach C:\ProgramData\DisableModernOutlook.log

Code: Alles auswählen

# ==========================================================
# Disable Modern Outlook & OneDrive - Windows 11
# Run as SYSTEM
# ==========================================================

$LogFile = "C:\ProgramData\DisableModernOutlook.log"

function Write-Log {
    param ([string]$Message)
    $Time = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
    Add-Content -Path $LogFile -Value "$Time | $Message"
}

Write-Log "==== Script start ===="

# ----------------------------------------------------------
# 1. Remove Outlook (new) AppX (installed + provisioned)
# ----------------------------------------------------------
try {
    Write-Log "Removing Outlook (new) AppX packages..."

    Get-AppxPackage -AllUsers *OutlookForWindows* | ForEach-Object {
        Write-Log "Removing AppX for user: $($_.PackageFullName)"
        Remove-AppxPackage -Package $_.PackageFullName -AllUsers -ErrorAction SilentlyContinue
    }

    Get-AppxProvisionedPackage -Online |
        Where-Object { $_.DisplayName -like "*OutlookForWindows*" } |
        ForEach-Object {
            Write-Log "Removing provisioned package: $($_.DisplayName)"
            Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName -ErrorAction SilentlyContinue
        }

} catch {
    Write-Log "ERROR removing Outlook (new): $_"
}

# ----------------------------------------------------------
# 2. Hide "New Outlook" toggle (global)
# ----------------------------------------------------------
try {
    Write-Log "Disabling New Outlook toggle..."

    $OutlookPolicyPath = "HKLM:\Software\Policies\Microsoft\Office\16.0\Outlook\Options\General"
    New-Item -Path $OutlookPolicyPath -Force | Out-Null

    New-ItemProperty `
        -Path $OutlookPolicyPath `
        -Name "HideNewOutlookToggle" `
        -PropertyType DWord `
        -Value 1 `
        -Force | Out-Null

} catch {
    Write-Log "ERROR setting Outlook policy: $_"
}

# ----------------------------------------------------------
# 3. Taskbar layout (prevent pinning)
# ----------------------------------------------------------
try {
    Write-Log "Applying taskbar layout..."

    $LayoutFile = "C:\Windows\LayoutModification.xml"

@"
<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate
  xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
  Version="1">

  <CustomTaskbarLayoutCollection PinListPlacement="Replace">
    <defaultlayout:TaskbarLayout
      xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout">
      <defaultlayout:TaskbarPinList>
      </defaultlayout:TaskbarPinList>
    </defaultlayout:TaskbarLayout>
  </CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>
"@ | Set-Content -Path $LayoutFile -Encoding UTF8

    $ExplorerPolicyPath = "HKLM:\Software\Policies\Microsoft\Windows\Explorer"
    New-Item -Path $ExplorerPolicyPath -Force | Out-Null

    New-ItemProperty `
        -Path $ExplorerPolicyPath `
        -Name "StartLayoutFile" `
        -PropertyType String `
        -Value $LayoutFile `
        -Force | Out-Null

} catch {
    Write-Log "ERROR applying taskbar layout: $_"
}

# ----------------------------------------------------------
# 4. Disable OneDrive
# ----------------------------------------------------------
try {
    Write-Log "Disabling OneDrive..."

    $OneDrivePolicyPath = "HKLM:\Software\Policies\Microsoft\Windows\OneDrive"
    New-Item -Path $OneDrivePolicyPath -Force | Out-Null

    New-ItemProperty `
        -Path $OneDrivePolicyPath `
        -Name "DisableFileSyncNGSC" `
        -PropertyType DWord `
        -Value 1 `
        -Force | Out-Null

    Stop-Process -Name OneDrive -Force -ErrorAction SilentlyContinue

} catch {
    Write-Log "ERROR disabling OneDrive: $_"
}

# ----------------------------------------------------------
# 5. Optional: Disable Microsoft Store
# ----------------------------------------------------------
try {
    Write-Log "Disabling Microsoft Store..."

    $StorePolicyPath = "HKLM:\Software\Policies\Microsoft\WindowsStore"
    New-Item -Path $StorePolicyPath -Force | Out-Null

    New-ItemProperty `
        -Path $StorePolicyPath `
        -Name "RemoveWindowsStore" `
        -PropertyType DWord `
        -Value 1 `
        -Force | Out-Null

} catch {
    Write-Log "ERROR disabling Store: $_"
}

Write-Log "==== Script completed ===="
exit 0
Vorab testen und Sicherung nicht vergessen
Grüße
John
+++Kein Backup – kein Mitleid+++
“Anything that can go wrong will go wrong.”

Antworten