Support
 
Phone Get Quote
 
Support
 
US: +1 888 720 9500
US: +1 888 791 1189
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9892

 

How to find who created a scheduled task on windows server

Windows Task Scheduler has been one of the most targeted points for many hackers to infiltrate a network. Even Windows 10, which has a sandbox (an option to run and test trustworthiness of an application in a secluded environment so that the main installation is not affected), has been prone to hackers running malicious scripts and tasks via the Task Scheduler. These malicious scripts help the hacker to gain access into the critical assets, escalate privileges and a lot more.

Enabling auditing for the Task Scheduler should definitely be part of your security plan as it helps you monitor all tasks that are created, and identify the suspicious ones. Follow the steps below to detect who created a scheduled task in a Windows server. Alternatively, with ADAudit Plus, you can do this in a much simpler way.

Download for Free
Free, fully functional 30-day trial
  • With Native AD Auditing

  • With ADAudit Plus

  • How to detect who created a scheduled task in the Task Scheduler with ADAudit Plus
  • To track scheduled tasks, you will have to enable the auditing of your Active Directory (AD).

  • In the ADAudit Plus console, go to 'Server Audit' tab and navigate to 'Process Tracking' on the left pane. This provides you a list of pre-configured reports on process activity within AD.

  • You can select the 'Scheduled Task Created' report to see any new tasks that were scheduled and the name of the user who created the task.

  • You can also create custom reports and export these reports in CSV, PDF, XSL, HTML formats.

  • how-to-detect-who-created-a-scheduled-task
  • Step 1: Enable Group Policy Auditing
  • Logon to your domain controller with administrative privileges and launch the Group Policy Management Console.

  • Right-click the appropriate Group Policy Object linked to the Domain Controllers container and select Edit.

  • Expand the Computer Configuration → Windows Settings → Security Settings → Advanced Audit Policy Configurations → Audit Policies → Audit Policy node → Object Access → Audit Other Object Access Events

  • Configure the properties for both 'success' and 'failure'. Exit Group Policy Management Editor.

  • how-to-find-who-created-a-scheduled-task-on-windows-server-1
  • In the Group Policy Management Console, choose the modified GPO, and click 'Add' in the 'Security' section on the right pane. Type 'Everyone' in the text box and click 'Check Names' to include the value. Exit the Group Policy Management Console.

  • To enforce these changes throughout the domain, run the command 'gpupdate /force',in the "Run" console.

  • Step 2: Allow AD Auditing through ADSI Edit
  • From your 'Server Manager' go to 'Tools' and select 'ADSI Edit'.

  • Right click 'ADSI Edit' node from the left pane and select 'Connect to' option. This pulls up the 'Connection Settings' window.

  • Select the 'Default Naming Context' option from the 'Select a well-known Naming Context' drop down list.

    how-to-find-who-created-a-scheduled-task-on-windows-server-2
  • Click'OK' and return to the ADSI Edit window. Expand 'Default Naming Context' and select the associated 'DC' subnode. Right-click this subnode and click 'Properties'.

  • In the'Properties' window, go to the 'Security' tab and select 'Advanced'. After that, select 'Auditing' tab and click 'Add'.

  • Click on' Select a principal'. This will bring up a 'Select User, Computer or Group' window. Type 'Everyone' in the textbox and verify it with 'Check Names'.

    how-to-find-who-created-a-scheduled-task-on-windows-server-3
  • The 'Principal' in the 'Auditing Entry' window now shows 'Everyone'. In the 'Type' drop-down select 'All' to audit for both 'success' and 'failure' events.

  • In the'Select' drop-down choose 'This object and all descendant object's. This allows the auditing of the OU's descendant objects. Select'Full Control'in the 'Permissions' section.

  • This selects all the checkboxes available. Unselect the following check boxes:

    1. Full Control
    2. List Contents
    3. Read all properties
    4. Read permissions
  • how-to-find-who-created-a-scheduled-task-on-windows-server-4
  • Step 3: View Events in Event Viewer.
  • You can monitor scheduled tasks by accessing 'Security Logs' in the 'Event Viewer'. You can filter your log to look for the following event.

    Event ID: 4698 describes a task that has been scheduled.

  • how-to-find-who-created-a-scheduled-task-on-windows-server-5

Does native auditing become a little too much?

Simplify system event auditing and reporting with ADAudit Plus.

Get Your Free Trial Fully functional 30-day trial

Active Directory Auditing just got easier!

ADAudit Plus comes bundled with more than 300 predefined reports that make AD auditing easier. The solution also sends real-time alerts for critical events and thereby helps you to secure your network from threats and boost your IT security posture. Check out the capabilities of ADAudit Plus here.

Download ADAudit Plus

Request 1-on-1 demo

  •  
  •  
  •  
  •  
  •  
  • -Select-
  • By clicking 'Submit' you agree to processing of personal data according to the Privacy Policy.

Thanks

One of our solution experts will get in touch with you shortly.

ADAudit Plus Trusted By