From ae9a8c0b154213df0415dd239031f0c3ca2c5089 Mon Sep 17 00:00:00 2001 From: Aetopia <41850963+Aetopia@users.noreply.github.com> Date: Tue, 17 May 2022 21:21:25 +0530 Subject: [PATCH] Small Fixes. (#22) * Update winutil.ps1 * Use Curl instead of Bits transfer for O&O Shutup. * Update winutil.ps1 * decoupling xaml and ps1 (#7) Co-authored-by: Chris Titus Co-authored-by: Rahul Somasundaram Co-authored-by: Chris Titus --- winutil.ps1 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index e3a58391..a32222de 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -566,9 +566,8 @@ $WPFtweaksbutton.Add_Click({ } If ( $WPFEssTweaksOO.IsChecked -eq $true ) { Write-Host "Running O&O Shutup with Recommended Settings" - Import-Module BitsTransfer - Start-BitsTransfer -Source "https://raw.githubusercontent.com/ChrisTitusTech/win10script/master/ooshutup10.cfg" -Destination ooshutup10.cfg - Start-BitsTransfer -Source "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -Destination OOSU10.exe + curl.exe -ss "https://raw.githubusercontent.com/ChrisTitusTech/win10script/master/ooshutup10.cfg" -o ooshutup10.cfg + curl.exe -ss "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -o OOSU10.exe ./OOSU10.exe ooshutup10.cfg /quiet $WPFEssTweaksOO.IsChecked = $false } @@ -784,7 +783,7 @@ $WPFtweaksbutton.Add_Click({ Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" -Name "SystemResponsiveness" -Type DWord -Value 0000000a Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" -Name "NetworkThrottlingIndex" -Type DWord -Value 0000000a Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control" -Name "WaitToKillServiceTimeout" -Type DWord -Value 2000 - Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "MenuShowDelay" -Type DWord -Value 0 + Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "MenuShowDelay" -Type DWord -Value 1 Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "WaitToKillAppTimeout" -Type DWord -Value 5000 Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "HungAppTimeout" -Type DWord -Value 4000 Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "AutoEndTasks" -Type DWord -Value 1