Skip to content

Instantly share code, notes, and snippets.

@EvilFreelancer
Last active May 13, 2018 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EvilFreelancer/fedc49cb0444478435a3af41cce8c465 to your computer and use it in GitHub Desktop.
Save EvilFreelancer/fedc49cb0444478435a3af41cce8c465 to your computer and use it in GitHub Desktop.
Remove embedded applications from Windows 10 (for all users of system)
# Generate lines for deleting, unfortinatly not possible to remove crap in loop
$array = @{
"Calculator"="windowscalculator";
"3D Builder"="3dbuilder";
"Alarms and Clock"="windowsalarms";
"Calendar and Mail"="windowscommunicationsapps";
"Camera"="windowscamera";
"Get Help"="gethelp";
"Groove Music"="zunemusic";
"Maps"="windowsmaps";
"Movies & TV"="zunevideo";
"OneNote"="onenote";
"People"="people";
"Photos"="photos";
"Store"="windowsstore";
"Voice Recorder"="soundrecorder";
"3D paint"="mspaint";
"Messaging"="messaging";
"Xbox"="xbox";
"Sticky Notes"="sticky"
}
foreach($key in $array.Keys){
echo "Get-AppxPackage -allusers *$($array[$key])* | Remove-AppxPackage"
}
# Run powershell with Admin and type folowing commands
Get-AppxPackage -allusers *windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage -allusers *people* | Remove-AppxPackage
Get-AppxPackage -allusers *mspaint* | Remove-AppxPackage
Get-AppxPackage -allusers *zunevideo* | Remove-AppxPackage
Get-AppxPackage -allusers *zunemusic* | Remove-AppxPackage
Get-AppxPackage -allusers *gethelp* | Remove-AppxPackage
Get-AppxPackage -allusers *windowscamera* | Remove-AppxPackage
Get-AppxPackage -allusers *windowscalculator* | Remove-AppxPackage
Get-AppxPackage -allusers *photos* | Remove-AppxPackage
Get-AppxPackage -allusers *soundrecorder* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsalarms* | Remove-AppxPackage
Get-AppxPackage -allusers *3dbuilder* | Remove-AppxPackage
Get-AppxPackage -allusers *onenote* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsstore* | Remove-AppxPackage
Get-AppxPackage -allusers *xbox* | Remove-AppxPackage
Get-AppxPackage -allusers *messaging* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsmaps* | Remove-AppxPackage
Get-AppxPackage -allusers *sticky* | Remove-AppxPackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment