Schtasks delete in Window Server 2008

In this article I am going to explain about Schtasks delete command in Windows Server 2008 operating system and also explain it's related syntax.
  • 1869

schtasks:delete command in window server 2008

  • The schtasks delete command is a command-line tool of Windows Server 2008.

  • The schtasks delete command is available on computers running Windows Server 2008.

  • The schtasks delete command is used to delete a scheduled task.

Syntax

schtasks /delete /tn {<TaskName> | *} [/f] [/s <Computer> [/u [<Domain>\]<User> [/p <Password>]]]

Parameter

Parameter

Description

/tn <TaskName>|*}

It is required parameter. It is identify for the task being deleted. where

<TaskName> - It is delete the named task.

<*> - It is delete all scheduled tasks on the computer.

/f The task is deleted without warning. It is suppress the confirmation message.

/s <Computer>

It is specify for the name or IP address of a remote computer. The default is the local computer.

/u[<Domain>\]<User>

It is run this command with the permissions of the specified user account. The command runs with the permissions of the current user of the local computer.

The specified user account must be a member of the Administrators group on the remote computer.

/p <Password>

It is specify for the password of the user account specified in the /u parameter.

/?

It is used for displays help at the command prompt.

Ask Your Question 

Got a programming related question? You may want to post your question here 

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.