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

Printed on: April 26, 2024 at 08:04 o'clock

Member: SlainteMhath
SlainteMhath Jan 19, 2022 at 15:31:32 (UTC)
Goto Top
Moin,

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

lg,
Slainte
Member: MrCount
MrCount Jan 19, 2022 at 15:32:30 (UTC)
Goto Top
Member: MirkoKR
MirkoKR Jan 19, 2022 at 17:01:10 (UTC)
Goto Top
Schau dir mal dism++ an, das ist eine gute GUI auch für solche Zwecke...
Member: joehuaba
joehuaba Jan 20, 2022 at 06:42:00 (UTC)
Goto Top
Oder alle auf einmal per PowerShell:
https://www.itnator.net/uninstall-windows-apps/
Member: Bella21
Bella21 Jan 20, 2022 at 20:38:21 (UTC)
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
Member: Bella21
Bella21 Jan 20, 2022 at 21:43:58 (UTC)
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
Member: bfgnetburn
Solution bfgnetburn Jan 21, 2022 at 19:22:24 (UTC)
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  
Member: Bella21
Bella21 Jan 21, 2022 at 19:30:20 (UTC)
Goto Top
Danke face-smile