Compare commits

40 Commits

Author SHA1 Message Date
Jeffrey
67c9cc6ba3 Bump version 2026-06-10 17:41:13 +02:00
Jeffrey
157d26bb22 Add option to show & undo applied tweaks + more (#599)
* Remove RemoveCommApps and RemoveW11Outlook presets. These are largely redundant. Use -RemoveApps parameter instead

* Add additional options to change the `All Apps` view in the start menu (Hide, Grid, Category, List)

* Add clean start menu backup validation to start menu restore function

* Resolve nested quoting bug in Run.bat when path has spaces, see #583

* Fix desync issue when toggling "Only Show Installed" checkbox too fast

* Fix: add missing keys in Sysprep/Undo regfiles for Disabling Recall and Windows Suggested content

* Fix 'Disable Animations' Sysprep settings not being set for new users

* Update README.md

* Update CONTRIBUTING.md
2026-06-10 17:40:31 +02:00
HetCreep
53ca51dffd fix(appx): expose swallowed exceptions during Appx Package uninstallation via Write-Verbose (#617)
Co-authored-by: Jeffrey <9938813+Raphire@users.noreply.github.com>
2026-06-10 16:43:37 +02:00
soccerzockt
db24865051 Add Support for "-user" Parameter running under SYSTEM (#609)
Co-authored-by: Jeffrey <9938813+Raphire@users.noreply.github.com>
2026-06-07 22:51:01 +02:00
Jeffrey
33b77f19a0 Add confirmation dialogs & warning for Windows Terminal Removal
Removal of this app can cause Win11Debloat to fail, if the script is launched via Windows Terminal
2026-06-01 22:53:28 +02:00
Jeffrey
37872b2030 Update CONTRIBUTING.md 2026-05-26 15:57:34 +02:00
Jeffrey
abfc5db2c3 Improve log output in Get.ps1 and clean up file exclusions 2026-05-25 14:35:39 +02:00
Jeffrey
1d828d6a78 Fix typo in Disable_Game_Bar_Integration Sysprep registry file 2026-05-24 14:53:12 +02:00
Jeffrey
4d9da4749b Merge branch 'master' of https://github.com/Raphire/Win11Debloat 2026-05-20 16:29:41 +02:00
Jeffrey
5cf9ac4082 Bump version 2026-05-20 16:29:33 +02:00
Jeffrey
924c192ca5 Add Registry write fall-back in case applying registry file fails (#592)
* Continue on registry failures and show details after execution

* Temporarily remove DisableSearchHighlights and DisableSearchHistory settings

* Remove widget-related registry changes as they're no longer required for disabling widgets

* Update tooltip for DisableTelemetry feature to clarify impact on Windows Insider updates
2026-05-20 16:29:06 +02:00
Jeffrey
2a5cb986c9 Merge branch 'master' of https://github.com/Raphire/Win11Debloat 2026-05-17 17:56:01 +02:00
Jeffrey
66982ada28 Limit backup restore files to json only 2026-05-17 17:55:59 +02:00
Ahmad Z. Shatnawi
489af33a8b Fix: Increase System Restore point creation timeout to 90 seconds (#586) 2026-05-17 17:50:36 +02:00
Jeffrey
51aa288dfd Bump version 2026-05-12 00:01:57 +02:00
Jeffrey
24a6f1bcf8 Fix capture and restore of signed dword/qword registry values
Co-authored-by: Copilot <copilot@github.com>
2026-05-11 19:14:08 +02:00
Jeffrey
8ac664e45f Add restart instructions to registry restore success message 2026-05-10 23:26:22 +02:00
Jeffrey
85aa67b5d2 Bump version 2026-05-10 22:27:07 +02:00
Jeffrey
c8b4563954 Fix registry backup validation for sysprep keys 2026-05-09 21:56:58 +02:00
Jeffrey
22f3144c0f Remove > from applytext 2026-05-08 21:26:51 +02:00
Jeffrey
2c360961e3 Add registry backup & restore (#566)
Starting from this commit, Win11Debloat will automatically create a registry backup every time the script is run. This registry backup can be used to revert any registry changes made by the script.
2026-05-08 21:19:52 +02:00
Jeffrey
11a324365d Improve user validation (#568) 2026-05-06 15:54:03 +02:00
Jeffrey
5daa922148 Make tweak columns responsive 2026-04-29 17:05:53 +02:00
Jeffrey
1826d6d8be Refactor app removal scope handling & styling 2026-04-27 15:37:09 +02:00
Jeffrey
c15309bcf6 Update feature labels to include default indicators 2026-04-27 15:30:09 +02:00
Raphire
c1dc8f7ce3 Bump version 2026-04-26 20:31:39 +02:00
Raphire
ebb3a293d4 Fix encoding of Enable_Windows_Suggestions.reg 2026-04-26 20:24:03 +02:00
Raphire
2a7fbf9a2d Update regfile encoding for consistency 2026-04-26 18:34:42 +02:00
Raphire
b52a332247 Fix user display in deployment category details for unspecified usernames 2026-04-26 14:15:26 +02:00
Jeffrey
92ac5b441e Add setting details in config import/export interface (#562) 2026-04-26 14:11:29 +02:00
Jeffrey
5f1d0fb604 Improve DisableWidgets feature by removing additional Widget related apps (#561) 2026-04-26 00:10:00 +02:00
Jeffrey
9ca87b129c Update HideOnedrive option to also work in Windows 11 (#559) 2026-04-25 18:46:36 +02:00
David
6db2c158bd Added prompt asking user to run as adminstrator (#556)
Co-authored-by: Raphire <9938813+Raphire@users.noreply.github.com>
2026-04-25 18:09:57 +02:00
Jeffrey
17654c3f7d Improve app & tweak selection UI (#558) 2026-04-25 00:40:29 +02:00
Jeffrey
dd492b523d Fix full-screen window snapping on secondary monitors (#557) 2026-04-24 21:18:46 +02:00
Raphire
797a232b17 Add Get-Dev.ps1 launch script for development 2026-04-19 20:16:30 +02:00
Raphire
9070be6d3f Update wording in run.bat 2026-04-19 19:54:45 +02:00
Raphire
b6e7fb1903 Update tooltip for BitLocker automatic device encryption feature to clarify behavior 2026-04-19 19:54:34 +02:00
Raphire
bb31e98df7 Remove 'Disable Fast Startup' from default settings 2026-04-19 19:54:14 +02:00
Raphire
ff98febb9a Manually add system32 to System PATH when it's missing #548 2026-04-17 20:09:47 +02:00
302 changed files with 8377 additions and 2704 deletions

View File

@@ -67,7 +67,7 @@ Win11Debloat/
│ ├── DefaultSettings.json # Default configuration preset │ ├── DefaultSettings.json # Default configuration preset
│ ├── Features.json # All features with metadata │ ├── Features.json # All features with metadata
│ └── LastUsedSettings.json # Last used configuration (generated during use) │ └── LastUsedSettings.json # Last used configuration (generated during use)
├── Regfiles/ # Registry files for each feature ├── Regfiles/ # Registry files for all features
└── Schemas/ # XAML Schemas for GUI elements └── Schemas/ # XAML Schemas for GUI elements
``` ```
@@ -98,18 +98,18 @@ Avoid these common mistakes when contributing:
1. **Forgetting Get.ps1**: When adding a new command-line parameter, contributors often remember to add it to `Win11Debloat.ps1` but forget to add the same parameter to `Scripts/Get.ps1`. Both files **must** have matching parameters. 1. **Forgetting Get.ps1**: When adding a new command-line parameter, contributors often remember to add it to `Win11Debloat.ps1` but forget to add the same parameter to `Scripts/Get.ps1`. Both files **must** have matching parameters.
2. **Missing Registry Files**: Always create an `Undo` registry file for reversibility, aswell as a `Sysprep` registry file for Sysprep mode. 2. **Missing Registry Files**: Always create an `Undo` registry file for reversibility, aswell as a `Sysprep` registry file for applying changes to other users and Sysprep mode.
3. **Incorrect Registry Hives for Sysprep**: Sysprep registry files apply changes to Windows' default user, registry keys in the `HKEY_CURRENT_USER` hive must use `hkey_users\default` instead. Ensure you update **all** registry keys in the file. 3. **Incorrect Registry Hives for Sysprep**: Sysprep registry files are meant to apply changes to a different user. Registry keys in the `HKEY_CURRENT_USER` hive must use `hkey_users\default` instead. Ensure you update **all** registry keys in the file.
4. **Wrong Registry File Location**: 4. **Wrong Registry File Location**:
- Main action files go in `Regfiles/` - Main action files go in `Regfiles/`
- Undo files go in `Regfiles/Undo/` - Undo files go in `Regfiles/Undo/`
- Sysprep files go in `Regfiles/Sysprep/` - Sysprep files go in `Regfiles/Sysprep/`
Placing files in the wrong directory will cause the script to fail when trying to apply or undo changes. Placing files in the wrong directory may cause the script to fail when trying to apply or undo changes.
6. **Not Testing Undo Functionality**: Always test that your undo registry file properly reverts all changes. A feature that can't be undone will frustrate users. 6. **Not Testing Undo Functionality**: Always test that your undo registry file properly reverts all changes.
7. **Not Testing User/Sysprep Functionality**: Always test that your feature works when applied to another user or to the Windows default user with Sysprep. Sysprep changes can be tested by creating new users after running the script. 7. **Not Testing User/Sysprep Functionality**: Always test that your feature works when applied to another user or to the Windows default user with Sysprep. Sysprep changes can be tested by creating new users after running the script.
@@ -204,19 +204,20 @@ Add your feature to the `"Features"` array in `Config/Features.json`:
``` ```
**Field Descriptions**: **Field Descriptions**:
- `FeatureId`: Unique identifier (must match parameter name in Win11Debloat.ps1 and Get.ps1) - `FeatureId`: Unique identifier, this must match parameter name in the Win11Debloat.ps1 and Get.ps1 files.
- `Label`: Short description shown in the UI, written in a way to fit with the Action or UndoAction prefixed - `Label`: Short description shown in the UI and wiki documentation.
- `ToolTip`: Detailed explanation of what the feature does, used for tooltips in the GUI - `ToolTip`: Detailed explanation of what the feature does, used for tooltips in the GUI.
- `Category`: One of the predefined categories (see Categories array in Features.json), features without a category won't be loaded into the GUI. - `Category`: One of the predefined categories (see Categories array in Features.json), features without a category won't be loaded into the GUI.
- `Priority`: Optional. The priority value (int) is used to sort features within a category. If this field is omitted the feature will be sorted based on the order in the Features.json file. - `Priority`: Optional. The priority value (int) is used to sort features within a category. If this field is omitted the feature will be sorted based on the order in the Features.json file.
- `Action`: Action word for the feature (e.g., "Disable", "Enable", "Hide", "Show") - `RegistryKey`: Filename of the registry file to apply (in Regfiles/ directory) or null if feature does not require registry changes.
- `RegistryKey`: Filename of the registry file to apply (in Regfiles/ directory) or null if feature does not require registry changes - `ApplyText`: Message shown when applying the feature.
- `ApplyText`: Message shown when applying the feature - `UndoLabel`: Short description for the undo shown in the UI.
- `UndoAction`: Action word for reverting (e.g., "Enable", "Show") - `ApplyUndoText`: Message shown when undoing the feature.
- `RegistryUndoKey`: Filename of the registry file to revert changes or null if feature does not require registry changes - `RegistryUndoKey`: Filename of the registry file to revert changes or null if feature does not require registry changes.
- `RequiresReboot`: Optional boolean. Set to `true` if the feature requires a system reboot to take effect - `RequiresReboot`: Optional boolean. Set to `true` if the feature requires a system reboot to take effect.
- `MinVersion`: Minimum Windows build version (e.g., "22000") or null - `DisableWhenApplied`: Optional boolean. Set to `true` if the feature has no supported undo method.
- `MaxVersion`: Maximum Windows version or null - `MinVersion`: Minimum Windows build version (e.g., "22000") or null.
- `MaxVersion`: Maximum Windows version or null.
#### 3. Add Command-Line Parameter #### 3. Add Command-Line Parameter

3
.gitignore vendored
View File

@@ -3,4 +3,5 @@ SavedSettings
LastUsedSettings.json LastUsedSettings.json
CustomAppsList CustomAppsList
Logs/* Logs/*
Win11Debloat.log Win11Debloat.log
Backups/*

View File

@@ -781,9 +781,9 @@
{ {
"FriendlyName": "Windows Terminal", "FriendlyName": "Windows Terminal",
"AppId": "Microsoft.WindowsTerminal", "AppId": "Microsoft.WindowsTerminal",
"Description": "Default terminal app in windows 11 (Command Prompt, PowerShell, WSL)", "Description": "Default terminal app in windows 11 (Command Prompt, PowerShell, WSL), WARNING: Do not remove if you launched Win11Debloat from Windows Terminal, as this will cause the script to fail.",
"SelectedByDefault": false, "SelectedByDefault": false,
"Recommendation": "optional" "Recommendation": "unsafe"
}, },
{ {
"FriendlyName": "Xbox TCUI Framework", "FriendlyName": "Xbox TCUI Framework",
@@ -841,6 +841,20 @@
"SelectedByDefault": false, "SelectedByDefault": false,
"Recommendation": "optional" "Recommendation": "optional"
}, },
{
"FriendlyName": "Windows Web Experience Pack",
"AppId": "MicrosoftWindows.Client.WebExperience",
"Description": "Helps deliver and update certain features, like Widgets, through the Microsoft Store",
"SelectedByDefault": false,
"Recommendation": "optional"
},
{
"FriendlyName": "Widgets Platform Runtime",
"AppId": "Microsoft.WidgetsPlatformRuntime",
"Description": "Runtime required for Windows Widgets to function",
"SelectedByDefault": false,
"Recommendation": "optional"
},
{ {
"FriendlyName": "HP AI Experience Center", "FriendlyName": "HP AI Experience Center",
"AppId": "AD2F1837.HPAIExperienceCenter", "AppId": "AD2F1837.HPAIExperienceCenter",

View File

@@ -61,10 +61,6 @@
"Name": "DisableDragTray", "Name": "DisableDragTray",
"Value": true "Value": true
}, },
{
"Name": "DisableFastStartup",
"Value": true
},
{ {
"Name": "Hide3dObjects", "Name": "Hide3dObjects",
"Value": true "Value": true

File diff suppressed because it is too large Load Diff

View File

@@ -4,9 +4,9 @@
[![Join the Discussion](https://img.shields.io/badge/Join-the%20Discussion-2D9F2D?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Raphire/Win11Debloat/discussions) [![Join the Discussion](https://img.shields.io/badge/Join-the%20Discussion-2D9F2D?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Raphire/Win11Debloat/discussions)
[![Static Badge](https://img.shields.io/badge/Documentation-_?style=for-the-badge&logo=bookstack&color=grey)](https://github.com/Raphire/Win11Debloat/wiki/) [![Static Badge](https://img.shields.io/badge/Documentation-_?style=for-the-badge&logo=bookstack&color=grey)](https://github.com/Raphire/Win11Debloat/wiki/)
Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. No need to painstakingly go through all the settings yourself or remove apps one by one. Win11Debloat makes the process quick and easy! Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience, no installation required! You can use it to remove pre-installed apps, disable telemetry, remove intrusive interface elements and much more. No need to painstakingly go through all the settings yourself or remove apps one by one. Win11Debloat makes the process quick and easy!
The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. Please refer to our [wiki](https://github.com/Raphire/Win11Debloat/wiki/) for more details. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the ability to make changes to other Windows users. Please refer to our [wiki](https://github.com/Raphire/Win11Debloat/wiki/) for more details.
![Win11Debloat Menu](/Assets/Images/menu.png) ![Win11Debloat Menu](/Assets/Images/menu.png)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start]
"AllAppsViewMode"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoStartMenuMorePrograms"=-

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start]
"AllAppsViewMode"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoStartMenuMorePrograms"=-

View File

@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start]
"AllAppsViewMode"=dword:00000002
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoStartMenuMorePrograms"=-

Some files were not shown because too many files have changed in this diff Show More