0

When running a Scheduled Task under Windows to launched batch processes under a dedicated account, you could want to see output of theses processes.

These sub-processes could be either or both graphical or character based applications

As there are running in a different Windows Logon session, I cannot find way to display their output. There are like ghost processes

I would expect being able to use the show Window command from Process Explorer, but even via running Process Explorer under the dedicated account used to run the task (via runas), it is not working

Is there a way to do it ?

References : http://www.brianbondy.com/blog/id/100/

4

1 回答 1

0

我相信一旦创建,一个窗口就不能转移到另一个窗口站。另外,我怀疑是否可以在另一个会话中打开窗口。对于基于字符的应用程序,您最好将输出写入某个文件并检查该文件。对于图形应用程序,您对任务调度程序不走运。您可能想要编写一个简单的 VBS 脚本,该脚本在特定时间唤醒并运行您的图形任务并在用户登录时运行它,例如,沿着此页面中的脚本行:

http://social.technet.microsoft.com/Forums/scriptcenter/en-US/d9465815-87e2-43df-a0fe-4a23c16dca99/need-a-time-schedule-in-vbs-script-to-execute-something

于 2013-09-03T15:35:05.977 回答