开发者

Problem with schtasks command

This is the command i executed

schtasks /c开发者_运维知识库reate /SC once /TN note /TR notepad /ST 17:00
WARNING: The Scheduled task "note" has been created, but may not run 
         because the account information could not be set.

What does that Warning mean.Why its not working?


According to Microsoft's documentation the warning means that its not allowing it to run under the user permissions.

"This warning indicates that the remote domain could not authenticate the account specified by the /u parameter. In this case, the remote domain could not authenticate the user account because the local computer is not a member of a domain that the remote computer domain trusts. When this occurs, the task job appears in the list of scheduled tasks, but the task is actually empty and it will not run."

I would try using the user and password params and see if it runs then.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