:

    Windows SSO Aufforderung ausblenden

    In diesem Video zeigt euch Raphael, wie ihr die “Mit Anmeldung fortfahren?"-Aufforderung bei SSO-Anmeldungen auf verwalteten Windows-Geräten automatisch akzeptieren und damit für eure User ausblenden könnt – umgesetzt als Intune Platform Script.





    Steht ein Intune-Projekt an?

    Melde dich bei uns!



    Das im Video verwendete PowerShell-Skript findest du hier.

    Set-AutoAcceptSSO.ps1

    # Setzt AutoAcceptSsoPermission, damit Windows die SSO-Aufforderung automatisch bestätigt
     
    # Hinweis: Wirkt erst ab Windows 11 24H2 / 25H2 mit den Juli-2026-Sicherheitsupdates (bei 25H2: KB5101650).
    # Auf älteren oder ungepatchten Builds wird der Wert ignoriert und greift automatisch, sobald die Updates installiert sind.
     
    # Verteilung über Intune: Devices > Windows > Scripts and Remediations > Platform Scripts
    # Run this script using the logged on credentials: No (Systemkontext, da HKLM)
    # Enforce script signature check: No
    # Run script in 64 bit PowerShell Host: Yes (sonst landet der Wert unter WOW6432Node)
    
    $RegPath   = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AAD'
    $ValueName = 'AutoAcceptSsoPermission'
    
    try {
        if (-not (Test-Path $RegPath)) { New-Item -Path $RegPath -Force | Out-Null }
        New-ItemProperty -Path $RegPath -Name $ValueName -Value 1 -PropertyType DWord -Force | Out-Null
        exit 0
    }
    catch {
        Write-Error $_.Exception.Message
        exit 1
    }