Scheduled Task Deletion

Disabled by default

Service: Microsoft Windows security auditing

Log type: Security

Scheduled task deletion may highlight an attacker attempting to disrupt normal events on a system or cover their tracks after a period of persistence. Knowing what scheduled tasks have been deleted is a good way to monitor a system.

View Logs
Get-WinEvent -FilterHashTable @{LogName='Security';ID='4699'} -MaxEvents 1 | Format-List
Check Logging Status
Unfortunately, due to current limitations, we do not yet have this command, stay tuned for updates!
Disable Logging
Unfortunately, due to current limitations, we do not yet have this command, stay tuned for updates!
Enable Logging
Unfortunately, due to current limitations, we do not yet have this command, stay tuned for updates!
Language: PowerShell
Back to Windows

To view this log in the Event Viewer, open the event viewer and navigate to the Windows Logs heading and then the Security Tab. From here, select the find function and search for the value 4699 , or filter the log for the ID 4699.

To view this log in the command line with Get-WinEvent, open PowerShell as an administrator. From here, enter the command Get-WinEvent -FilterHashTable @{LogName='Security';ID='4699'} -MaxEvents 1 | Format-List

To view this log in the command line with wevtutil, open PowerShell or Command Prompt as an administrator. From here, enter the command wevtutil qe Security "/q:*[System [(EventID=4699)]]" /f:text /c:1