mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-24 21:57:45 +08:00
Change-Id: I9e6e1423b1e287aff0be8ea2b29c95838ed10de5 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
15 lines
443 B
PowerShell
15 lines
443 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\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
|