diff --git a/winscript-app/resources/js/scripts.js b/winscript-app/resources/js/scripts.js index 20c12f7..411963e 100644 --- a/winscript-app/resources/js/scripts.js +++ b/winscript-app/resources/js/scripts.js @@ -59,13 +59,12 @@ const scripts = { ' "%SystemRoot%SysWOW64OneDriveSetup.exe" /uninstall', ")", "echo -- Removing OneDrive registry keys", - 'reg delete "HKEY_CLASSES_ROOT\\WOW6432Node\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', - 'reg delete "HKEY_CLASSES_ROOT\\CLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', - 'reg delete "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\OneDrive" /f', + 'reg delete "HKEY_CLASSES_ROOT\\WOW6432Node\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', + 'reg delete "HKEY_CLASSES_ROOT\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', "echo -- Removing OneDrive folders", 'rd "%UserProfile%\\OneDrive" /Q /S', 'rd "%LocalAppData%\\Microsoft\\OneDrive" /Q /S', - 'rd "%ProgramData%\\Microsoft OneDrive" /Q /S', + 'rd "%ProgramData%\\Microsoft\\OneDrive" /Q /S', 'rd "C:\\OneDriveTemp" /Q /S', ], edge: [ @@ -75,10 +74,11 @@ const scripts = { ], copilot: [ "echo -- Removing Copilot", + 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.CoPilot" | Remove-AppxPackage"', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot" /v "TurnOffWindowsCopilot" /t "REG_DWORD" /d "1" /f', 'reg add "HKCU\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot" /v "TurnOffWindowsCopilot" /t "REG_DWORD" /d "1" /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings" /v "AutoOpenCopilotLargeScreens" /t "REG_DWORD" /d "0" /f', - 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "ShowCopilotButton" /t "REG_DWORD" /d "0"/f', + 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "ShowCopilotButton" /t "REG_DWORD" /d "0" /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\Shell\\Copilot\\BingChat" /v "IsUserEligible" /t "REG_DWORD" /d "0" /f', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "HubsSidebarEnabled" /t "REG_DWORD" /d "0" /f', ], @@ -138,6 +138,7 @@ const scripts = { 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.Getstarted" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.549981C3F5F10" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.Messaging" | Remove-AppxPackage"', + 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.WindowsSoundRecorder" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.MixedReality.Portal" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.WindowsFeedbackHub" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.WindowsAlarms" | Remove-AppxPackage"', @@ -160,6 +161,7 @@ const scripts = { "echo -- Uninstalling Xbox apps", 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxApp" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.Xbox.TCUI" | Remove-AppxPackage"', + 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxGameCallableUI" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxGamingOverlay" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxGameOverlay" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxIdentityProvider" | Remove-AppxPackage"', @@ -229,6 +231,7 @@ const scripts = { 'reg add "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /d "0" /t REG_DWORD /f', 'reg add "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\SystemSettings\\AccountNotifications" /v "EnableAccountNotifications" /t REG_DWORD /d "0" /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\SystemSettings\\AccountNotifications" /v "EnableAccountNotifications" /t REG_DWORD /d "0" /f', + 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings" /v "NOC_GLOBAL_SETTING_TOASTS_ENABLED" /t REG_DWORD /d "0" /f', 'reg add "HKCU\\Software\\Policies\\Microsoft\\Windows\\EdgeUI" /v "DisableMFUTracking" /t REG_DWORD /d "1" /f', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\EdgeUI" /v "DisableMFUTracking" /t REG_DWORD /d "1" /f', 'reg add "HKCU\\Control Panel\\International\\User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f', @@ -308,17 +311,16 @@ const scripts = { ], appexperience: [ "echo -- Disabling Application Experience telemetry", - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\ProgramDataUpdater" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\AitAgent" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\StartupAppTask" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\PcaPatchDbTask" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\MareBackup" /DISABLE > NUL 2>&1', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser Exp" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\SdbinstMergeDbTask" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\StartupAppTask" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\PcaPatchDbTask" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\MareBackup" /DISABLE', ], wfeedback: [ "echo -- Disabling Windows Feedback Experience telemetry", 'reg add "HKCU\\SOFTWARE\\Microsoft\\Siuf\\Rules" /v "NumberOfSIUFInPeriod" /t REG_DWORD /d 0 /f', - 'reg delete "HKCU\\SOFTWARE\\Microsoft\\Siuf\\Rules" /v "PeriodInNanoSeconds" /f', 'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection" /v "DoNotShowFeedbackNotifications" /t REG_DWORD /d 1 /f', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection" /v "DoNotShowFeedbackNotifications" /t REG_DWORD /d 1 /f', ], @@ -639,7 +641,6 @@ const scripts = { "sc config AssignedAccessManagerSvc start=disabled", "sc config AxInstSV start=demand", "sc config BDESVC start=demand", - "sc config BITS start=AutomaticDelayedStart", "sc config BTAGService start=demand", "sc config BcastDVRUserService start=demand", "sc config BluetoothUserService start=demand", @@ -650,11 +651,8 @@ const scripts = { "sc config CertPropSvc start=demand", "sc config ClipSVC start=demand", "sc config ConsentUxUserSvc start=demand", - "sc config CredentialEnrollmentManagerUserSvc start=demand", "sc config CscService start=demand", - "sc config DcpSvc start=demand", "sc config DevQueryBroker start=demand", - "sc config DeviceAssociationBrokerSvc start=demand", "sc config DeviceAssociationService start=demand", "sc config DeviceInstall start=demand", "sc config DevicePickerUserSvc start=demand", @@ -663,7 +661,6 @@ const scripts = { "sc config DialogBlockingService start=disabled", "sc config DisplayEnhancementService start=demand", "sc config DmEnrollmentSvc start=demand", - "sc config DoSvc start=AutomaticDelayedStart", "sc config DsSvc start=demand", "sc config DsmSvc start=demand", "sc config EFS start=demand", @@ -674,8 +671,6 @@ const scripts = { "sc config FrameServer start=demand", "sc config FrameServerMonitor start=demand", "sc config GraphicsPerfSvc start=demand", - "sc config HomeGroupListener start=demand", - "sc config HomeGroupProvider start=demand", "sc config HvHost start=demand", "sc config IEEtwCollectorService start=demand", "sc config IKEEXT start=demand", @@ -687,11 +682,9 @@ const scripts = { "sc config LxpSvc start=demand", "sc config MSDTC start=demand", "sc config MSiSCSI start=demand", - "sc config MapsBroker start=AutomaticDelayedStart", "sc config McpManagementService start=demand", "sc config MessagingService start=demand", "sc config MicrosoftEdgeElevationService start=demand", - "sc config MixedRealityOpenXRSvc start=demand", "sc config MsKeyboardFilter start=demand", "sc config NPSMSvc start=demand", "sc config NaturalAuthentication start=demand", @@ -716,7 +709,6 @@ const scripts = { "sc config PlugPlay start=demand", "sc config PolicyAgent start=demand", "sc config PrintNotify start=demand", - "sc config PrintWorkflowUserSvc start=demand", "sc config PushToInstall start=demand", "sc config QWAVE start=demand", "sc config RasAuto start=demand", @@ -734,31 +726,23 @@ const scripts = { "sc config SNMPTrap start=demand", "sc config SSDPSRV start=demand", "sc config ScDeviceEnum start=demand", - "sc config SecurityHealthService start=demand", - "sc config Sense start=demand", "sc config SensorDataService start=demand", "sc config SensorService start=demand", "sc config SensrSvc start=demand", "sc config SessionEnv start=demand", "sc config SharedAccess start=demand", - "sc config SharedRealitySvc start=demand", "sc config SmsRouter start=demand", "sc config SstpSvc start=demand", - "sc config StateRepository start=demand", "sc config StiSvc start=demand", + "sc config StateRepository start=demand", "sc config StorSvc start=demand", - "sc config TabletInputService start=demand", "sc config TapiSrv start=demand", "sc config TextInputManagementService start=demand", "sc config TieringEngineService start=demand", - "sc config TimeBroker start=demand", - "sc config TimeBrokerSvc start=demand", "sc config TokenBroker start=demand", "sc config TroubleshootingSvc start=demand", "sc config TrustedInstaller start=demand", - "sc config UI0Detect start=demand", "sc config UdkUserSvc start=demand", - "sc config UevAgentService start=disabled", "sc config UmRdpService start=demand", "sc config UnistoreSvc start=demand", "sc config UserDataSvc start=demand", @@ -771,12 +755,9 @@ const scripts = { "sc config WMPNetworkSvc start=demand", "sc config WManSvc start=demand", "sc config WPDBusEnum start=demand", - "sc config WSService start=demand", - "sc config WaaSMedicSvc start=demand", "sc config WalletService start=demand", "sc config WarpJITSvc start=demand", "sc config WbioSrvc start=demand", - "sc config WcsPlugInService start=demand", "sc config WdNisSvc start=demand", "sc config WdiServiceHost start=demand", "sc config WdiSystemHost start=demand", @@ -823,16 +804,12 @@ const scripts = { "sc config seclogon start=demand", "sc config shpamsvc start=disabled", "sc config smphost start=demand", - "sc config spectrum start=demand", - "sc config sppsvc start=AutomaticDelayedStart", "sc config ssh-agent start=disabled", "sc config svsvc start=demand", "sc config swprv start=demand", "sc config tzautoupdate start=disabled", - "sc config uhssvc start=disabled", "sc config upnphost start=demand", "sc config vds start=demand", - "sc config vm3dservice start=demand", "sc config vmicguestinterface start=demand", "sc config vmicheartbeat start=demand", "sc config vmickvpexchange start=demand", @@ -851,7 +828,6 @@ const scripts = { "sc config wlpasvc start=demand", "sc config wmiApSrv start=demand", "sc config workfolderssvc start=demand", - "sc config wscsvc start=AutomaticDelayedStart", "sc config wuauserv start=demand", "sc config wudfsvc start=demand", ], @@ -861,7 +837,7 @@ const scripts = { ], storagesense: [ "echo -- Disabling Storage Sense", - 'powershell -command "Set-ItemProperty -Path "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy" -Name "01" -Value 0 -Force"', + 'reg add "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy" /v "01" /t REG_DWORD /d 0 /f', ], disablehibernation: [ "echo -- Disabling Hibernation", @@ -919,6 +895,7 @@ const scripts = { ], taskbarwidgets: [ "echo -- Disabling Taskbar Widgets", + // TaskbarDa is blocked by Windows 11 24H2 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f', 'reg add "HKLM\\SOFTWARE\\Microsoft\\PolicyManager\\default\\NewsAndInterests\\AllowNewsAndInterests" /v "value" /t REG_DWORD /d 0 /f', diff --git a/winscript-online/js/scripts.js b/winscript-online/js/scripts.js index 20c12f7..411963e 100644 --- a/winscript-online/js/scripts.js +++ b/winscript-online/js/scripts.js @@ -59,13 +59,12 @@ const scripts = { ' "%SystemRoot%SysWOW64OneDriveSetup.exe" /uninstall', ")", "echo -- Removing OneDrive registry keys", - 'reg delete "HKEY_CLASSES_ROOT\\WOW6432Node\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', - 'reg delete "HKEY_CLASSES_ROOT\\CLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', - 'reg delete "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\OneDrive" /f', + 'reg delete "HKEY_CLASSES_ROOT\\WOW6432Node\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', + 'reg delete "HKEY_CLASSES_ROOT\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f', "echo -- Removing OneDrive folders", 'rd "%UserProfile%\\OneDrive" /Q /S', 'rd "%LocalAppData%\\Microsoft\\OneDrive" /Q /S', - 'rd "%ProgramData%\\Microsoft OneDrive" /Q /S', + 'rd "%ProgramData%\\Microsoft\\OneDrive" /Q /S', 'rd "C:\\OneDriveTemp" /Q /S', ], edge: [ @@ -75,10 +74,11 @@ const scripts = { ], copilot: [ "echo -- Removing Copilot", + 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.CoPilot" | Remove-AppxPackage"', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot" /v "TurnOffWindowsCopilot" /t "REG_DWORD" /d "1" /f', 'reg add "HKCU\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot" /v "TurnOffWindowsCopilot" /t "REG_DWORD" /d "1" /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings" /v "AutoOpenCopilotLargeScreens" /t "REG_DWORD" /d "0" /f', - 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "ShowCopilotButton" /t "REG_DWORD" /d "0"/f', + 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "ShowCopilotButton" /t "REG_DWORD" /d "0" /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\Shell\\Copilot\\BingChat" /v "IsUserEligible" /t "REG_DWORD" /d "0" /f', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge" /v "HubsSidebarEnabled" /t "REG_DWORD" /d "0" /f', ], @@ -138,6 +138,7 @@ const scripts = { 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.Getstarted" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.549981C3F5F10" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.Messaging" | Remove-AppxPackage"', + 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.WindowsSoundRecorder" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.MixedReality.Portal" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.WindowsFeedbackHub" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.WindowsAlarms" | Remove-AppxPackage"', @@ -160,6 +161,7 @@ const scripts = { "echo -- Uninstalling Xbox apps", 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxApp" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.Xbox.TCUI" | Remove-AppxPackage"', + 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxGameCallableUI" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxGamingOverlay" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxGameOverlay" | Remove-AppxPackage"', 'PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage "Microsoft.XboxIdentityProvider" | Remove-AppxPackage"', @@ -229,6 +231,7 @@ const scripts = { 'reg add "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /d "0" /t REG_DWORD /f', 'reg add "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\SystemSettings\\AccountNotifications" /v "EnableAccountNotifications" /t REG_DWORD /d "0" /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\SystemSettings\\AccountNotifications" /v "EnableAccountNotifications" /t REG_DWORD /d "0" /f', + 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings" /v "NOC_GLOBAL_SETTING_TOASTS_ENABLED" /t REG_DWORD /d "0" /f', 'reg add "HKCU\\Software\\Policies\\Microsoft\\Windows\\EdgeUI" /v "DisableMFUTracking" /t REG_DWORD /d "1" /f', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\EdgeUI" /v "DisableMFUTracking" /t REG_DWORD /d "1" /f', 'reg add "HKCU\\Control Panel\\International\\User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f', @@ -308,17 +311,16 @@ const scripts = { ], appexperience: [ "echo -- Disabling Application Experience telemetry", - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\ProgramDataUpdater" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\AitAgent" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\StartupAppTask" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\PcaPatchDbTask" /DISABLE > NUL 2>&1', - 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\MareBackup" /DISABLE > NUL 2>&1', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser Exp" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\SdbinstMergeDbTask" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\StartupAppTask" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\PcaPatchDbTask" /DISABLE', + 'schtasks /change /TN "\\Microsoft\\Windows\\Application Experience\\MareBackup" /DISABLE', ], wfeedback: [ "echo -- Disabling Windows Feedback Experience telemetry", 'reg add "HKCU\\SOFTWARE\\Microsoft\\Siuf\\Rules" /v "NumberOfSIUFInPeriod" /t REG_DWORD /d 0 /f', - 'reg delete "HKCU\\SOFTWARE\\Microsoft\\Siuf\\Rules" /v "PeriodInNanoSeconds" /f', 'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection" /v "DoNotShowFeedbackNotifications" /t REG_DWORD /d 1 /f', 'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection" /v "DoNotShowFeedbackNotifications" /t REG_DWORD /d 1 /f', ], @@ -639,7 +641,6 @@ const scripts = { "sc config AssignedAccessManagerSvc start=disabled", "sc config AxInstSV start=demand", "sc config BDESVC start=demand", - "sc config BITS start=AutomaticDelayedStart", "sc config BTAGService start=demand", "sc config BcastDVRUserService start=demand", "sc config BluetoothUserService start=demand", @@ -650,11 +651,8 @@ const scripts = { "sc config CertPropSvc start=demand", "sc config ClipSVC start=demand", "sc config ConsentUxUserSvc start=demand", - "sc config CredentialEnrollmentManagerUserSvc start=demand", "sc config CscService start=demand", - "sc config DcpSvc start=demand", "sc config DevQueryBroker start=demand", - "sc config DeviceAssociationBrokerSvc start=demand", "sc config DeviceAssociationService start=demand", "sc config DeviceInstall start=demand", "sc config DevicePickerUserSvc start=demand", @@ -663,7 +661,6 @@ const scripts = { "sc config DialogBlockingService start=disabled", "sc config DisplayEnhancementService start=demand", "sc config DmEnrollmentSvc start=demand", - "sc config DoSvc start=AutomaticDelayedStart", "sc config DsSvc start=demand", "sc config DsmSvc start=demand", "sc config EFS start=demand", @@ -674,8 +671,6 @@ const scripts = { "sc config FrameServer start=demand", "sc config FrameServerMonitor start=demand", "sc config GraphicsPerfSvc start=demand", - "sc config HomeGroupListener start=demand", - "sc config HomeGroupProvider start=demand", "sc config HvHost start=demand", "sc config IEEtwCollectorService start=demand", "sc config IKEEXT start=demand", @@ -687,11 +682,9 @@ const scripts = { "sc config LxpSvc start=demand", "sc config MSDTC start=demand", "sc config MSiSCSI start=demand", - "sc config MapsBroker start=AutomaticDelayedStart", "sc config McpManagementService start=demand", "sc config MessagingService start=demand", "sc config MicrosoftEdgeElevationService start=demand", - "sc config MixedRealityOpenXRSvc start=demand", "sc config MsKeyboardFilter start=demand", "sc config NPSMSvc start=demand", "sc config NaturalAuthentication start=demand", @@ -716,7 +709,6 @@ const scripts = { "sc config PlugPlay start=demand", "sc config PolicyAgent start=demand", "sc config PrintNotify start=demand", - "sc config PrintWorkflowUserSvc start=demand", "sc config PushToInstall start=demand", "sc config QWAVE start=demand", "sc config RasAuto start=demand", @@ -734,31 +726,23 @@ const scripts = { "sc config SNMPTrap start=demand", "sc config SSDPSRV start=demand", "sc config ScDeviceEnum start=demand", - "sc config SecurityHealthService start=demand", - "sc config Sense start=demand", "sc config SensorDataService start=demand", "sc config SensorService start=demand", "sc config SensrSvc start=demand", "sc config SessionEnv start=demand", "sc config SharedAccess start=demand", - "sc config SharedRealitySvc start=demand", "sc config SmsRouter start=demand", "sc config SstpSvc start=demand", - "sc config StateRepository start=demand", "sc config StiSvc start=demand", + "sc config StateRepository start=demand", "sc config StorSvc start=demand", - "sc config TabletInputService start=demand", "sc config TapiSrv start=demand", "sc config TextInputManagementService start=demand", "sc config TieringEngineService start=demand", - "sc config TimeBroker start=demand", - "sc config TimeBrokerSvc start=demand", "sc config TokenBroker start=demand", "sc config TroubleshootingSvc start=demand", "sc config TrustedInstaller start=demand", - "sc config UI0Detect start=demand", "sc config UdkUserSvc start=demand", - "sc config UevAgentService start=disabled", "sc config UmRdpService start=demand", "sc config UnistoreSvc start=demand", "sc config UserDataSvc start=demand", @@ -771,12 +755,9 @@ const scripts = { "sc config WMPNetworkSvc start=demand", "sc config WManSvc start=demand", "sc config WPDBusEnum start=demand", - "sc config WSService start=demand", - "sc config WaaSMedicSvc start=demand", "sc config WalletService start=demand", "sc config WarpJITSvc start=demand", "sc config WbioSrvc start=demand", - "sc config WcsPlugInService start=demand", "sc config WdNisSvc start=demand", "sc config WdiServiceHost start=demand", "sc config WdiSystemHost start=demand", @@ -823,16 +804,12 @@ const scripts = { "sc config seclogon start=demand", "sc config shpamsvc start=disabled", "sc config smphost start=demand", - "sc config spectrum start=demand", - "sc config sppsvc start=AutomaticDelayedStart", "sc config ssh-agent start=disabled", "sc config svsvc start=demand", "sc config swprv start=demand", "sc config tzautoupdate start=disabled", - "sc config uhssvc start=disabled", "sc config upnphost start=demand", "sc config vds start=demand", - "sc config vm3dservice start=demand", "sc config vmicguestinterface start=demand", "sc config vmicheartbeat start=demand", "sc config vmickvpexchange start=demand", @@ -851,7 +828,6 @@ const scripts = { "sc config wlpasvc start=demand", "sc config wmiApSrv start=demand", "sc config workfolderssvc start=demand", - "sc config wscsvc start=AutomaticDelayedStart", "sc config wuauserv start=demand", "sc config wudfsvc start=demand", ], @@ -861,7 +837,7 @@ const scripts = { ], storagesense: [ "echo -- Disabling Storage Sense", - 'powershell -command "Set-ItemProperty -Path "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy" -Name "01" -Value 0 -Force"', + 'reg add "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy" /v "01" /t REG_DWORD /d 0 /f', ], disablehibernation: [ "echo -- Disabling Hibernation", @@ -919,6 +895,7 @@ const scripts = { ], taskbarwidgets: [ "echo -- Disabling Taskbar Widgets", + // TaskbarDa is blocked by Windows 11 24H2 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f', 'reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f', 'reg add "HKLM\\SOFTWARE\\Microsoft\\PolicyManager\\default\\NewsAndInterests\\AllowNewsAndInterests" /v "value" /t REG_DWORD /d 0 /f',