mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-22 14:01:31 -06:00
Fixed some errors (#164)
* Update README.md * QOL Terminal - Win Update Revamp * Fix Flickering * Fixed registry error * Fixed some errors Added missing xml code of DisableUAC into MainWindow.xaml Unchecked DisableUAC for Minimal Tweaks option Co-authored-by: Chris Titus <dfm.titus@gmail.com>
This commit is contained in:
parent
faf35e9d91
commit
3c25221ccf
@ -176,6 +176,7 @@
|
|||||||
<CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" Margin="5,0"/>
|
<CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" Margin="5,0"/>
|
||||||
<CheckBox Name="MiscTweaksUTC" Content="Set Time to UTC (Dual Boot)" Margin="5,0"/>
|
<CheckBox Name="MiscTweaksUTC" Content="Set Time to UTC (Dual Boot)" 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="MiscTweaksDisableUAC" Content="Disable UAC" 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"/>
|
||||||
<Button Name="undoall" Background="AliceBlue" Content="Undo All Tweaks" Margin="20,5"/>
|
<Button Name="undoall" Background="AliceBlue" Content="Undo All Tweaks" Margin="20,5"/>
|
||||||
|
@ -593,7 +593,7 @@ $WPFminimal.Add_Click({
|
|||||||
$WPFMiscTweaksNum.IsChecked = $false
|
$WPFMiscTweaksNum.IsChecked = $false
|
||||||
$WPFMiscTweaksLapPower.IsChecked = $false
|
$WPFMiscTweaksLapPower.IsChecked = $false
|
||||||
$WPFMiscTweaksLapNum.IsChecked = $false
|
$WPFMiscTweaksLapNum.IsChecked = $false
|
||||||
$WPFMiscTweaksDisableUAC.IsChecked = $true
|
$WPFMiscTweaksDisableUAC.IsChecked = $false
|
||||||
})
|
})
|
||||||
|
|
||||||
$WPFtweaksbutton.Add_Click({
|
$WPFtweaksbutton.Add_Click({
|
||||||
@ -617,7 +617,7 @@ $WPFtweaksbutton.Add_Click({
|
|||||||
}
|
}
|
||||||
If ( $WPFEssTweaksHiber.IsChecked -eq $true ) {
|
If ( $WPFEssTweaksHiber.IsChecked -eq $true ) {
|
||||||
Write-Host "Disabling Hibernation..."
|
Write-Host "Disabling Hibernation..."
|
||||||
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Session Manager\Power" -Name "HibernteEnabled" -Type Dword -Value 0
|
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Session Manager\Power" -Name "HibernateEnabled" -Type Dword -Value 0
|
||||||
If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings")) {
|
If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings")) {
|
||||||
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" | Out-Null
|
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" | Out-Null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user