├── LICENSE
├── README.md
└── wingetdebloated.bat
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 ⠀terra1n
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # wingetdebloated
2 |
3 | winGetDebloated is a bloatware removal tool for windows 10 and above made in batch using the [winget package manager](https://github.com/microsoft/winget-cli)
4 |
5 | ## What is winget?
6 |
7 | Winget is like the Microsoft Store, you can install and uninstall packages but its in your command line.
8 |
9 | ## Usage
10 | **Note:** If you are on Windows 10 you must update or install winget [here](https://www.microsoft.com/p/app-installer/9nblggh4nns1)
11 |
12 | Just copy and paste this command into a command prompt with Administrator rights:
13 |
14 | powershell iwr https://raw.githubusercontent.com/2rf/winGetDebloated/main/wingetdebloated.bat -o wingetdebloated.bat && wingetdebloated.bat
15 |
16 | ### Remove:
17 | If wingetdebloated is no longer needed remove it with:
18 |
19 | del wingetdebloated.bat
20 |
21 | ## What will it remove?
22 |
23 |
24 | Windows 10
25 |
26 | ```
27 | Edge (Will ask first)
28 | Camera App (Will ask first)
29 | Snipping Tool (Will ask first)
30 | Skype
31 | Microsoft Teams
32 | Xbox Applications
33 | Groove-Music
34 | Feedback-Hub
35 | Microsoft Tips
36 | 3D-Viewer
37 | Paint-3D
38 | Weather
39 | Mail and Calendar
40 | Your Phone
41 | Contacts App
42 | Microsoft Pay
43 | Microsoft Maps
44 | Office
45 | OneNote
46 | Windows Sound Recorder
47 | Movies & TV App
48 | Mixed Reality-Portal
49 | Sticky Notes
50 | Get Help
51 | OneDrive
52 | Microsoft Solitaire Collection
53 | Calculator
54 | Microsoft Edge WebView2 Runtime
55 | ```
56 |
57 |
58 |
59 |
60 | Windows 11+
61 |
62 |
63 | All of the Windows 10 Applications and:
64 |
65 | ```
66 | Microsoft To do
67 | Power Automate
68 | Microsoft News
69 | Disney+
70 | Microsoft Family
71 | Quick Assist
72 | Clipchamp
73 | ...
74 | ```
75 |
76 |
77 | ## The script accidentally deleted an app that I wanted to keep.
78 |
79 | You can get the app you want back by using `winget install `. Say you wanted to keep the calculator app that the script removed, you can just do `winget install calculator`. Alternatively, look the application up on the microsoft store.
80 |
81 | ## Contributing
82 | Pull requests are welcome. Please make a Issue or pull request on what to add, I am only able to update this repository once in a while since I do not install windows 11 a lot and do not know what bloatware has been added, this tool does work fully for windows 10 though
83 |
84 | ## Thank you for using this.
85 |
--------------------------------------------------------------------------------
/wingetdebloated.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | cls & echo wingetDebloated - A winget bloatware removal tool made in batch & echo.
3 |
4 | echo [1/4] Do you want to keep Microsoft Edge? y/n
5 | set /p edge="> "
6 | echo [2/4] Do you want to keep the Camera App? y/n
7 | set /p camera="> "
8 |
9 | set /p enter="Press ENTER twice to start debloating"
10 | set /p enter2="Press ENTER one more time to start debloating"
11 |
12 | cls & echo wingetDebloated - A winget bloatware removal tool made in batch & echo.
13 |
14 | winget uninstall cortana
15 | winget uninstall skype
16 |
17 | if /i "%EDGE%" == "n" taskkill /f /im msedge.exe & winget uninstall Microsoft.Edge --accept-source-agreements --silent && winget uninstall Microsoft.EdgeWebView2Runtime --accept-source-agreements
18 | if /i "%CAMERA%" == "n" winget uninstall Microsoft.WindowsCamera_8wekyb3d8bbwe --accept-source-agreements --silent
19 |
20 | : Xbox Applications
21 | winget uninstall Microsoft.GamingApp_8wekyb3d8bbwe --accept-source-agreements --silent
22 | winget uninstall Microsoft.XboxApp_8wekyb3d8bbwe --accept-source-agreements --silent
23 | winget uninstall Microsoft.Xbox.TCUI_8wekyb3d8bbwe --accept-source-agreements --silent
24 | winget uninstall Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe --accept-source-agreements --silent
25 | winget uninstall Microsoft.XboxIdentityProvider_8wekyb3d8bbwe --accept-source-agreements --silent
26 | winget uninstall Microsoft.XboxGamingOverlay_8wekyb3d8bbwe --accept-source-agreements --silent
27 | winget uninstall Microsoft.XboxGameOverlay_8wekyb3d8bbwe --accept-source-agreements --silent
28 |
29 | : Groove Music
30 | winget uninstall Microsoft.ZuneMusic_8wekyb3d8bbwe --accept-source-agreements --silent
31 |
32 | : Feedback Hub
33 | winget uninstall Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe --accept-source-agreements --silent
34 |
35 | : Microsoft-Tips...
36 | winget uninstall Microsoft.Getstarted_8wekyb3d8bbwe --accept-source-agreements --silent
37 |
38 | : 3D Viewer
39 | winget uninstall 9NBLGGH42THS --accept-source-agreements --silent
40 |
41 | : MS Solitaire
42 | winget uninstall Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe --accept-source-agreements --silent
43 |
44 | : Paint-3D...
45 | winget uninstall 9NBLGGH5FV99 --accept-source-agreements --silent
46 |
47 | : Weather
48 | winget uninstall Microsoft.BingWeather_8wekyb3d8bbwe --accept-source-agreements --silent
49 |
50 | : Mail / Calendar
51 | winget uninstall microsoft.windowscommunicationsapps_8wekyb3d8bbwe --accept-source-agreements --silent
52 |
53 | : Your Phone
54 | winget uninstall Microsoft.YourPhone_8wekyb3d8bbwe --accept-source-agreements --silent
55 |
56 | : People
57 | winget uninstall Microsoft.People_8wekyb3d8bbwe --accept-source-agreements --silent
58 |
59 | : MS Pay
60 | winget uninstall Microsoft.Wallet_8wekyb3d8bbwe --accept-source-agreements --silent
61 |
62 | : MS Maps
63 | winget uninstall Microsoft.WindowsMaps_8wekyb3d8bbwe --accept-source-agreements --silent
64 |
65 | : OneNote
66 | winget uninstall Microsoft.Office.OneNote_8wekyb3d8bbwe --accept-source-agreements --silent
67 |
68 | : MS Office
69 | winget uninstall Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe --accept-source-agreements --silent
70 |
71 | : Voice Recorder
72 | winget uninstall Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe --accept-source-agreements --silent
73 |
74 | : Movies & TV
75 | winget uninstall Microsoft.ZuneVideo_8wekyb3d8bbwe --accept-source-agreements --silent
76 |
77 | : Mixed Reality-Portal
78 | winget uninstall Microsoft.MixedReality.Portal_8wekyb3d8bbwe --accept-source-agreements --silent
79 |
80 | : Sticky Notes...
81 | winget uninstall Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe --accept-source-agreements --silent
82 |
83 | : Get Help
84 | winget uninstall Microsoft.GetHelp_8wekyb3d8bbwe --accept-source-agreements --silent
85 |
86 | : OneDrive
87 | winget uninstall Microsoft.OneDrive --accept-source-agreements --silent
88 |
89 | : Calculator (reinstall with winget install calculator)
90 | winget uninstall Microsoft.WindowsCalculator_8wekyb3d8bbwe --accept-source-agreements --silent
91 |
92 |
93 | : Windows 11 Bloatware
94 |
95 | : Microsoft TO Do
96 | winget uninstall Microsoft.Todos_8wekyb3d8bbwe --accept-source-agreements --silent
97 | : Power Automate
98 | winget uninstall Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe --accept-source-agreements --silent
99 | : Bing News
100 | winget uninstall Microsoft.BingNews_8wekyb3d8bbwe --accept-source-agreements --silent
101 | : Microsoft Teams
102 | winget uninstall MicrosoftTeams_8wekyb3d8bbwe --accept-source-agreements --silent
103 | : Microsoft Family
104 | winget uninstall MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe --accept-source-agreements --silent
105 | : Quick Assist
106 | winget uninstall MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe --accept-source-agreements --silent
107 | : Third-Party Preinstalled bloat
108 | winget uninstall disney+ --accept-source-agreements --silent
109 | winget uninstall Clipchamp.Clipchamp_yxz26nhyzhsrt --accept-source-agreements --silent
110 |
111 | echo. & echo Done. Thank you for using this tool.
112 | pause
113 |
--------------------------------------------------------------------------------