Schtasks run in Window Server 2008

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

schtasks:run command in window server 2008

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

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

  • The schtasks run command is start a scheduled task immediately. The schtasks run command operation ignores the schedule, but uses the program file location, user account, and password saved in the task to run the task immediately.

Syntax

schtasks /run /tn <TaskName> [/s <Computer> [/u [<Domain>\]<User> [/p <Password>]]]

Parameter

Parameter

Description

/tn <TaskName>

It is required parameter. It is identify for the task.

/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.