mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-01 17:08:33 +08:00
Windows 11 23H2 version which will replace Windows 11 22H2 once the new version is deemed as stable. Until then, 23h2 tests will be set as insignificant. Task-number: QTQAINFRA-6075 Task-number: QTQAINFRA-6113 Change-Id: I15054813896210fadf14da815ad5a7b3e402e800 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
14 lines
415 B
PowerShell
14 lines
415 B
PowerShell
# Disable UpdateOrchestrator
|
|
|
|
$name = "UpdateOrchestrator"
|
|
$path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name"
|
|
|
|
takeown /F $path /A /R
|
|
icacls $path /grant Administrators:F /T
|
|
del "$path\Schedule Scan"
|
|
del "$path\Schedule Scan Static Task"
|
|
del "$path\USO_UxBroker"
|
|
|
|
# Disable Update orchestrator service
|
|
reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /V Start /T REG_dWORD /D 4 /F
|