fulibo123 发表于 2023-11-6 09:21

关于计划任务的优化-20231106

本帖最后由 fulibo123 于 2023-11-6 09:48 编辑

系统的计划任务在注册表的

之前有过几次晚上找到的优化,都有点麻烦!
群友分享一个批处理是全部删除,也不好掌握!


我找到一个办法安全精简计划任务!


导出HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree 里面的值!


在reg文件里面找到下面的2个值开头的行!


"Id"=
"Index"=

修改成


"Id"=-
"Index"=-


就可以该精简计划任务!
找到了!输入法相关!









liangxyz 发表于 2023-11-6 10:07

你这个也是删除吧?

fulibo123 发表于 2023-11-6 10:50

liangxyz 发表于 2023-11-6 10:07 https://bbs.pcbeta.com/static/image/common/back.gif
你这个也是删除吧?

删除!
注意备份!

依晓 发表于 2023-11-7 00:05

感谢分享。

由于想知道删除这两个值内容是起了什么作用,搜到一篇文章《windows 计划任务隐藏新姿势分享》,又学了一些知识。{:5_264:}

月如霜 发表于 2023-11-7 00:34

谢谢分享!

hutuch 发表于 2023-11-7 06:33

谢谢分享。

nothingness 发表于 2023-11-7 07:55

感谢楼主分享

balancircle 发表于 2023-11-7 07:59

从没优化过计划任务
会不会有副作用呢

wangwuijun 发表于 2023-11-7 08:07

xwsky 发表于 2023-11-7 08:08

感谢楼主分享

xgyun 发表于 2023-11-7 10:22

本帖最后由 xgyun 于 2023-11-7 10:29 编辑

最好别删,直接disable 就行了, 不然想恢复旧费劲了。类似:
schtasks /change /tn "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"/disable



newcak 发表于 2023-12-2 21:34

谢谢分享!

qqsxbg 发表于 2023-12-2 21:41

我的


echo off
chcp 437
#20221205更新
schtasks /Change /Disable /tn "\Microsoft\XblGameSave\XblGameSaveTask"

schtasks /Change /Disable /tn "\AliUpdater"
schtasks /Change /Disable /tn "\MicrosoftEdgeUpdateTaskMachineCore"
schtasks /Change /Disable /tn "\MicrosoftEdgeUpdateTaskMachineUA"

schtasks /Change /Disable /tn "\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319"
schtasks /Change /Disable /tn "\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64"
schtasks /Change /Disable /tn "\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 64 Critical"
schtasks /Change /Disable /tn "\Microsoft\Windows\.NET Framework\.NET Framework NGEN v4.0.30319 Critical"

schtasks /Change /Disable /tn "\Microsoft\Windows\Active Directory Rights Management Services Client\AD RMS Rights Policy Template Management (Manual)"
schtasks /Change /Disable /tn "\Microsoft\Windows\Active Directory Rights Management Services Client\AD RMS Rights Policy Template Management (Automated)"

schtasks /Change /Disable /tn "\Microsoft\Microsoft Antimalware\Microsoft Antimalware Scheduled Scan"

schtasks /Change /Disable /tn "\Microsoft\Windows\AppID\EDP Policy Manager"
schtasks /Change /Disable /tn "\Microsoft\Windows\AppID\PolicyConverter"
schtasks /Change /Disable /tn "\Microsoft\Windows\AppID\VerifiedPublisherCertStoreCheck"
schtasks /Change /Disable /tn "\Microsoft\Windows\AppID\SmartScreenSpecific"

schtasks /Change /Disable /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
schtasks /Change /Disable /tn "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
schtasks /Change /Disable /tn "\Microsoft\Windows\Application Experience\AitAgent"

schtasks /Change /Disable /tn "\Microsoft\Windows\ApplicationData\CleanupTemporaryState"
schtasks /Change /Disable /tn "\Microsoft\Windows\ApplicationData\DsSvcCleanup"

schtasks /Change /Disable /tn "\Microsoft\Windows\AppxDeploymentClient\Pre-staged app cleanup"

schtasks /Change /Disable /tn "\Microsoft\Windows\Autochk\Proxy"

schtasks /Change /Disable /tn "\Microsoft\Windows\CertificateServicesClient\SystemTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\CertificateServicesClient\UserTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\CertificateServicesClient\UserTask-Roam"

schtasks /Change /Disable /tn "\Microsoft\Windows\Chkdsk\ProactiveScan"

schtasks /Change /Disable /tn "\Microsoft\Windows\Clip\License Validation"

schtasks /Change /Disable /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator"
schtasks /Change /Disable /tn "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip"
schtasks /Change /Disable /tn "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Customer Experience Improvement Program\Uploader"

schtasks /Change /Disable /tn "\Microsoft\Windows\Data Integrity Scan\Data Integrity Scan"
schtasks /Change /Disable /tn "\Microsoft\Windows\Data Integrity Scan\Data Integrity Scan for Crash Recovery"

