Block built-in app reprovisioning
This commit is contained in:
@@ -21,7 +21,7 @@ Small Windows toolkit to install libre software packs with `winget` and remove s
|
||||
| --- | --- |
|
||||
| [`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 with winget. |
|
||||
| [`powershell/Remove-BuiltInApps.ps1`](./powershell/Remove-BuiltInApps.ps1) | Removes selected built-in Appx applications without winget, including provisioned packages for new users. |
|
||||
| [`powershell/Remove-BuiltInApps.ps1`](./powershell/Remove-BuiltInApps.ps1) | Removes selected built-in Appx applications without winget and writes registry blocks for future 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. |
|
||||
@@ -83,12 +83,14 @@ winget configure --file .\winget\libre-soft-start-pack.yaml --accept-configurati
|
||||
|
||||
## Remove Built-In Apps
|
||||
|
||||
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.
|
||||
Use the Appx cleanup script when you want to remove selected built-in applications without winget and reduce reprovisioning for newly created users.
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\powershell\Remove-BuiltInApps.ps1
|
||||
```
|
||||
|
||||
The script removes installed and provisioned Appx packages, disables Microsoft consumer experiences, updates the default user profile `ContentDeliveryManager` settings and writes Appx deprovisioning registry markers.
|
||||
|
||||
OneDrive is not an Appx package on most Windows installations. To also call the built-in OneDrive uninstaller, pass `-IncludeOneDrive`:
|
||||
|
||||
```powershell
|
||||
@@ -101,7 +103,7 @@ The older winget-based cleanup script is still available, but it only targets th
|
||||
powershell -ExecutionPolicy Bypass -File .\powershell\Winget-Remove-BuiltInApps.ps1
|
||||
```
|
||||
|
||||
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.
|
||||
Run this script before creating the new Windows user profile, then restart Windows. 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