diff --git a/README.md b/README.md index fc6f6282..86a5246b 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | - Register daily upgrade logs on `C:\Users\Username\AppData\Local\Temp\Win10-SDT-Logs` and remove old log files; - Download AdwCleaner and Run the latest version of for Virus/Adware scan; ([`silent-debloat-softwares.ps1`](./src/scripts/silent-debloat-softwares.ps1)) - Download OOShutUp10 and import all Recommended settings; -- Disable Telemetry from Scheduled Tasks and Optimize it; ([`optimize-scheduled-tasks.ps1`](./src/scripts/optimize-scheduled-tasks.ps1)) +- Disable Telemetry from Scheduled Tasks and Optimize it; ([`optimize-task-scheduler.ps1`](./src/scripts/optimize-task-scheduler.ps1)) - Disable heavy Services, but enable some on SSDs for optimum performance; ([`optimize-services.ps1`](./src/scripts/optimize-services.ps1)) - Remove Bloatware UWP Apps that comes with Windows 10+, except from my choice; ([`remove-bloatware-apps.ps1`](./src/scripts/remove-bloatware-apps.ps1)) - Optimize Privacy by disabling more telemetry stuff and changing GPOs; ([`optimize-privacy.ps1`](./src/scripts/optimize-privacy.ps1)) diff --git a/Win10ScriptCLI.ps1 b/Win10ScriptCLI.ps1 index 5cb547d6..0e4fdf00 100644 --- a/Win10ScriptCLI.ps1 +++ b/Win10ScriptCLI.ps1 @@ -12,7 +12,7 @@ function Open-Script() { "backup-system.ps1", "install-package-managers.ps1", "silent-debloat-softwares.ps1", - "optimize-scheduled-tasks.ps1", + "optimize-task-scheduler.ps1", "optimize-services.ps1", "remove-bloatware-apps.ps1", "optimize-privacy.ps1", diff --git a/Win10ScriptGUI.ps1 b/Win10ScriptGUI.ps1 index e9c197c1..3272ceef 100644 --- a/Win10ScriptGUI.ps1 +++ b/Win10ScriptGUI.ps1 @@ -656,7 +656,7 @@ function Show-GUI() { # [Recommended order] "backup-system.ps1", "silent-debloat-softwares.ps1", - "optimize-scheduled-tasks.ps1", + "optimize-task-scheduler.ps1", "optimize-services.ps1", "remove-bloatware-apps.ps1", "optimize-privacy.ps1", @@ -676,7 +676,7 @@ function Show-GUI() { $UndoTweaks.Add_Click( { $Global:Revert = $true $Scripts = @( - "optimize-scheduled-tasks.ps1", + "optimize-task-scheduler.ps1", "optimize-services.ps1", "optimize-privacy.ps1", "optimize-performance.ps1", diff --git a/src/scripts/optimize-scheduled-tasks.ps1 b/src/scripts/optimize-task-scheduler.ps1 similarity index 95% rename from src/scripts/optimize-scheduled-tasks.ps1 rename to src/scripts/optimize-task-scheduler.ps1 index fabe57ef..cb9b6788 100644 --- a/src/scripts/optimize-scheduled-tasks.ps1 +++ b/src/scripts/optimize-task-scheduler.ps1 @@ -7,7 +7,7 @@ Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1" # Adapted from: https://github.com/Sycnex/Windows10Debloater # Adapted from: https://github.com/kalaspuffar/windows-debloat -function Optimize-ScheduledTasksList() { +function Optimize-TaskScheduler() { [CmdletBinding()] param ( [Switch] $Revert @@ -47,7 +47,7 @@ function Optimize-ScheduledTasksList() { "\Microsoft\Windows\Windows Error Reporting\QueueReporting" # Windows Error Reporting event, needed to improve compatibility with your hardware ) - Write-Title -Text "Scheduled Tasks tweaks" + Write-Title -Text "Task Scheduler tweaks" Write-Section -Text "Disabling Scheduled Tasks" If ($Revert) { @@ -68,10 +68,10 @@ function Main() { #Get-ScheduledTask | Select-Object -Property State, TaskPath, TaskName, Description | Sort-Object State, TaskPath, TaskName | Out-GridView If (!$Revert) { - Optimize-ScheduledTasksList # Disable Scheduled Tasks that causes slowdowns + Optimize-TaskScheduler # Disable Scheduled Tasks that causes slowdowns } Else { - Optimize-ScheduledTasksList -Revert + Optimize-TaskScheduler -Revert } }