mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-07 23:46:51 +08:00
Task-number: QTQAINFRA-3238
Change-Id: Ie64086b650016adb7129bd4c4592ca987cc1453b
(cherry picked from commit 60befd7508)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
9 lines
404 B
PowerShell
9 lines
404 B
PowerShell
# This script will disable automatic disk cleanup
|
|
|
|
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy`" /V 04 /T REG_dWORD /D 0 /F"
|
|
|
|
# Maintenance task used by the system to launch a silent auto disk cleanup when running low on free disk space.
|
|
DisableSchedulerTask "DiskCleanup\SilentCleanup"
|