├── LICENSE ├── README.md ├── main.ps1 └── windows10-apps uninstaller.bat /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Phoenix1747 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 | # Windows10-Apps Removal Tool ![open issues](https://img.shields.io/github/issues-raw/phoenix1747/windows10-apps.svg?style=for-the-badge) 2 | 3 | This is a simple program to remove most of the preinstalled Windows 10 apps, that you cannot remove through a normal uninstallation. 4 | 5 | For example you can remove the camera app, get started, windows maps and much more bloatware! 6 | 7 | Just download it and give it a try. For the script to work you need to download the ```Batch``` *and* the ```Powershell``` script to the *same directory* and start the batch file with administrator priviliges. 8 | 9 | With this script you can not only remove single apps but automatically remove any removable ones. Additionally, you can reinstall all of them if you wish. No network connection needed for the removal, however reinstallation requires internet access. 10 | 11 | --- 12 | 13 | ### Requirements 14 | 15 | * Windows 10 Home/Pro/Whatever 16 | -------------------------------------------------------------------------------- /main.ps1: -------------------------------------------------------------------------------- 1 | # Version 1.2 by Phoenix1747 2 | 3 | clear-host 4 | $progs = @("MSPaint","Appconnector","3dviewer","MicrosoftStickyNotes","OneConnect","ConnectivityStore","WindowsFeedbackHub","phone","sway","messaging","3dbuilder","windowsalarms","windowscalculator","windowscommunicationsapps","windowscamera","officehub","skypeapp","getstarted","zunemusic","windowsmaps","solitairecollection","bingfinance","zunevideo","bingnews","onenote","people","windowsphone","photos","windowsstore","bingsports","soundrecorder","bingweather","xboxapp") 5 | 6 | if (!([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")){ 7 | write-host " 8 | Please run this script with administrator priviliges! 9 | 10 | Press any key to exit..." -foregroundcolor Red 11 | cmd /c pause | out-null 12 | exit 13 | } 14 | 15 | 16 | write-host " 17 | +------------------------------------+ 18 | | Windows10-Apps Removal Tool | 19 | | Open-source project by Phoenix1747 | 20 | +------------------------------------+ 21 | " -backgroundColor DarkBlue 22 | 23 | $action = read-host " Would you like to (u)ninstall or (r)einstall apps? (u/r)" 24 | 25 | if ($action -ceq "u") { 26 | 27 | ForEach($prog in $progs){ 28 | clear-host 29 | write-host "" 30 | write-host " Do you want to uninstall $prog ?" -foregroundcolor Yellow 31 | $yn = read-host " Yes (y), No (n), Yes-all (a)" 32 | 33 | if ($yn -ceq "y") { 34 | clear-host 35 | 36 | Get-AppxPackage -allusers *$prog* | Remove-AppxPackage 37 | 38 | write-host "" 39 | write-host " Successfully uninstalled $prog!" -foregroundcolor Green 40 | start-sleep 2 41 | } 42 | elseif ($yn -ceq "a") { 43 | clear-host 44 | write-host "" 45 | ForEach($prog in $progs){ 46 | 47 | Get-AppxPackage -allusers *$prog* | Remove-AppxPackage 48 | write-host " Successfully uninstalled $prog!" -foregroundcolor Green 49 | } 50 | break 51 | } 52 | else { 53 | continue 54 | } 55 | } 56 | 57 | clear-host 58 | write-host "" 59 | write-host " Successfully executed. Please reboot your system! Press any key to close..." -backgroundcolor Green -foregroundcolor Black 60 | cmd /c pause | out-null 61 | exit 62 | } 63 | 64 | elseif ($action -ceq "r") { 65 | clear-host 66 | write-host " 67 | You chose to reinstall all Windows 10 apps. 68 | 69 | Press any key to start the reinstallation..." -foregroundcolor Yellow 70 | cmd /c pause | out-null 71 | 72 | Add-AppxPackage -register "C:\Program Files\WindowsApps\***\AppxManifest.xml" -DisableDevelopmentMode 73 | 74 | clear-host 75 | write-host "" 76 | write-host " Successfully executed. Please reboot your system! Press any key to close..." -backgroundcolor Green -foregroundcolor Black 77 | cmd /c pause | out-null 78 | exit 79 | 80 | } 81 | 82 | else { 83 | clear-host 84 | write-host " 85 | Bad usage: You need to use either 'u' or 'r' for this to work! 86 | 87 | Press any key to close..." -foregroundcolor Red 88 | cmd /c pause | out-null 89 | exit 90 | } 91 | -------------------------------------------------------------------------------- /windows10-apps uninstaller.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | TITLE Windows 10 Application Utility 3 | COLOR 0F 4 | 5 | powershell -executionpolicy bypass -Command "%~dp0main.ps1" 6 | exit --------------------------------------------------------------------------------