Datensammlung Micorosft

Windows Sicherheitseinschränkung Vorinstallierte Apps

Bei einer Bereitstellung von Windows stehen einige bereits vorinstallierte Apps zur verfügung.

Diese können mit dem folgenden PowerShell Skript entfernt werden.

Die Ausführungsrechte muss mit erhöhten Rechten erfolgen!

$ErrorActionPreference = "SilentlyContinue"

# Apps deinsatllation
# Gekennzeichnete Apps (##) sollten nicht entfernt werden
$apps = @(
    [PSCustomObject]@{name="*EclipseManager"}
    [PSCustomObject]@{name="*PicsArt-PhotoStudio"}
    [PSCustomObject]@{name="*Twitter"}
    [PSCustomObject]@{name="AdobeSystemsIncorporated.AdobePhotoshopExpress"}
    [PSCustomObject]@{name="Microsoft.3DBuilder"}
    [PSCustomObject]@{name="Microsoft.Appconnector"}
    [PSCustomObject]@{name="Microsoft.BingNews"}
    [PSCustomObject]@{name="Microsoft.BingWeather"}
    [PSCustomObject]@{name="Microsoft.BingFinance"}
    [PSCustomObject]@{name="Microsoft.BingSports"}
    [PSCustomObject]@{name="Microsoft.FreshPaint"}
    [PSCustomObject]@{name="Microsoft.GetHelp"}
    [PSCustomObject]@{name="Microsoft.Getstarted"}
    ##[PSCustomObject]@{name="Microsoft.DesktopAppInstaller"}
    [PSCustomObject]@{name="Microsoft.Messaging"}
    [PSCustomObject]@{name="Microsoft.Microsoft3DViewer"}
    [PSCustomObject]@{name="Microsoft.MicrosoftOfficeHub"}
    [PSCustomObject]@{name="Microsoft.MicrosoftPowerBIForWindows"}    
    [PSCustomObject]@{name="Microsoft.MicrosoftSolitaireCollection"}
    [PSCustomObject]@{name="Microsoft.MicrosoftStickyNotes"}
    [PSCustomObject]@{name="Microsoft.MSPaint"}
    [PSCustomObject]@{name="Microsoft.Office.Sway"}
    [PSCustomObject]@{name="Microsoft.Office.OneNote"}
    [PSCustomObject]@{name="Microsoft.OneConnect"}
    [PSCustomObject]@{name="Microsoft.People"}
    [PSCustomObject]@{name="Microsoft.Print3D"}
    [PSCustomObject]@{name="Microsoft.SkypeApp"}
    ##[PSCustomObject]@{name="Microsoft.StorePurchaseApp"}
    [PSCustomObject]@{name="Microsoft.Wallet"}
    ##[PSCustomObject]@{name="Microsoft.WebMediaExtensions"}
    ##[PSCustomObject]@{name="Microsoft.WindowsAlarms"}
    ##[PSCustomObject]@{name="Microsoft.WindowsCalculator"}
    ##[PSCustomObject]@{name="Microsoft.WindowsCamera"}
    [PSCustomObject]@{name="microsoft.windowscommunicationsapps"}
    [PSCustomObject]@{name="Microsoft.WindowsFeedbackHub"}
    [PSCustomObject]@{name="Microsoft.WindowsMaps"}
    [PSCustomObject]@{name="Microsoft.WindowsPhone"}
    ##[PSCustomObject]@{name="Microsoft.Windows.Photos"}
    ##[PSCustomObject]@{name="Microsoft.WindowsSoundRecorder"}
    ##[PSCustomObject]@{name="Microsoft.WindowsStore"}
    [PSCustomObject]@{name="Microsoft.XboxApp"}
    [PSCustomObject]@{name="Microsoft.Xbox.TCUI"}
    [PSCustomObject]@{name="Microsoft.XboxGameOverlay"}
    [PSCustomObject]@{name="Microsoft.XboxGamingOverlay"}
    [PSCustomObject]@{name="Microsoft.XboxIdentityProvider"}
    [PSCustomObject]@{name="Microsoft.XboxSpeechToTextOverlay"}
    [PSCustomObject]@{name="Microsoft.ZuneMusic"}
    [PSCustomObject]@{name="Microsoft.ZuneVideo"}
)

# Apps loeschen
foreach($a in $apps){ 
    # neue Benutzer
    Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like $a.name} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
    # aktueller Benutzer
    Get-AppxPackage $a.name | Remove-AppxPackage
}


Weitere Links

https://intermundien.de/deaktivierung-der-datensammlung-und-weitergabe-an-microsoft-ueber-gpo