From 30f7233a1b9c5cd46832f4a2f4a25593fc9f82b6 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Sat, 8 Oct 2022 18:07:08 -0500 Subject: [PATCH] fix missing bracket --- winutil.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 12ec55eb..88ce3c2b 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -706,7 +706,6 @@ $WPFtweaksbutton.Add_Click({ } Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" -Name "ShowHibernateOption" -Type Dword -Value 0 $WPFEssTweaksHiber.IsChecked = $false - } If ( $WPFEssTweaksHome.IsChecked -eq $true ) { $WPFEssTweaksHome.IsChecked = $false @@ -745,7 +744,6 @@ $WPFtweaksbutton.Add_Click({ Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Type DWord -Value 0 # Default is 5 # This will set the GPO Entry in Security so that Admin users elevate without any prompt while normal users still elevate and u can even leave it ennabled. # It will just not bother u anymore - $WPFMiscTweaksDisableUAC.IsChecked = $false } @@ -1108,6 +1106,7 @@ $WPFtweaksbutton.Add_Click({ Write-Host "Removing Cortana..." Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage $WPFEssTweaksRemoveCortana.IsChecked = $false + } If ( $WPFEssTweaksRemoveEdge.IsChecked -eq $true ) { Write-Host "Removing Microsoft Edge..." iwr -useb https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/Edge_Removal.bat | iex