Skip to main content
Commonmark migration
Source Link

The following process works in my machine Windows 10 Pro 64 bit.

  • Scheduled tasks are stored in this registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. Backup/export this whole Schedule registry key.

  • Delete the whole Schedule registry key by adding this line in a new .reg file [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. And also delete "%SystemRoot%\System32\Tasks" and "%SystemRoot%\SysWOW64\Tasks" (only for 64bit OS) with takeown and icacls command.

  • But deleting that registry key task scheduler and Defragment shows an error. [![Task Schedular error][1]][1][![Defragment error][2]][2]Task Schedular errorDefragment error

  • Copy the SD reg_binary value of the path [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree] from that previous backup in this new registry file. This solves the task scheduler error.

  • Also add this line [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Defrag\ScheduledDefrag] to solve the defragment error. Here is the whole registry file::

[![Registry File][3]][3]Registry File

Alternatively, with command SchTasks /Delete /TN * /F

See also:: Is there a way to quickly delete/disable ALL scheduled Tasks? [1]: https://i.sstatic.net/AjQJv.png [2]: https://i.sstatic.net/FvGy1.png [3]: https://i.sstatic.net/J2Qup.png

The following process works in my machine Windows 10 Pro 64 bit.

  • Scheduled tasks are stored in this registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. Backup/export this whole Schedule registry key.

  • Delete the whole Schedule registry key by adding this line in a new .reg file [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. And also delete "%SystemRoot%\System32\Tasks" and "%SystemRoot%\SysWOW64\Tasks" (only for 64bit OS) with takeown and icacls command.

  • But deleting that registry key task scheduler and Defragment shows an error. [![Task Schedular error][1]][1][![Defragment error][2]][2]

  • Copy the SD reg_binary value of the path [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree] from that previous backup in this new registry file. This solves the task scheduler error.

  • Also add this line [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Defrag\ScheduledDefrag] to solve the defragment error. Here is the whole registry file::

[![Registry File][3]][3]

Alternatively, with command SchTasks /Delete /TN * /F

See also:: Is there a way to quickly delete/disable ALL scheduled Tasks? [1]: https://i.sstatic.net/AjQJv.png [2]: https://i.sstatic.net/FvGy1.png [3]: https://i.sstatic.net/J2Qup.png

The following process works in my machine Windows 10 Pro 64 bit.

  • Scheduled tasks are stored in this registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. Backup/export this whole Schedule registry key.

  • Delete the whole Schedule registry key by adding this line in a new .reg file [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. And also delete "%SystemRoot%\System32\Tasks" and "%SystemRoot%\SysWOW64\Tasks" (only for 64bit OS) with takeown and icacls command.

  • But deleting that registry key task scheduler and Defragment shows an error. Task Schedular errorDefragment error

  • Copy the SD reg_binary value of the path [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree] from that previous backup in this new registry file. This solves the task scheduler error.

  • Also add this line [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Defrag\ScheduledDefrag] to solve the defragment error. Here is the whole registry file::

Registry File

Alternatively, with command SchTasks /Delete /TN * /F

See also:: Is there a way to quickly delete/disable ALL scheduled Tasks?

Source Link
Biswapriyo
  • 11.3k
  • 10
  • 48
  • 80

The following process works in my machine Windows 10 Pro 64 bit.

  • Scheduled tasks are stored in this registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. Backup/export this whole Schedule registry key.

  • Delete the whole Schedule registry key by adding this line in a new .reg file [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]. And also delete "%SystemRoot%\System32\Tasks" and "%SystemRoot%\SysWOW64\Tasks" (only for 64bit OS) with takeown and icacls command.

  • But deleting that registry key task scheduler and Defragment shows an error. [![Task Schedular error][1]][1][![Defragment error][2]][2]

  • Copy the SD reg_binary value of the path [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree] from that previous backup in this new registry file. This solves the task scheduler error.

  • Also add this line [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Defrag\ScheduledDefrag] to solve the defragment error. Here is the whole registry file::

[![Registry File][3]][3]

Alternatively, with command SchTasks /Delete /TN * /F

See also:: Is there a way to quickly delete/disable ALL scheduled Tasks? [1]: https://i.sstatic.net/AjQJv.png [2]: https://i.sstatic.net/FvGy1.png [3]: https://i.sstatic.net/J2Qup.png