Skip to content

Portable Tool for an Ideal Windows Setup

upd. xbox task list

Greedeks078cbfeb3caa
diff --git a/.Source/GTweak/Utilities/Storage/TaskStorage.cs b/.Source/GTweak/Utilities/Storage/TaskStorage.cs
index df08c54d..003c9588 100644
--- a/.Source/GTweak/Utilities/Storage/TaskStorage.cs
+++ b/.Source/GTweak/Utilities/Storage/TaskStorage.cs
@@ -47,9 +47,12 @@
@"\Microsoft\Windows\WindowsUpdate\Refresh Group Policy Cache",
@"\Microsoft\Windows\WindowsUpdate\Scheduled Start" };
- protected static readonly string[] xboxGameTasks = {
+ protected static readonly string[] xboxTasks = {
@"\Microsoft\XblGameSave\XblGameSaveTask",
- @"\Microsoft\XblGameSave\XblGameSaveTaskLogon" };
+ @"\Microsoft\XblGameSave\XblGameSaveTaskLogon",
+ @"\Microsoft\Xbox\XblGameSaveTask",
+ @"\Microsoft\Xbox\Maintenance\MaintenanceTask",
+ @"\Microsoft\Xbox\XGamingServices\GameServicesTask" };
protected static readonly string bluetoothTask = @"\Microsoft\Windows\Bluetooth\UninstallDeviceTask";
@@ -78,6 +81,7 @@
@"\Microsoft\Windows\Windows Defender\Windows Defender Verification", };
protected static readonly string restoreTask = @"\Microsoft\Windows\SystemRestore\SR";
+
protected static readonly string defragTask = @"\Microsoft\Windows\Defrag\ScheduledDefrag";
}
}
diff --git a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
index 9d48136e..77e4924c 100644
--- a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs
@@ -202,7 +202,7 @@ namespace GTweak.Utilities.Tweaks
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\XblAuthManager", "Start", isDisabled ? 4 : 3, RegistryValueKind.DWord);
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\XboxNetApiSvc", "Start", isDisabled ? 4 : 3, RegistryValueKind.DWord);
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\XblGameSave", "Start", isDisabled ? 4 : 3, RegistryValueKind.DWord);
- SetTaskState(!isDisabled, xboxGameTasks);
+ SetTaskState(!isDisabled, xboxTasks);
break;
case "TglButton3":
RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\Services\WwanSvc", "Start", isDisabled ? 4 : 3, RegistryValueKind.DWord);