bella21
Goto Top

Powershell Skript unnötige App entfernen lassen

Hallo, gibt es auch ein Shell Skript, wo ich unnötige App auf ein frisch installierten Windows 10 pro entfernt, Beispielweise was der Kunde nicht benötigt. Ich möchte nur das drauf lassen, was sich nicht deinstalliert lässt?


Vielen Dank im Voraus.
face-smile
Bella

Content-Key: 1740354280

Url: https://administrator.de/contentid/1740354280

Ausgedruckt am: 24.04.2024 um 07:04 Uhr

Mitglied: SlainteMhath
SlainteMhath 19.01.2022 um 16:31:32 Uhr
Goto Top
Moin,

unter Powershell mit Remove-AppPackage und Remove-AppXPackage lässt sich sowas bewerkstelligen.

lg,
Slainte
Mitglied: MrCount
MrCount 19.01.2022 um 16:32:30 Uhr
Goto Top
Mitglied: MirkoKR
MirkoKR 19.01.2022 um 18:01:10 Uhr
Goto Top
Schau dir mal dism++ an, das ist eine gute GUI auch für solche Zwecke...
Mitglied: joehuaba
joehuaba 20.01.2022 um 07:42:00 Uhr
Goto Top
Oder alle auf einmal per PowerShell:
https://www.itnator.net/uninstall-windows-apps/
Mitglied: Bella21
Bella21 20.01.2022 um 21:38:21 Uhr
Goto Top
Hallo Joehuaba,

vielen Dank für den Link, ich habe folgender Befehl eingegeben:

Get-AppxPackage *3D-Viewer* | Remove-AppxPackage

Das App wird nicht deinstalliert.

Powershell wurde als Administrator ausgeführt.

Danke
Mitglied: Bella21
Bella21 20.01.2022 um 22:43:58 Uhr
Goto Top
Hallo,

Ich habe folgender Befehl eingegeben:

Get-AppxPackage *3D-Viewer* | Remove-AppxPackage

Das App wird nicht deinstalliert.

Powershell wurde als Administrator ausgeführt.

Danke
Mitglied: bfgnetburn
Lösung bfgnetburn 21.01.2022 um 20:22:24 Uhr
Goto Top
Hallo @Bella21,

die App 3D Viewer heisst anders.

Gib dir so eine Liste aller installierten Windows Apps aus (Adminsitzung nicht notwendig):
Get-AppxPackage | select Name

Ausgabe:
...
Microsoft.StorePurchaseApp
Microsoft.Microsoft3DViewer
Microsoft.UI.Xaml.2.7
...

Dann kannst Du eine spezifische App entfernen mit:
Get-AppxPackage -Name "Microsoft.Microsoft3DViewer" | Remove-AppxPackage  

Als Admin kann man eine App aus allen User-Konten entfernen mit:
Get-AppxPackage -Name "Microsoft.Microsoft3DViewer" -AllUsers | Remove-AppxPackage  

Anbei eine Liste an Apps, die ich beim Deployment eines neuen Clients immer laufen lasse:
Get-AppxPackage -Name "Microsoft.MicrosoftSolitaireCollection" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.BingWeather" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.GetHelp" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.GetStarted" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.Microsoft3DViewer" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.MicrosoftOfficeHub" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.MicrosoftStickyNotes" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.OneConnect" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.SkypeApp" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.windowscommunicationsapps" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.WindowsFeedbackHub" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.XboxApp" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.Xbox.TCUI" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.XboxGameOverlay" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.XboxGamingOverlay" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.XboxIdentityProvider" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.XboxIdentityProvide" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.XboxSpeechToTextPverlay" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.XboxSpeechToTextOverlay" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.YourPhone" | Remove-AppxPackage  
Get-AppxPackage -Name "XINGAG.XING" | Remove-AppxPackage  
Get-AppxPackage -Name "SpotifyAB.SpotifyMusic" | Remove-AppxPackage  
Get-AppxPackage -Name "Microsoft.BingNews" | Remove-AppxPackage  
Mitglied: Bella21
Bella21 21.01.2022 um 20:30:20 Uhr
Goto Top
Danke face-smile