This parameter uses the
following syntax:
SCHTASKS /Delete [/S system [/U username [/P password]]] /TN taskname [/F]
The following list describes each of the command line arguments.
/S system Specifies the remote system that you want to check. In most cases, you??™ll also need
to supply the /U and the /P command line switches when using this switch.
/U [domain\]user Specifies the username on the remote system. This name may not match
the username on the local system. You??™ll need to supply a domain name when working with a
domain controller.
208 CHAPTER 8 PERFORMING TASK AUTOMATION
/P [password] Specifies the password for the given user. You can provide the command line
switch without specifying the password on the command line in cleartext. The system prompts
you for the password. Using this feature can help you maintain the security of passwords used
on your system.
/TN taskname Specifies the name of the task you want to delete. You can delete all tasks using
the asterisk (*) wildcard.
/F Forces the utility to delete the task and suppress any warnings when the task is currently
running. Use this command line switch only when the task is frozen or unresponsive.
Pages:
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522