mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 06:35:51 -06:00
emergency fix from bad values from runspace merge
This commit is contained in:
parent
c6cdf77312
commit
a29a27eb2c
@ -723,13 +723,6 @@
|
||||
"value": "5000",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "HungAppTimeout",
|
||||
"value": "4000",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
@ -753,9 +746,9 @@
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management",
|
||||
"OriginalValue": "1",
|
||||
"OriginalValue": "0",
|
||||
"name": "ClearPageFileAtShutdown",
|
||||
"value": "00000001",
|
||||
"value": "00000000",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user