bitsadmin resetbitsadmin reset

取消当前用户拥有的传输队列中的所有作业。Cancels all jobs in the transfer queue owned by the current user. 不能重置本地系统创建的作业。You can't reset jobs created by Local System. 相反,您必须是管理员并使用任务计划程序将此命令计划为使用本地系统凭据的任务。Instead, you must be an administrator and use the task scheduler to schedule this command as a task using the Local System credentials.

备注

如果在 BITSAdmin 1.5 及更早版本中拥有管理员权限,则/reset 交换机将取消队列中的所有作业。If you have administrator privileges in BITSAdmin 1.5 and earlier, the /reset switch will cancel all the jobs in the queue. 此外,不支持/allusers 选项。Additionally, the /allusers option isn't supported.

语法Syntax

bitsadmin /reset [/allusers]

参数Parameters

参数Parameter 说明Description
/allusers/allusers 可选。Optional. 取消当前用户拥有的队列中的所有作业。Cancels all jobs in the queue owned by the current user. 您必须具有管理员特权才能使用此参数。You must have administrator privileges to use this parameter.

示例Examples

若为,则取消当前用户的传输队列中的所有作业。To cancel all the jobs in the transfer queue for the current user.

bitsadmin /reset

其他参考Additional References