Add Appx built-in app removal script
This commit is contained in:
@@ -20,7 +20,8 @@ Small Windows toolkit to install libre software packs with `winget` and remove s
|
||||
| Path | Purpose |
|
||||
| --- | --- |
|
||||
| [`powershell/libres-softwares-install.ps1`](./powershell/libres-softwares-install.ps1) | Interactive installer for a curated list of applications. |
|
||||
| [`powershell/Winget-Remove-BuiltInApps.ps1`](./powershell/Winget-Remove-BuiltInApps.ps1) | Removes selected built-in Windows applications for the current user. |
|
||||
| [`powershell/Winget-Remove-BuiltInApps.ps1`](./powershell/Winget-Remove-BuiltInApps.ps1) | Removes selected built-in Windows applications for the current user with winget. |
|
||||
| [`powershell/Remove-BuiltInApps.ps1`](./powershell/Remove-BuiltInApps.ps1) | Removes selected built-in Appx applications without winget, including provisioned packages for new users. |
|
||||
| [`winget/libre-soft-start-pack.yaml`](./winget/libre-soft-start-pack.yaml) | Automated starter pack: Firefox ESR, 7-Zip and VLC. |
|
||||
| [`winget/libre-soft-base-libreoffice.yaml`](./winget/libre-soft-base-libreoffice.yaml) | Starter pack plus LibreOffice. |
|
||||
| [`winget/libre-soft-base-onlyoffice.yaml`](./winget/libre-soft-base-onlyoffice.yaml) | Starter pack plus ONLYOFFICE. |
|
||||
@@ -82,13 +83,25 @@ winget configure --file .\winget\libre-soft-start-pack.yaml --accept-configurati
|
||||
|
||||
## Remove Built-In Apps
|
||||
|
||||
The cleanup script uninstalls selected Windows applications for the current user.
|
||||
Use the Appx cleanup script when you want to remove selected built-in applications without winget and prevent them from being provisioned for newly created users.
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\powershell\Remove-BuiltInApps.ps1
|
||||
```
|
||||
|
||||
OneDrive is not an Appx package on most Windows installations. To also call the built-in OneDrive uninstaller, pass `-IncludeOneDrive`:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\powershell\Remove-BuiltInApps.ps1 -IncludeOneDrive
|
||||
```
|
||||
|
||||
The older winget-based cleanup script is still available, but it only targets the current user:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\powershell\Winget-Remove-BuiltInApps.ps1
|
||||
```
|
||||
|
||||
Targeted applications include Xbox components, Outlook for Windows, Feedback Hub, OneDrive, Teams, Microsoft To Do, Bing apps, Clipchamp and related built-in packages.
|
||||
Targeted applications include Xbox components, Outlook for Windows, Feedback Hub, Power Automate, Sticky Notes, Weather, Teams, Microsoft To Do, Bing apps, Clipchamp, Windows Web Experience Pack and related built-in packages.
|
||||
|
||||
## Maintenance Note
|
||||
|
||||
|
||||
Reference in New Issue
Block a user