mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-06 15:06:52 +08:00
These are also updated to tier1 image: msvc 2017: 15.9.21 msvc 2017 build tools: 15.0 (26228.10) msvc 2019: 16.4.6 msvc 2019 build tools: 16.4.6 Change-Id: I41ae0e287ccf74183438d7a7bff639fd78e86e7a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
17 lines
530 B
PowerShell
17 lines
530 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
|
|
SCHTASKS /Change /TN "Microsoft\Windows\$name\Reboot" /DISABLE
|
|
del "$path\Schedule Scan"
|
|
del "$path\Schedule Scan Static Task"
|
|
del "$path\Backup Scan"
|
|
del "$path\UpdateModelTask"
|
|
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
|