mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-02 02:53:31 -05:00
emergency fix from bad values from runspace merge
This commit is contained in:
@ -623,8 +623,13 @@ Version 0.1
|
||||
|
||||
Write-Logs -Level INFO -Message "Finished Scripts" -LogPath $sync.logfile
|
||||
}
|
||||
|
||||
Write-Logs -Level INFO -Message "Tweaks finished" -LogPath $sync.logfile
|
||||
#
|
||||
# Fix bad tweaks made from previous versions
|
||||
#
|
||||
Remove-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "HungAppTimeout" -ErrorAction SilentlyContinue
|
||||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name "ClearPageFileAtShutdown" -Type DWord -Value 0
|
||||
|
||||
Write-Logs -Level INFO -Message "Tweaks finished" -LogPath $sync.logfile
|
||||
|
||||
if($sync["Form"]){
|
||||
$sync.taskrunning = $false
|
||||
|
Reference in New Issue
Block a user