diff --git a/src/scripts/optimize-performance.ps1 b/src/scripts/optimize-performance.ps1 index 3cd83ed..f1c4a75 100644 --- a/src/scripts/optimize-performance.ps1 +++ b/src/scripts/optimize-performance.ps1 @@ -35,6 +35,7 @@ function Optimize-Performance() { # Initialize all Path variables used to Registry Tweaks $PathToLMMultimediaSystemProfile = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" $PathToLMMultimediaSystemProfileOnGameTasks = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" + $PathToLMPoliciesEdge = "HKLM:\SOFTWARE\Policies\Microsoft\Edge" $PathToLMPoliciesPsched = "HKLM:\SOFTWARE\Policies\Microsoft\Psched" $PathToLMPoliciesWindowsStore = "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore" $PathToUsersControlPanelDesktop = "Registry::HKEY_USERS\.DEFAULT\Control Panel\Desktop" @@ -69,6 +70,14 @@ function Optimize-Performance() { Remove-ItemProperty -Path "$PathToLMPoliciesWindowsStore" -Name "AutoDownload" # [@] (2 = Disable, 4 = Enable) } + Write-Section "Microsoft Edge Tweaks" + Write-Caption "System and Performance" + Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) Edge Startup boost..." + Set-ItemPropertyVerified -Path "$PathToLMPoliciesEdge" -Name "StartupBoostEnabled" -Type DWord -Value $Zero + + Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) run extensions and apps when Edge is closed..." + Set-ItemPropertyVerified -Path "$PathToLMPoliciesEdge" -Name "BackgroundModeEnabled" -Type DWord -Value $Zero + Write-Section "Power Plan Tweaks" Write-Status -Types "+", $TweakType -Status "Setting Power Plan to High Performance..." diff --git a/src/scripts/personal-tweaks.ps1 b/src/scripts/personal-tweaks.ps1 index d48ddb8..b96ef29 100644 --- a/src/scripts/personal-tweaks.ps1 +++ b/src/scripts/personal-tweaks.ps1 @@ -184,7 +184,7 @@ function Register-PersonalTweaksList() { Set-ItemPropertyVerified -Path "$PathToCUAccessibility\ToggleKeys" -Name "Flags" -Value "58" Write-Section "Microsoft Edge Policies" - Write-Caption "Privacy, search and services / Address bar and search" + Write-Caption "Privacy, search and services -> Address bar and search" Write-Status -Types "*", $TweakType -Status "Show me search and site suggestions using my typed characters..." Remove-ItemProperty -Path "$PathToCUPoliciesEdge", "$PathToLMPoliciesEdge" -Name "SearchSuggestEnabled" -Force -ErrorAction SilentlyContinue