mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-26 14:47:52 +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-6244
Change-Id: I15054813896210fadf14da815ad5a7b3e402e800
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 5157d1ef93)
Reviewed-by: Jani Heikkinen <jani.heikkinen@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
|