Configure Firefox defaults and uBlock

This commit is contained in:
2026-05-24 09:56:25 +02:00
parent 83fa904a4e
commit 5dc4dad915
4 changed files with 240 additions and 3 deletions
+10 -1
View File
@@ -20,6 +20,7 @@ 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/Configure-FirefoxDefaults.ps1`](./powershell/Configure-FirefoxDefaults.ps1) | Sets Firefox ESR as default browser and force-installs uBlock Origin for all users. |
| 🧹 [`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 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. |
@@ -44,7 +45,7 @@ The automated YAML packs do not enforce a specific Windows release. They require
## 🧭 Interactive Installer
Choose the software you want to install from a PowerShell menu.
Choose the software you want to install from a PowerShell menu. When Firefox ESR is installed from this script, Firefox defaults and uBlock Origin policies are configured automatically.
![Interactive installer screenshot](./img/interactive.png)
@@ -87,6 +88,14 @@ Example:
winget configure --file .\winget\libre-soft-start-pack.yaml --accept-configuration-agreements
```
After installing a pack that includes Firefox ESR, run the Firefox configuration script from an administrator terminal:
```powershell
powershell -ExecutionPolicy Bypass -File .\powershell\Configure-FirefoxDefaults.ps1
```
The script writes Firefox enterprise policies, force-installs uBlock Origin from Mozilla Add-ons, configures managed uBlock Origin defaults and imports Windows default app associations for future users.
## 🧹 Remove Built-In Apps
Use the Appx cleanup script when you want to remove selected built-in applications without winget and reduce reprovisioning for newly created users.