schtasks /Change /Disable /tn "\Microsoft\Windows\Defrag\ScheduledDefrag"

schtasks /Change /Disable /tn "\Microsoft\Windows\Device Setup\Metadata Refresh"

schtasks /Change /Disable /tn "\Microsoft\Windows\Diagnosis\Scheduled"

schtasks /Change /Disable /tn "\Microsoft\Windows\DiskCleanup\SilentCleanup"

schtasks /Change /Disable /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
schtasks /Change /Disable /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticResolver"

schtasks /Change /Disable /tn "\Microsoft\Windows\DiskFootprint\Diagnostics"

schtasks /Change /Disable /tn "\Microsoft\Windows\Feedback\Siuf\DmClient"

schtasks /Change /Disable /tn "\Microsoft\Windows\File Classification Infrastructure\Property Definition Sync"

schtasks /Change /Disable /tn "\Microsoft\Windows\FileHistory\File History (maintenance mode)"


schtasks /Change /Disable /tn "\Microsoft\Windows\Location\Notifications"
schtasks /Change /Disable /tn "\Microsoft\Windows\Location\WindowsActionDialog"

schtasks /Change /Disable /tn "\Microsoft\Windows\Maintenance\WinSAT"

schtasks /Change /Disable /tn "\Microsoft\Windows\Maps\MapsToastTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Maps\MapsUpdateTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\ActivateWindowsSearch"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\ConfigureInternetTimeService"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\DispatchRecoveryTasks"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\ehDRMInit"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\InstallPlayReady"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\mcupdate"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\MediaCenterRecoveryTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\ObjectStoreRecoveryTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\OCURActivate"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\OCURDiscovery"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\PBDADiscovery"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\PBDADiscoveryW1"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\PBDADiscoveryW2"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\PeriodicScanRetry"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\PvrRecoveryTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\PvrScheduleTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\RecordingRestart"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\RegisterSearch"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\ReindexSearchRoot"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\SqlLiteRecoveryTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\StartRecording"
schtasks /Change /Disable /tn "\Microsoft\Windows\Media Center\UpdateRecordPath

schtasks /Change /Disable /tn "\Microsoft\Windows\MemoryDiagnostic\ProcessMemoryDiagnosticEvents"
schtasks /Change /Disable /tn "\Microsoft\Windows\MemoryDiagnostic\RunFullMemoryDiagnostic"
schtasks /Change /Disable /tn "\Microsoft\Windows\MemoryDiagnostic\CorruptionDetector"
schtasks /Change /Disable /tn "\Microsoft\Windows\MemoryDiagnostic\DecompressionFailureDetector"

schtasks /Change /Disable /tn "\Microsoft\Windows\Management\Provisioning\Retry"

schtasks /Change /Disable /tn "\Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser"

schtasks /Change /Disable /tn "\Microsoft\Windows\MobilePC\HotStart"

schtasks /Change /Disable /tn "\Microsoft\Windows\MUI\LPRemove"

schtasks /Change /Disable /tn "\Microsoft\Windows\Offline Files\Background Synchronization"
schtasks /Change /Disable /tn "\Microsoft\Windows\Offline Files\Logon Synchronization"

schtasks /Change /Disable /tn "\Microsoft\Windows\PerfTrack\BackgroundConfigSurveyor"

schtasks /Change /Disable /tn "\Microsoft\Windows\PI\Secure-Boot-Update"
schtasks /Change /Disable /tn "\Microsoft\Windows\PI\Sqm-Tasks"

schtasks /Change /Disable /tn "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"

schtasks /Change /Disable /tn "\Microsoft\Windows\RAC\RacTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\Ras\MobilityManager"

schtasks /Change /Disable /tn "\Microsoft\Windows\RecoveryEnvironment\VerifyWinRE"

schtasks /Change /Disable /tn "\Microsoft\Windows\Registry\RegIdleBackup"

schtasks /Change /Disable /tn "\Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\RetailDemo\CleanupOfflineContent"

schtasks /Change /Disable /tn "\Microsoft\Windows\Servicing\StartComponentCleanup"

schtasks /Change /Disable /tn "\Microsoft\Windows\SettingSync\BackgroundUploadTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\SettingSync\NetworkStateChangeTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\Setup\SetupCleanupTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\SharedPC\Account Cleanup"

schtasks /Change /Disable /tn "\Microsoft\Windows\Shell\CreateObjectTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor"
schtasks /Change /Disable /tn "\Microsoft\Windows\Shell\FamilySafetyRefreshTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Shell\IndexerAutomaticMaintenance"
schtasks /Change /Disable /tn "\Microsoft\Windows\Shell\WindowsParentalControls"
schtasks /Change /Disable /tn "\Microsoft\Windows\Shell\WindowsParentalControlsMigration"

