mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-22 14:01:31 -06:00
Merge branch 'test-2022' of https://github.com/ChrisTitusTech/winutil into test-2022
This commit is contained in:
commit
9b67324243
@ -192,6 +192,7 @@
|
|||||||
<CheckBox Name="MiscTweaksDisableNotifications" Content="Disable Notification" Margin="5,0"/>
|
<CheckBox Name="MiscTweaksDisableNotifications" Content="Disable Notification" Margin="5,0"/>
|
||||||
<CheckBox Name="MiscTweaksDisableTPMCheck" Content="Disable TPM on Update" Margin="5,0"/>
|
<CheckBox Name="MiscTweaksDisableTPMCheck" Content="Disable TPM on Update" Margin="5,0"/>
|
||||||
<CheckBox Name="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0"/>
|
<CheckBox Name="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0"/>
|
||||||
|
<CheckBox Name="EssTweaksRemoveCortana" Content="Remove Cortana" Margin="5,0"/>
|
||||||
<CheckBox Name="EssTweaksRemoveEdge" Content="Remove Microsoft Edge" Margin="5,0"/>
|
<CheckBox Name="EssTweaksRemoveEdge" Content="Remove Microsoft Edge" Margin="5,0"/>
|
||||||
<CheckBox Name="MiscTweaksRightClickMenu" Content="Set Classic Right-Click Menu " Margin="5,0"/>
|
<CheckBox Name="MiscTweaksRightClickMenu" Content="Set Classic Right-Click Menu " Margin="5,0"/>
|
||||||
<Button Name="tweaksbutton" Background="AliceBlue" Content="Run Tweaks" Margin="20,10,20,0"/>
|
<Button Name="tweaksbutton" Background="AliceBlue" Content="Run Tweaks" Margin="20,10,20,0"/>
|
||||||
|
@ -574,6 +574,7 @@ $WPFdesktop.Add_Click({
|
|||||||
$WPFEssTweaksAH.IsChecked = $true
|
$WPFEssTweaksAH.IsChecked = $true
|
||||||
$WPFEssTweaksDeleteTempFiles.IsChecked = $true
|
$WPFEssTweaksDeleteTempFiles.IsChecked = $true
|
||||||
$WPFEssTweaksDeBloat.IsChecked = $false
|
$WPFEssTweaksDeBloat.IsChecked = $false
|
||||||
|
$WPFEssTweaksRemoveCortana.IsChecked = $false
|
||||||
$WPFEssTweaksRemoveEdge.IsChecked = $false
|
$WPFEssTweaksRemoveEdge.IsChecked = $false
|
||||||
$WPFEssTweaksDiskCleanup.IsChecked = $false
|
$WPFEssTweaksDiskCleanup.IsChecked = $false
|
||||||
$WPFEssTweaksDVR.IsChecked = $true
|
$WPFEssTweaksDVR.IsChecked = $true
|
||||||
@ -600,6 +601,7 @@ $WPFlaptop.Add_Click({
|
|||||||
$WPFEssTweaksAH.IsChecked = $true
|
$WPFEssTweaksAH.IsChecked = $true
|
||||||
$WPFEssTweaksDeleteTempFiles.IsChecked = $true
|
$WPFEssTweaksDeleteTempFiles.IsChecked = $true
|
||||||
$WPFEssTweaksDeBloat.IsChecked = $false
|
$WPFEssTweaksDeBloat.IsChecked = $false
|
||||||
|
$WPFEssTweaksRemoveCortana.IsChecked = $false
|
||||||
$WPFEssTweaksRemoveEdge.IsChecked = $false
|
$WPFEssTweaksRemoveEdge.IsChecked = $false
|
||||||
$WPFEssTweaksDiskCleanup.IsChecked = $false
|
$WPFEssTweaksDiskCleanup.IsChecked = $false
|
||||||
$WPFEssTweaksDVR.IsChecked = $true
|
$WPFEssTweaksDVR.IsChecked = $true
|
||||||
@ -626,6 +628,7 @@ $WPFminimal.Add_Click({
|
|||||||
$WPFEssTweaksAH.IsChecked = $false
|
$WPFEssTweaksAH.IsChecked = $false
|
||||||
$WPFEssTweaksDeleteTempFiles.IsChecked = $false
|
$WPFEssTweaksDeleteTempFiles.IsChecked = $false
|
||||||
$WPFEssTweaksDeBloat.IsChecked = $false
|
$WPFEssTweaksDeBloat.IsChecked = $false
|
||||||
|
$WPFEssTweaksRemoveCortana.IsChecked = $false
|
||||||
$WPFEssTweaksRemoveEdge.IsChecked = $false
|
$WPFEssTweaksRemoveEdge.IsChecked = $false
|
||||||
$WPFEssTweaksDiskCleanup.IsChecked = $false
|
$WPFEssTweaksDiskCleanup.IsChecked = $false
|
||||||
$WPFEssTweaksDVR.IsChecked = $false
|
$WPFEssTweaksDVR.IsChecked = $false
|
||||||
@ -1101,6 +1104,10 @@ $WPFtweaksbutton.Add_Click({
|
|||||||
Write-Host "Adjusted visual effects for performance"
|
Write-Host "Adjusted visual effects for performance"
|
||||||
$WPFMiscTweaksDisplay.IsChecked = $false
|
$WPFMiscTweaksDisplay.IsChecked = $false
|
||||||
}
|
}
|
||||||
|
If ( $WPFEssTweaksRemoveCortana.IsChecked -eq $true ) {
|
||||||
|
Write-Host "Removing Cortana..."
|
||||||
|
Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage
|
||||||
|
$WPFEssTweaksRemoveCortana.IsChecked = $false
|
||||||
If ( $WPFEssTweaksRemoveEdge.IsChecked -eq $true ) {
|
If ( $WPFEssTweaksRemoveEdge.IsChecked -eq $true ) {
|
||||||
Write-Host "Removing Microsoft Edge..."
|
Write-Host "Removing Microsoft Edge..."
|
||||||
iwr -useb https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/Edge_Removal.bat | iex
|
iwr -useb https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/Edge_Removal.bat | iex
|
||||||
|
Loading…
Reference in New Issue
Block a user