Skip to content

Portable Tool for an Ideal Windows Setup

upd. task storage

Greedeks37e8997859b1
diff --git a/.Source/GTweak/Utilities/Storage/TaskStorage.cs b/.Source/GTweak/Utilities/Storage/TaskStorage.cs
index a8e511d0..ad725998 100644
--- a/.Source/GTweak/Utilities/Storage/TaskStorage.cs
+++ b/.Source/GTweak/Utilities/Storage/TaskStorage.cs
@@ -60,7 +60,7 @@ namespace GTweak.Utilities.Storage
protected static readonly string intelTask = @"\Intel\Intel Telemetry 2 (x86)";
- protected static readonly string[] winUpdatesTasks = {
+ protected static readonly string[] winUpdatesTasks = new[] {
@"\Microsoft\Windows\UpdateOrchestrator\Report policies",
@"\Microsoft\Windows\UpdateOrchestrator\Schedule Maintenance Work",
@"\Microsoft\Windows\UpdateOrchestrator\Schedule Scan",
@@ -74,7 +74,8 @@ namespace GTweak.Utilities.Storage
@"\Microsoft\Windows\UpdateOrchestrator\USO_UxBroker",
@"\Microsoft\Windows\UpdateOrchestrator\UUS Failover Task",
@"\Microsoft\Windows\WindowsUpdate\Refresh Group Policy Cache",
- @"\Microsoft\Windows\WindowsUpdate\Scheduled Start" };
+ @"\Microsoft\Windows\WindowsUpdate\Scheduled Start" }
+ .Concat(TaskSchedulerManager.GetAllTasksInPaths(@"\Microsoft\Windows\UpdateAssistant\")).ToArray();
protected static readonly string[] xboxTasks = {
@"\Microsoft\XblGameSave\XblGameSaveTask",