cx.cmd- @echo off
- echo "禁用计划任务 Windows 更新扫描。"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\StartOobeAppsScan_LicenseAccepted"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\Start Oobe Expedite Work"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\StartOobeAppsScan_OobeAppReady"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\StartOobeAppsScanAfterUpdate"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\USO_UxBroker"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\UUS Failover Task"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\Report policies"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\UpdateOrchestrator\Schedule Scan"
- SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\Application Experience\SdbinstMergeDbTask"
-
- del /a /f /s /q "%SystemRoot%\Setup\Scripts\NSudo.exe"
- del %0
- exit
复制代码
|