From c72e4fcb54777ab17b44e934609084d6fae0e0a7 Mon Sep 17 00:00:00 2001
From: Jeffrey <9938813+Raphire@users.noreply.github.com>
Date: Sat, 7 Mar 2026 15:53:58 +0100
Subject: [PATCH] Add warning about some changes requiring a reboot & fix focus
loss after Explorer restart (#506)
---
Assets/Features.json | 7 +++-
Schemas/ApplyChangesWindow.xaml | 27 +++++++++++++++-
Scripts/GUI/Show-ApplyModal.ps1 | 57 ++++++++++++++++++++++++++++++++-
Scripts/GUI/Show-MainWindow.ps1 | 2 +-
Win11Debloat.ps1 | 23 +++----------
5 files changed, 94 insertions(+), 22 deletions(-)
diff --git a/Assets/Features.json b/Assets/Features.json
index bfc6a80..f7e417d 100644
--- a/Assets/Features.json
+++ b/Assets/Features.json
@@ -702,6 +702,7 @@
"ApplyText": "Turning off Enhanced Pointer Precision...",
"UndoAction": "Enable",
"RegistryUndoKey": "Enable_Enhance_Pointer_Precision.reg",
+ "RequiresReboot": true,
"MinVersion": null,
"MaxVersion": null
},
@@ -715,6 +716,7 @@
"ApplyText": "Disabling the Sticky Keys keyboard shortcut...",
"UndoAction": "Enable",
"RegistryUndoKey": "Enable_Sticky_Keys_Shortcut.reg",
+ "RequiresReboot": true,
"MinVersion": 26100,
"MaxVersion": null
},
@@ -1236,6 +1238,7 @@
"ApplyText": "Disabling animations and visual effects...",
"UndoAction": "Enable",
"RegistryUndoKey": "Enable_Animations.reg",
+ "RequiresReboot": true,
"MinVersion": null,
"MaxVersion": null
},
@@ -1384,13 +1387,14 @@
{
"FeatureId": "EnableWindowsSandbox",
"Label": "Windows Sandbox",
- "ToolTip": "Windows Sandbox is a lightweight desktop environment for safely running applications in isolation. Software installed inside the Windows Sandbox environment remains 'sandboxed' and runs separately from the host machine. Only supported on Windows 11 Pro, Workstation, and Enterprise editions.",
+ "ToolTip": "Windows Sandbox is a lightweight desktop environment for safely running applications in isolation. Software installed inside the Windows Sandbox environment remains 'sandboxed' and runs separately from the host machine. Only supported on Windows 11 Pro, Workstation, and Enterprise editions.",
"Category": "Optional Windows Features",
"Action": "Enable",
"RegistryKey": null,
"ApplyText": "Enabling Windows Sandbox...",
"UndoAction": null,
"RegistryUndoKey": null,
+ "RequiresReboot": true,
"MinVersion": 22483,
"MaxVersion": null
},
@@ -1404,6 +1408,7 @@
"ApplyText": "Enabling Windows Subsystem for Linux...",
"UndoAction": null,
"RegistryUndoKey": null,
+ "RequiresReboot": true,
"MinVersion": 22000,
"MaxVersion": null
}
diff --git a/Schemas/ApplyChangesWindow.xaml b/Schemas/ApplyChangesWindow.xaml
index 0bf66b6..18efb26 100644
--- a/Schemas/ApplyChangesWindow.xaml
+++ b/Schemas/ApplyChangesWindow.xaml
@@ -141,10 +141,35 @@
Style="{DynamicResource ModalTitleStyle}"/>
+
+
+
+
+
+
+
+
+
+
+