| Refresh | Home EGTry.com

schtask.exe list the scheduled tasks


simple query

>schtasks

or 
>schtasks /query

or 
>schtasks /query /fo TABLE


simple query result example

TaskName                             Next Run Time            Status         
==================================== ======================== ===============
GoogleUpdateTaskMachineCore          At logon time                           
GoogleUpdateTaskMachineCore          01:01:00, 11/9/2011                     
GoogleUpdateTaskMachineUA            21:01:00, 11/8/2011                     
GoogleUpdateTaskUserS-1-5-21-1176097 15:14:00, 11/9/2011                     
GoogleUpdateTaskUserS-1-5-21-1176097 20:14:00, 11/8/2011                     
Norton Security Scan for SG0899398   18:00:00, 11/9/2011                     
RealUpgradeLogonTaskS-1-5-21-1176097 At logon time                           
RealUpgradeScheduledTaskS-1-5-21-117 17:28:00, 11/15/2011                    


detailed list

> schtasks.exe /query /fo LIST /v 


detailed list output sample

HostName:                             S89939803233921
TaskName:                             GoogleUpdateTaskMachineCore
Next Run Time:                        At logon time
Status:                               
Last Run Time:                        01:01:00, 11/6/2011
Last Result:                          0
Creator:                              SG0899398
Schedule:                             Run at user logon
Task To Run:                          C:\Program Files\Google\Update\GoogleUpdate.exe /c
Start In:                             N/A
Comment:                              Keeps your Google software up to date. If this task is disabled or stopped, your Google software will not be kept up to date, meaning security vulnerabilities that may arise cannot be fixed and features may not work. This task uninstalls itself when the
Scheduled Task State:                 Enabled
Scheduled Type:                       At logon time
Start Time:                           At logon time
Start Date:                           1/1/1999
End Date:                             N/A
Days:                                 N/A
Months:                               N/A
Run As User:                          NT AUTHORITY\SYSTEM
Delete Task If Not Rescheduled:       Disabled
Stop Task If Runs X Hours and X Mins: Disabled
Repeat: Every:                        Disabled
Repeat: Until: Time:                  Disabled
Repeat: Until: Duration:              Disabled
Repeat: Stop If Still Running:        Disabled
Idle Time:                            Disabled
Power Management:                     Disabled

HostName:                             S89939803233921
TaskName:                             GoogleUpdateTaskMachineCore
Next Run Time:                        01:01:00, 11/9/2011
Status:                               
Last Run Time:                        01:01:00, 11/6/2011
Last Result:                          0
Creator:                              SG0899398
Schedule:                             At 1:01 AM every day, starting 10/20/2011
Task To Run:                          C:\Program Files\Google\Update\GoogleUpdate.exe /c
Start In:                             N/A
Comment:                              Keeps your Google software up to date. If this task is disabled or stopped, your Google software will not be kept up to date, meaning security vulnerabilities that may arise cannot be fixed and features may not work. This task uninstalls itself when the
Scheduled Task State:                 Enabled
Scheduled Type:                       Daily 
Start Time:                           01:01:00
Start Date:                           10/20/2011
End Date:                             N/A
Days:                                 Everyday
Months:                               N/A
Run As User:                          NT AUTHORITY\SYSTEM
Delete Task If Not Rescheduled:       Disabled
Stop Task If Runs X Hours and X Mins: Disabled
Repeat: Every:                        Disabled
Repeat: Until: Time:                  Disabled
Repeat: Until: Duration:              Disabled
Repeat: Stop If Still Running:        Disabled
Idle Time:                            Disabled
Power Management:                     Disabled


query help

> schtasks.exe /?


help output


SCHTASKS /Query [/S system [/U username [/P password]]] [/FO format]
    [/NH] [/V] [/?]

Description: 
    Enables an administrator to display the scheduled tasks on the
    local or remote system.

Parameter List:
    /S           system      Specifies the remote system to connect to.

    /U           username    Specifies the user context under
                             which the command should execute.

    /P           password    Specifies the password for the given
                             user context.

    /FO          format      Specifies the output format to be 
                             displayed. Valid values: TABLE, LIST, CSV.

    /NH                      Specifies that the column header should not
                             be displayed in the output.
                             Valid only for TABLE and CSV formats.

    /V                       Specifies additional output to be 
                             displayed.

    /?                       Displays this help/usage.

Examples:
    SCHTASKS /Query 
    SCHTASKS /Query /? 
    SCHTASKS /Query /S system /U user /P password
    SCHTASKS /Query /FO LIST /V /S system /U user /P password
    SCHTASKS /Query /FO TABLE /NH /V