From 355dafc57a79cd2ccaab2eca84324169b744f0e8 Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Tue, 19 May 2026 21:53:23 +0200 Subject: [PATCH] Remove widget-related registry changes as they're no longer required for disabling widgets --- Config/Features.json | 8 ++++---- Regfiles/Disable_Widgets_Service.reg | Bin 588 -> 0 bytes Regfiles/Sysprep/Disable_Widgets_Service.reg | Bin 588 -> 0 bytes Regfiles/Undo/Enable_Widgets_Service.reg | Bin 560 -> 0 bytes Scripts/Features/ExecuteChanges.ps1 | 11 +++++++---- 5 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 Regfiles/Disable_Widgets_Service.reg delete mode 100644 Regfiles/Sysprep/Disable_Widgets_Service.reg delete mode 100644 Regfiles/Undo/Enable_Widgets_Service.reg diff --git a/Config/Features.json b/Config/Features.json index 2253c7b..150e799 100644 --- a/Config/Features.json +++ b/Config/Features.json @@ -856,12 +856,12 @@ { "FeatureId": "DisableWidgets", "Label": "Disable widgets on the taskbar & lock screen", - "ToolTip": "This will disable the widgets features in Windows, including the widgets button on the taskbar and the widgets that can appear on the lock screen. This feature uses policies, which will lock down certain settings.", + "ToolTip": "This will disable the widgets features in Windows, including the widgets button on the taskbar and the widgets that can appear on the lock screen.", "Category": "Taskbar", "Priority": 4, - "RegistryKey": "Disable_Widgets_Service.reg", - "ApplyText": "Disabling widgets on the taskbar & lock screen...", - "RegistryUndoKey": "Enable_Widgets_Service.reg", + "RegistryKey": null, + "ApplyText": null, + "RegistryUndoKey": null, "MinVersion": null, "MaxVersion": null }, diff --git a/Regfiles/Disable_Widgets_Service.reg b/Regfiles/Disable_Widgets_Service.reg deleted file mode 100644 index 30bddcb0ecb622f8fb6e56886ed4612191ca4f0d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 588 zcmbV|&1wQc5QOV2WL+34_`Nle4$MxazsEaz)PLyX7iWWGVgLXD diff --git a/Regfiles/Sysprep/Disable_Widgets_Service.reg b/Regfiles/Sysprep/Disable_Widgets_Service.reg deleted file mode 100644 index 30bddcb0ecb622f8fb6e56886ed4612191ca4f0d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 588 zcmbV|&1wQc5QOV2WL+34_`Nle4$MxazsEaz)PLyX7iWWGVgLXD diff --git a/Regfiles/Undo/Enable_Widgets_Service.reg b/Regfiles/Undo/Enable_Widgets_Service.reg deleted file mode 100644 index 05272bddc018870325fbee2a0c1b1c2ae6b87bb6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 560 zcmbV}QA+|*5QWck(0^EbFYKY0q6e`gDJ@JAaYMFT?ZUFc-A(b&Yu`+yFF_HPyZ6pH zbLX6y-EBt-DmBwmYgI}#P_6}7rCL!NkQ>-Qv?NaS3?E?waY=lxQ#Dz~I`Vz#FG^*4 zRY7h--9Uu}_u3UIudo7r<7V$By44*zV@-9h2esAWoT|s!hU=;io9YR!qoGFN14nvZ zCE}%G&rwMA$gOaELxl{NnX5;*8H#h_4>BybPi%d+d Disabling widgets on the taskbar & lock screen..." + # Stop widgets related processes before removing the app packages to prevent potential issues + Get-Process *Widget* | Stop-Process + + RemoveApps 'Microsoft.StartExperiencesApp','MicrosoftWindows.Client.WebExperience','Microsoft.WidgetsPlatformRuntime' + } "EnableWindowsSandbox" { Write-Host "> Enabling Windows Sandbox..." EnableWindowsFeature "Containers-DisposableClientVM"