2017
Oct 
25

Make Windows 10 Leaner

Filed under: Windows — Tags: , , , , — burner @ 8:13 am  

Paste in powershell or save as .ps1. Removes all the terrible apps installed by default.

Get-AppXPackage | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage

To remove just start menu items
(updated to remove all the junk in Win 10 ver 1803)

function Pin-App { param(
 [string]$appname,
 [switch]$unpin
 )
 try{
 if ($unpin.IsPresent){
 ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'From "Start" UnPin|Unpin from Start'} | %{$_.DoIt()}
 return "App '$appname' unpinned from Start"
 }else{
 ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'To "Start" Pin|Pin to Start'} | %{$_.DoIt()}
 return "App '$appname' pinned to Start"
 }
 }catch{
 Write-Error "Error Pinning/Unpinning App! (App-Name correct?)"
 }
 }

Pin-App "Mail" -unpin
Pin-App "Store" -unpin
Pin-App "Calendar" -unpin
Pin-App "Microsoft Edge" -unpin
Pin-App "Photos" -unpin
Pin-App "Cortana" -unpin
Pin-App "Weather" -unpin
Pin-App "Phone Companion" -unpin
Pin-App "Music" -unpin
Pin-App "xbox" -unpin
Pin-App "movies & tv" -unpin
Pin-App "microsoft solitaire collection" -unpin
Pin-App "money" -unpin
Pin-App "get office" -unpin
Pin-App "onenote" -unpin
Pin-App -unpin "News" 
Pin-App -unpin "skype"
Pin-App -upin "Groove music"
Pin-App -upin "Microsoft Store"
Pin-App -upin "Sketchbook"
Pin-App -upin "Dolby Access"
Pin-App -upin "Disney Magic Kingdoms"
Pin-App -upin "Hidden City: Hidden Object Adventure"
Pin-App -upin "Bubble Witch 3 Saga"
Pin-App -upin "Candy Crush Soda Saga"
Pin-App -upin "Bubble Witch 3 Saga"

Win+I, then:
Turn off Background Apps.
Turn off all Privacy functions.
Turn off Transparency.