diff --git a/MainWindow.xaml b/MainWindow.xaml
index f2e61899..f0b57bea 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -190,8 +190,8 @@
+
-
diff --git a/winutil.ps1 b/winutil.ps1
index 15b1712e..e357ac34 100644
--- a/winutil.ps1
+++ b/winutil.ps1
@@ -574,6 +574,7 @@ $WPFdesktop.Add_Click({
$WPFEssTweaksAH.IsChecked = $true
$WPFEssTweaksDeleteTempFiles.IsChecked = $true
$WPFEssTweaksDeBloat.IsChecked = $false
+ $WPFEssTweaksRemoveEdge.IsChecked = $false
$WPFEssTweaksDiskCleanup.IsChecked = $false
$WPFEssTweaksDVR.IsChecked = $true
$WPFEssTweaksHiber.IsChecked = $true
@@ -599,6 +600,7 @@ $WPFlaptop.Add_Click({
$WPFEssTweaksAH.IsChecked = $true
$WPFEssTweaksDeleteTempFiles.IsChecked = $true
$WPFEssTweaksDeBloat.IsChecked = $false
+ $WPFEssTweaksRemoveEdge.IsChecked = $false
$WPFEssTweaksDiskCleanup.IsChecked = $false
$WPFEssTweaksDVR.IsChecked = $true
$WPFEssTweaksHiber.IsChecked = $false
@@ -624,6 +626,7 @@ $WPFminimal.Add_Click({
$WPFEssTweaksAH.IsChecked = $false
$WPFEssTweaksDeleteTempFiles.IsChecked = $false
$WPFEssTweaksDeBloat.IsChecked = $false
+ $WPFEssTweaksRemoveEdge.IsChecked = $false
$WPFEssTweaksDiskCleanup.IsChecked = $false
$WPFEssTweaksDVR.IsChecked = $false
$WPFEssTweaksHiber.IsChecked = $false
@@ -1081,9 +1084,8 @@ $WPFtweaksbutton.Add_Click({
If ( $WPFMiscTweaksUTC.IsChecked -eq $true ) {
Write-Host "Setting BIOS time to UTC..."
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" -Name "RealTimeIsUniversal" -Type DWord -Value 1
- $WPFMiscTweaksUTC.IsChecked
+ $WPFMiscTweaksUTC.IsChecked = $false
}
-
If ( $WPFMiscTweaksDisplay.IsChecked -eq $true ) {
Write-Host "Adjusting visual effects for performance..."
Set-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "DragFullWindows" -Type String -Value 0
@@ -1099,7 +1101,11 @@ $WPFtweaksbutton.Add_Click({
Write-Host "Adjusted visual effects for performance"
$WPFMiscTweaksDisplay.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
+ $WPFEssTweaksRemoveEdge.IsChecked = $false
+ }
If ( $WPFEssTweaksDeBloat.IsChecked -eq $true ) {
$Bloatware = @(
#Unnecessary Windows 10 AppX Apps