schtasks /Change /Disable /tn "\Microsoft\Windows\Setup\gwx\runappraiser"
schtasks /Change /Disable /tn "\Microsoft\Windows\Setup\gwx\refreshgwxconfig"
schtasks /Change /Disable /tn "\Microsoft\Windows\Setup\gwx\launchtrayprocess"
schtasks /Change /Disable /tn "\Microsoft\Windows\Setup\GWXTriggers\Logon"
schtasks /Change /Disable /tn "\Microsoft\Windows\Setup\GWXTriggers\OutOfIdle"
schtasks /Change /Disable /tn "\Microsoft\Windows\Setup\GWXTriggers\refreshgwxconfig-B"

schtasks /Change /Disable /tn "\Microsoft\Windows\SetupSQMTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTaskLogon"
schtasks /Change /Disable /tn "\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTaskNetwork"

schtasks /Change /Disable /tn "\Microsoft\Windows\SpacePort\SpaceAgentTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\Sysmain\HybridDriveCachePrepopulate"
schtasks /Change /Disable /tn "\Microsoft\Windows\Sysmain\HybridDriveCacheRebalance"
schtasks /Change /Disable /tn "\Microsoft\Windows\Sysmain\ResPriStaticDbSync"
schtasks /Change /Disable /tn "\Microsoft\Windows\Sysmain\WsSwapAssessmentTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\SystemRestore\SR"

schtasks /Change /Disable /tn "\Microsoft\Windows\TPM\Tpm-HASCertRetr"
schtasks /Change /Disable /tn "\Microsoft\Windows\TPM\Tpm-Maintenance"

schtasks /Change /Disable /tn "\Microsoft\Windows\UpdateOrchestrator\Maintenance Install"
schtasks /Change /Disable /tn "\Microsoft\Windows\UpdateOrchestrator\Policy Install"
schtasks /Change /Disable /tn "\Microsoft\Windows\UpdateOrchestrator\Reboot"
schtasks /Change /Disable /tn "\Microsoft\Windows\UpdateOrchestrator\Resume On Boot"
schtasks /Change /Disable /tn "\Microsoft\Windows\UpdateOrchestrator\Schedule Scan"
schtasks /Change /Disable /tn "\Microsoft\Windows\UpdateOrchestrator\USO_UxBroker_Display"
schtasks /Change /Disable /tn "\Microsoft\Windows\UpdateOrchestrator\USO_UxBroker_ReadyToReboot"

schtasks /Change /Disable /tn "\Microsoft\Windows\UPnP\UPnPHostConfig"

schtasks /Change /Disable /tn "\Microsoft\Windows\User Profile Service\HiveUploadTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\WindowsBackup\ConfigNotification"

schtasks /Change /Disable /tn "\Microsoft\Windows\Wininet\CacheTask"

schtasks /Change /Disable /tn "\Microsoft\Windows\WDI\ResolutionHost"

schtasks /Change /Disable /tn "\Microsoft\Windows Defender\MP Scheduled Scan"
schtasks /Change /Disable /tn "\Microsoft\Windows Defender\MpIdleTask"
schtasks /Change /Disable /tn "\Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance"
schtasks /Change /Disable /tn "\Microsoft\Windows\Windows Defender\Windows Defender Cleanup"
schtasks /Change /Disable /tn "\Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan"
schtasks /Change /Disable /tn "\Microsoft\Windows\Windows Defender\Windows Defender Verification"

schtasks /Change /Disable /tn "\Microsoft\Windows\Windows Error Reporting\QueueReporting"

schtasks /Change /Disable /tn "\Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange"

schtasks /Change /Disable /tn "\Microsoft\Windows\Windows Media Sharing\UpdateLibrary"

schtasks /Change /Disable /tn "\Microsoft\Windows\WindowsUpdate\Scheduled Start"
schtasks /Change /Disable /tn "\Microsoft\Windows\WindowsUpdate\sihpostreboot"
schtasks /Change /Disable /tn "\Microsoft\Windows\WindowsUpdate\sih"
schtasks /Change /Disable /tn "\Microsoft\Windows\WindowsUpdate\sihboot"
schtasks /Change /Disable /tn "\Microsoft\Windows\WindowsUpdate\Automatic App Update"

schtasks /Change /Disable /tn "\Microsoft\Windows\WOF\WIM-Hash-Management"
schtasks /Change /Disable /tn "\Microsoft\Windows\WOF\WIM-Hash-Validation"

schtasks /Change /Disable /tn "\Microsoft\Windows\Work Folders\Work Folders Logon Synchronization"
schtasks /Change /Disable /tn "\Microsoft\Windows\Work Folders\Work Folders Maintenance Work"

schtasks /Change /Disable /tn "\Microsoft\Windows\WS\WSTask"

exit
页: [1]
查看完整版本: 关于计划任务的优化-20231106