reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Schedule\Taskcache" /s > "%userprofile%\desktop\Tasklist.txt"
dir "%systemroot%\System32\Tasks\Microsoft\Windows\PI" /s >> "%userprofile%\desktop\Tasklist.txt"
reg save "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Schedule\Taskcache" "%userprofile%\Desktop\TaskList.hiv"