mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provisioning: Disable automatic cleanup from windows
Task-number: QTQAINFRA-3238
Change-Id: Ie64086b650016adb7129bd4c4592ca987cc1453b
(cherry picked from commit 60befd7508)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# 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"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\windows\disable-clean-manager.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\windows\disable-clean-manager.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\windows\disable-clean-manager.ps1"
|
||||
Reference in New Issue
Block a user