如何将 Windows 计划任务设置为在后台运行? [英] How do I set a Windows scheduled task to run in the background?

查看:175
本文介绍了如何将 Windows 计划任务设置为在后台运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何使用 Windows 任务计划程序将计划任务设置为在后台运行?
似乎没有任何选项可以执行此操作.

Does anyone know how to set a scheduled task to run in background using Windows Task Scheduler?
There doesn't seem to be any option to do this.

推荐答案

As 注意到 Mattias Nordqvist 在下面的评论中,您也可以选择单选按钮选项 无论用户是否登录都运行".保存任务时,系统会提示您一次输入用户密码.bambams 注意到这不会向进程授予系统权限,而且似乎还隐藏了命令窗口.

As noted by Mattias Nordqvist in the comments below, you can also select the radio button option "Run whether user is logged on or not". When saving the task, you will be prompted once for the user password. bambams noted that this wouldn't grant System permissions to the process, and also seems to hide the command window.

这不是一个明显的解决方案,但是要让一个计划任务在后台运行,将运行该任务的用户更改为SYSTEM",然后什么都不会出现你的屏幕.

It's not an obvious solution, but to make a Scheduled Task run in the background, change the User running the task to "SYSTEM", and nothing will appear on your screen.

这篇关于如何将 Windows 计划任务设置为在后台运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