Advertisement
FreeBooter

Uninstall_Windows11_Built-in_Apps

Aug 19th, 2022
1,235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 7.04 KB | Fixit | 0 0
  1. :: Uninstall Windows 11 Built-in Apps
  2. :: Created by FreeBooter
  3.  
  4. @Echo Off & Color 0E
  5.  
  6.  
  7. (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
  8.  
  9. Cd %TMP%
  10.  
  11. :Choice
  12.  
  13. Cls
  14. Echo.
  15. Echo 1. Remove all Pre-installed Apps for Current Account Only
  16. Echo.
  17. Echo 2. Remove all Pre-installed Apps for All Accounts
  18. Echo.
  19. Echo 3. Uninstall 3D Builder
  20. Echo.
  21. Echo 4. Uninstall Sway
  22. Echo.
  23. Echo 5. Uninstall Alarms and Clock
  24. Echo.
  25. Echo 6. Uninstall Calculator
  26. Echo.
  27. Echo 7. Uninstall Get Office
  28. Echo.
  29. Echo 8. Uninstall Calendar and Mail
  30. Echo.
  31. Echo 9. Uninstall Camera
  32. Echo.
  33. Echo 10. Uninstall Movies ^& TV
  34. Echo.
  35. Echo 11. Uninstall Contact Support
  36. Echo.
  37. Echo 12. Uninstall Groove Music and Movies ^& TV apps together
  38. Echo.
  39. Echo 13. Uninstall Maps
  40. Echo.
  41. Echo 14. Uninstall Microsoft Solitaire Collection
  42. Echo.
  43. Echo 15. Uninstall Money
  44. Echo.
  45. Echo 16. Uninstall Get Started
  46. Echo.
  47. Echo 17. Uninstall News
  48. Echo.
  49. Echo 18. Uninstall Sports
  50. Echo.
  51. Echo 19. Uninstall Weather
  52. Echo.
  53. Echo 20. Uninstall Money, News, Sports, and Weather apps together
  54. Echo.
  55. Echo 21. Uninstall OneNote
  56. Echo.
  57. Echo 22. Uninstall People
  58. Echo.
  59. Echo 23. Uninstall Your Phone Companiond
  60. Echo.
  61. Echo 24. Uninstall Photos
  62. Echo.
  63. Echo 25. Uninstall Microsoft Store
  64. Echo.
  65. Echo 26. Uninstall Voice Recorder
  66. Echo.
  67. Echo 27. Uninstall all Xbox App
  68. Echo.
  69. Echo.
  70.  
  71.  
  72. Set /p input= Type a number:
  73.  
  74. If %input%==1 Goto  :Current
  75. If %input%==2 Goto  :All
  76. If %input%==3 Goto  :3DBuilder
  77. If %input%==4 Goto  :Sway
  78. If %input%==5 Goto  :Alarms
  79. If %input%==6 Goto  :Calculator
  80. If %input%==7 Goto  :Office
  81. If %input%==8 Goto  :Mail
  82. If %input%==9 Goto  :Camera
  83. If %input%==10 Goto :Movies
  84. If %input%==11 Goto :ContactSupport
  85. If %input%==12 Goto :Groove
  86. If %input%==13 Goto :Maps
  87. If %input%==14 Goto :Solitaire
  88. If %input%==15 Goto :Money
  89. If %input%==16 Goto :GetStarted
  90. If %input%==17 Goto :News
  91. If %input%==18 Goto :Sports
  92. If %input%==19 Goto :Weather
  93. If %input%==20 Goto :Together
  94. If %input%==21 Goto :OneNote
  95. If %input%==22 Goto :People
  96. If %input%==23 Goto :Phone
  97. If %input%==24 Goto :Photos
  98. If %input%==25 Goto :Store
  99. If %input%==26 Goto :Voice
  100. If %input%==27 Goto :Xbox
  101.  
  102.  
  103. Goto :EOF
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111. :Current
  112.  
  113. Echo Get-AppxPackage ^| Remove-AppxPackage > Current.ps1
  114.  
  115. Powershell -ExecutionPolicy ByPass -File Current.ps1
  116.  
  117. Del Current.ps1
  118.  
  119. Goto :Choice
  120.  
  121.  
  122.  
  123. :All
  124.  
  125. Echo Get-AppxPackage -allusers | Remove-AppxPackage > All.ps1
  126.  
  127. Powershell -ExecutionPolicy ByPass -File All.ps1
  128.  
  129. Del All.ps1
  130.  
  131. Goto :Choice
  132.  
  133.  
  134.  
  135.  
  136. :3DBuilder
  137.  
  138. Echo Get-AppxPackage *3DBuilder* ^| Remove-AppxPackage > 3DBuilder.ps1
  139.  
  140. Powershell -ExecutionPolicy ByPass -File 3DBuilder.ps1
  141.  
  142. Del 3DBuilder.ps1
  143.  
  144. Goto :Choice
  145.  
  146.  
  147. :Sway
  148.  
  149. Echo Get-AppxPackage *sway* ^| remove-AppxPackage > sway.ps1
  150.  
  151. Powershell -ExecutionPolicy ByPass -File sway.ps1
  152.  
  153. Del sway.ps1
  154.  
  155. Goto :Choice
  156.  
  157.  
  158.  
  159. :Alarms
  160.  
  161. Echo Get-AppxPackage *Alarms* ^| Remove-AppxPackage > Alarms.ps1
  162.  
  163. Powershell -ExecutionPolicy ByPass -File Alarms.ps1
  164.  
  165. Del Alarms.ps1
  166.  
  167. Goto :Choice
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175. :Calculator
  176.  
  177. Echo Get-AppxPackage *Calculator* ^| Remove-AppxPackage > Calculator.ps1
  178.  
  179. Powershell -ExecutionPolicy ByPass -File Calculator.ps1
  180.  
  181. Del Calculator.ps1
  182.  
  183. Goto :Choice
  184.  
  185.  
  186.  
  187.  
  188.  
  189. :Office
  190.  
  191. Echo Get-AppxPackage *MicrosoftOfficeHub* ^| Remove-AppxPackage > Office.ps1
  192.  
  193. Powershell -ExecutionPolicy ByPass -File Office.ps1
  194.  
  195. Del Office.ps1
  196.  
  197. Goto :Choice
  198.  
  199.  
  200.  
  201. :Mail
  202.  
  203. Echo Get-AppxPackage *communicationsapps* ^| Remove-AppxPackage > Communications.ps1
  204.  
  205. Powershell -ExecutionPolicy ByPass -File Communications.ps1
  206.  
  207. Del Communications.ps1
  208.  
  209. Goto :Choice
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217. :Camera
  218.  
  219. Echo Get-AppxPackage *WindowsCamera* ^| Remove-AppxPackage > Camera.ps1
  220.  
  221. Powershell -ExecutionPolicy ByPass -File Camera.ps1
  222.  
  223. Del Camera.ps1
  224.  
  225. Goto :Choice
  226.  
  227.  
  228.  
  229.  
  230. :ZuneVideo
  231.  
  232.  
  233. Echo Get-AppxPackage *ZuneVideo* ^| Remove-AppxPackage > ZuneVideo.ps1
  234.  
  235. Powershell -ExecutionPolicy ByPass -File ZuneVideo.ps1
  236.  
  237. Del ZuneVideo.ps1
  238.  
  239. Goto :Choice
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247. :ContactSupport
  248.  
  249. Echo Get-AppxPackage *ContactSupport* ^| Remove-AppxPackage > ContactSupport.ps1
  250.  
  251. Powershell -ExecutionPolicy ByPass -File ContactSupport.ps1
  252.  
  253. Del ContactSupport.ps1
  254.  
  255. Goto :Choice
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263. :Groove
  264.  
  265. Echo Get-AppxPackage  *zune* |  Remove-AppxPackage > zune.ps1
  266.  
  267. Powershell -ExecutionPolicy ByPass -File zune.ps1
  268.  
  269. Del zune.ps1
  270.  
  271. Goto :Choice
  272.  
  273.  
  274.  
  275.  
  276. :Maps
  277.  
  278. Echo Get-AppxPackage *Maps* ^| Remove-AppxPackage > Maps.ps1
  279.  
  280. Powershell -ExecutionPolicy ByPass -File Maps.ps1
  281.  
  282. Del Maps.ps1
  283.  
  284. Goto :Choice
  285.  
  286.  
  287.  
  288.  
  289. :Solitaire
  290.  
  291.  
  292. Echo Get-AppxPackage *Solitaire* ^| Remove-AppxPackage > Solitaire.ps1
  293.  
  294. Powershell -ExecutionPolicy ByPass -File Solitaire.ps1
  295.  
  296. Del Solitaire.ps1
  297.  
  298. Goto :Choice
  299.  
  300.  
  301.  
  302. :Money
  303.  
  304. Echo Get-AppxPackage *bingfinance* ^| Remove-AppxPackage > bingfinance.ps1
  305.  
  306. Powershell -ExecutionPolicy ByPass -File bingfinance.ps1
  307.  
  308. Del bingfinance.ps1
  309.  
  310. Goto :Choice
  311.  
  312.  
  313.  
  314.  
  315. :GetStarted
  316.  
  317. Echo Get-AppxPackage *GetStarted* ^| Remove-AppxPackage > GetStarted.ps1
  318.  
  319. Powershell -ExecutionPolicy ByPass -File GetStarted.ps1
  320.  
  321. Del GetStarted.ps1
  322.  
  323. Goto :Choice
  324.  
  325.  
  326.  
  327.  
  328. :News
  329.  
  330. Echo Get-AppxPackage *bingnews* ^| Remove-AppxPackage > bingnews.ps1
  331.  
  332. Powershell -ExecutionPolicy ByPass -File bingnews.ps1
  333.  
  334. Del bingnews.ps1
  335.  
  336. Goto :Choice
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344. :Sports
  345.  
  346. Echo Get-AppxPackage *bingsports* ^| Remove-AppxPackage > bingsports.ps1
  347.  
  348. Powershell -ExecutionPolicy ByPass -File bingsports.ps1
  349.  
  350. Del bingsports.ps1
  351.  
  352. Goto :Choice
  353.  
  354.  
  355.  
  356.  
  357.  
  358. :Weather
  359.  
  360. Echo Get-AppxPackage *bingweather* ^| Remove-AppxPackage > bingweather.ps1
  361.  
  362. Powershell -ExecutionPolicy ByPass -File bingweather.ps1
  363.  
  364. Del bingweather.ps1
  365.  
  366. Goto :Choice
  367.  
  368.  
  369.  
  370.  
  371. :Together
  372.  
  373. Echo et-Appxpackage *bing* ^| Remove-AppxPackage > bing.ps1
  374.  
  375. Powershell -ExecutionPolicy ByPass -File bing.ps1
  376.  
  377. Del bing.ps1
  378.  
  379. Goto :Choice
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386. :OneNote
  387.  
  388. Echo Get-AppxPackage *OneNote* ^| Remove-AppxPackage > OneNote.ps1
  389.  
  390. Powershell -ExecutionPolicy ByPass -File OneNote.ps1
  391.  
  392. Del OneNote.ps1
  393.  
  394. Goto :Choice
  395.  
  396.  
  397.  
  398. :People
  399.  
  400. Echo Get-AppxPackage *People* ^| Remove-AppxPackage > People.ps1
  401.  
  402. Powershell -ExecutionPolicy ByPass -File People.ps1
  403.  
  404. Del People.ps1
  405.  
  406. Goto :Choice
  407.  
  408.  
  409.  
  410.  
  411. :YourPhone
  412.  
  413. Echo Get-AppxPackage *YourPhone* ^| Remove-AppxPackage > YourPhone.ps1
  414.  
  415. Powershell -ExecutionPolicy ByPass -File YourPhone.ps1
  416.  
  417. Del YourPhone.ps1
  418.  
  419. Goto :Choice
  420.  
  421.  
  422.  
  423.  
  424. :Photos
  425.  
  426. Echo Get-AppxPackage *Photos* ^| Remove-AppxPackage > Photos.ps1
  427.  
  428. Powershell -ExecutionPolicy ByPass -File Photos.ps1
  429.  
  430. Del Photos.ps1
  431.  
  432. Goto :Choice
  433.  
  434.  
  435.  
  436.  
  437. :Store
  438.  
  439. Echo Get-AppxPackage *WindowsStore* ^| Remove-AppxPackage > Store.ps1
  440.  
  441. Powershell -ExecutionPolicy ByPass -File Store.ps1
  442.  
  443. Del Store.ps1
  444.  
  445. Goto :Choice
  446.  
  447.  
  448.  
  449.  
  450.  
  451. :Voice
  452.  
  453. Echo Get-AppxPackage *soundrecorder* ^| Remove-AppxPackage > soundrecorder.ps1
  454.  
  455. Powershell -ExecutionPolicy ByPass -File soundrecorder.ps1
  456.  
  457. Del soundrecorder.ps1
  458.  
  459. Goto :Choice
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. :XboxApp
  467.  
  468. Echo Get-AppxPackage *Xbox* ^| Remove-AppxPackage > XboxApp.ps1
  469.  
  470. Powershell -ExecutionPolicy ByPass -File XboxApp.ps1
  471.  
  472. Del XboxApp.ps1
  473.  
  474. Goto :Choice
  475.  
  476.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement