Hi, script works fine, although I've encountered some error, and would like to know is it ok?
Win11 24h2
How it's looks:
Here's text of the error:
TaskPath TaskName State
-------- -------- -----
\Microsoft\Windows\InstallService\ WakeUpAndContinueUpdates Disabled
\Microsoft\Windows\InstallService\ WakeUpAndScanForUpdates Disabled
\Microsoft\Windows\InstallService\ ScanForUpdatesAsUser Disabled
\Microsoft\Windows\InstallService\ RestoreDevice Disabled
\Microsoft\Windows\InstallService\ ScanForUpdates Disabled
\Microsoft\Windows\InstallService\ SmartRetry Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Maintenance Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ MusUx_UpdateInterval Disabled
\Microsoft\Windows\UpdateOrchestrator\ Report policies Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Scan Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot_AC Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Scan Static Task Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Wake To Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ Reboot_Battery Disabled
\Microsoft\Windows\UpdateOrchestrator\ UIEOrchestrator Disabled
\Microsoft\Windows\UpdateOrchestrator\ Schedule Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ USO_UxBroker Disabled
\Microsoft\Windows\UpdateOrchestrator\ Start Oobe Expedite Work Disabled
\Microsoft\Windows\UpdateOrchestrator\ USO_Broker_Display Disabled
\Microsoft\Windows\UpdateOrchestrator\ UUS Failover Task Disabled
\Microsoft\Windows\UpdateOrchestrator\ StartOobeAppsScan_LicenseAccepted Disabled
Disable-ScheduledTask : Элемент не найден.
строка:1 знак:164
+ ... crosoft\Windows\UpdateOrchestrator\*' | Disable-ScheduledTask; Get-Sc ...
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_ScheduledTask:Root/Microsoft/...S_ScheduledTask) [Disable-ScheduledT
ask], CimException
+ FullyQualifiedErrorId : HRESULT 0x80070490,Disable-ScheduledTask
\Microsoft\Windows\WaaSMedic\ MaintenanceWork Disabled
\Microsoft\Windows\WaaSMedic\ PerformRemediation Disabled
\Microsoft\Windows\WindowsUpdate\ sihpostreboot Disabled
\Microsoft\Windows\WindowsUpdate\RUXIM\ PLUGScheduler Disabled
\Microsoft\Windows\WindowsUpdate\ Scheduled Start Disabled
\Microsoft\Windows\WindowsUpdate\ Refresh Group Policy Cache Disabled
C:\Windows\System32>echo Finished
Finished
Is it ok?
Hi, script works fine, although I've encountered some error, and would like to know is it ok?
Win11 24h2
How it's looks:
Here's text of the error:
Is it ok?