-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathw10apprm.ps1
More file actions
54 lines (50 loc) · 2.4 KB
/
w10apprm.ps1
File metadata and controls
54 lines (50 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#Windows 10 Default App Removal Script
#--------------------------------------------------------------------------------------
$apps=@(
"9E2F88E3.Twitter" #Twitter
"ClearChannelRadioDigital.iHeartRadio" #iHeartRadio
#"Flipboard.Flipboard" #Flipboard
"king.com.CandyCrushSodaSaga" #CandyCrushSodaSaga
"Microsoft.3DBuilder" #3D Printing Software
#"Microsoft.Appconnector" #Always required, not sure what it does -- DO NOT REMOVE
"Microsoft.BingFinance" #Bing Finance
"Microsoft.BingNews" #Bing News
"Microsoft.BingSports" #Bing Sports
#"Microsoft.BingWeather" #Bing Weather
"Microsoft.CommsPhone" #Communications - Phone App
"Microsoft.Getstarted" #Get Started Hub
"Microsoft.Messaging" #Windows Messenger
"Microsoft.MicrosoftOfficeHub" #Office 2016 Hub
"Microsoft.MicrosoftSolitaireCollection" #Solitaire
#"Microsoft.Office.OneNote" #OneNote
"Microsoft.Office.Sway" #Sway Presentation/Collab Software
"Microsoft.People" #People Hub
"Microsoft.SkypeApp" #Skype
"Microsoft.Windows.Phone" #Windows Phone Connector
#"Microsoft.Windows.Photos" #Photos Hub
#"Microsoft.WindowsAlarms" #Alarms and Clock
#"Microsoft.WindowsCalculator" #Calculator
#"Microsoft.WindowsCamera" #Camera
#"Microsoft.WindowsMaps" #Maps
"Microsoft.WindowsPhone" #More Windows Phone
#"Microsoft.WindowsSoundRecorder" #Recorder
#"Microsoft.WindowsStore" #App Store -- DO NOT REMOVE
"Microsoft.XboxApp" #Xbox
"Microsoft.ZuneMusic" #Zune or Groove Music
"Microsoft.ZuneVideo" #Zune Video or Groove Video
"Microsoft.windowscommunicationsapps" #Default Mail and Calendar Apps
"Microsoft.MinecraftUWP" #Minecraft
"ShazamEntertainmentLtd.Shazam" #Shazam
"Microsoft.FreshPaint" #FreshPaint
#"Microsoft.SurfaceHub" #Surface Hub
"TheNewYorkTimes.NYTCrossword" #New York Times Crossword
"Microsoft.ConnectivityStore" #Microsoft WiFi App
)
foreach ($app in $apps) {
Write-Output $app
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -Online | where DisplayName -EQ $app | Remove-AppxProvisionedPackage -Online
$appPath="$Env:LOCALAPPDATA\Packages\$app*"
Remove-Item $appPath -Recurse -Force -ErrorAction 0
}
#Get-AppxPackage -Name "Microsoft.WindowsStore" -AllUsers | Remove-AppxPackage #This is the benign way to remove App Store without unprovisioning... so you can get it back.