![]() By default, the task runs with the permissions of the current user of the local computer, or with the permission of the user specified by the /u parameter, if one is included. ![]() Runs the task with permissions of the specified user account. The /u and /p parameters are valid only when you use /s. If you use the /u parameter without the /p parameter or the password argument, schtasks will prompt you for a password. Specifies the password of the user account specified in the /u parameter. Also, the local computer must be in the same domain as the remote computer, or must be in a domain that is trusted by the remote computer domain. The user account must be a member of the Administrators group on the remote computer. To run the task with the permissions of a different user, use the /ru parameter. The permissions of the specified account are used to schedule the task and to run the task. The default is the permissions of the current user of the local computer. Runs this command with the permissions of the specified user account. Specifies the name or IP address of a remote computer (with or without backslashes). If you don't add the path, schtasks assumes that the file is in the \System32 directory. The path name must not exceed 262 characters. Type the fully qualified path and file name of an executable file, script file, or batch file. Specifies the program or command that the task runs. To store your scheduled task in a different folder, run /tn. Use quotation marks to enclose names that include spaces. Each task on the system must have a unique name and must conform to the rules for file names, not exceeding 238 characters. You can specify a date, or run the task the next time the system is idle. ONIDLE - Specifies that the task runs whenever the system is idle for a specified period of time. ![]() You can specify a date, or run the task the next time the user logs on. ONLOGON - Specifies that the task runs whenever a user (any user) logs on. ![]() You can specify a start date, or run the task the next time the system starts. ONSTART - Specifies that the task runs every time the system starts.ONCE - Specifies that that task runs once at a specified date and time.MONTHLY - Specifies the number of months before the task should run.WEEKLY Specifies the number of weeks before the task should run.DAILY - Specifies the number of days before the task should run.HOURLY - Specifies the number of hours before the task should run.MINUTE - Specifies the number of minutes before the task should run.Syntax schtasks /create /sc /tn /tr ]] ] ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |