schtasks.exe-如何使系统成为任务创建者? [英] schtasks.exe - how to make System as task creator?

查看:301
本文介绍了schtasks.exe-如何使系统成为任务创建者?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

使用schtasks.exe时,可以使用/RU选项轻松地将运行方式"更改为系统(NT AUTHORITY \ SYSTEM).

我希望看到任务创建者(在计划任务"文件夹中的创建者下)也处于系统"状态(现在我在此处看到我的用户名).

我该怎么办?
(如果我使用AT.exe,则创建者自动是系统)

谢谢

Hello,

When using schtasks.exe, I can easily change "Run as" to be System (NT AUTHORITY\SYSTEM), with /RU option.

I want to see task creator (under creator in Scheduled Tasks folder) to be System as well (now I see there my username).

How can I do it?
(If I use AT.exe the creator is autimatically System)

Thanks

推荐答案

您不能.您不能给进程一个已经拥有的更多权限.

如果该进程需要以System身份运行,那么已经以System身份运行的进程必须自行启动.
You can''t. You cannot give a process more permissions that you already have.

If the process needs to run as System, a process already running as System has to launch it itself.


您好,
当您使用命令行选项/RU"SYSTEM"时会发生什么.根据我对文档的阅读 [
Hello again,
What happens when you use the command line option /RU "SYSTEM". From my reading of the documentation[^] that should solve the problem, assuming you run schtasks from an administrator account.

SCHTASKS /Create /SC hourly /TN Task1 /TR "notepad.exe" /RU "SYSTEM"



艾伦.



Alan.


这篇关于schtasks.exe-如何使系统成为任务创建者?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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