rem takeown /r=recursive /f=filename rem icacls /t=recursive /c=continues on errors rem rmdir /s=recursive takeown /r /f "C:\Windows\System32\Tasks\Microsoft" icacls "C:\Windows\System32\Tasks\Microsoft" /t /c /grant Administrators:F rmdir /s "C:\Windows\System32\Tasks\Microsoft" takeown /r /f "C:\Windows\System32\Tasks\OfficeSoftwareProtectionPlatform" icacls "C:\Windows\System32\Tasks\OfficeSoftwareProtectionPlatform" /t /c /grant Administrators:F rmdir /s "C:\Windows\System32\Tasks\OfficeSoftwareProtectionPlatform"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\Tree\