mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-04 10:16:39 +08:00
Change-Id: I9e6e1423b1e287aff0be8ea2b29c95838ed10de5 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
9 lines
438 B
PowerShell
9 lines
438 B
PowerShell
# This script will disable automatic disk cleanup
|
|
|
|
. "$PSScriptRoot\..\..\provisioning\common\windows\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"
|