@ -35,6 +35,7 @@ function Optimize-Performance() {
# Initialize all Path variables used to Registry Tweaks
# Initialize all Path variables used to Registry Tweaks
$PathToLMMultimediaSystemProfile = " HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile "
$PathToLMMultimediaSystemProfile = " HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile "
$PathToLMMultimediaSystemProfileOnGameTasks = " HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games "
$PathToLMMultimediaSystemProfileOnGameTasks = " HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games "
$PathToLMPoliciesEdge = " HKLM:\SOFTWARE\Policies\Microsoft\Edge "
$PathToLMPoliciesPsched = " HKLM:\SOFTWARE\Policies\Microsoft\Psched "
$PathToLMPoliciesPsched = " HKLM:\SOFTWARE\Policies\Microsoft\Psched "
$PathToLMPoliciesWindowsStore = " HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore "
$PathToLMPoliciesWindowsStore = " HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore "
$PathToUsersControlPanelDesktop = " Registry::HKEY_USERS\.DEFAULT\Control Panel\Desktop "
$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)
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-Section " Power Plan Tweaks "
Write-Status -Types " + " , $TweakType -Status " Setting Power Plan to High Performance... "
Write-Status -Types " + " , $TweakType -Status " Setting Power Plan to High Performance... "