@echo off echo ####### %0 ####### echo removing all tasks in the task scheduler ... rem using a command ... schtasks /delete /TN * /F rem file system ... rd /S /Q %SystemRoot%\system32\Tasks mkdir %SystemRoot%\system32\Tasks rem regsitry ... reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks" /f reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft" /f echo ####### %0 #######