Hello Experts,
Hello Experts,
我会就下面描述的问题提出您的建议。
I would require your suggestion on the issues which I have described below.
我们有Windows 7虚拟桌面,用户登录并执行打印作业。
We have Windows 7 Virtual desktops on which users are login and performing print jobs.
我们观察到,有时用户触发了打印命令,作业卡在打印队列中。
We have observed, sometime user fired the print command and jobs gets stuck in print queue.
当下次登录时,打印命令恢复和打印命令在打印机上执行。
when next time other log in, the print command resume and print command gets executed on printer.
为了避免这种情况情况,我们想要部署一个脚本,该脚本将在每个用户注销事件中执行并清除打印作业。
in order to avoid this situation, we wanted to deploy a script which will be executed at every user logoff event and clears the print Jobs.
我有下面的行,我想在注销事件上执行,
I have below lines which I want to execute on logoff event,
net stop spooler
net stop spooler
del C:\ windows \ system32 \\\\\\\\\\\\\ *。*
del C:\windows\system32\spool\priners\*.*
net start spooler
net start spooler
但是,用户没有VDI的管理员权限并且由于脚本没有执行。
However, user don't have admin access to VDI and due to which the script is not executing.
您能否建议我们如何完成这项任务?
Could you please suggest how can we achieve this task ?
感谢您的快速回复......
Appreciate your expedite response...
谢谢
谢谢和问候, Amit Katkar(MCITP Windows 2008) ------------- ----------------------------------------------- 此帖子按"原样"提供。没有保证或担保,也没有授予任何权利。
Thanks & Regards, Amit Katkar (MCITP Windows 2008) ------------------------------------------------------------ This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
推荐答案我建议您解决问题。如果你不知道我怎么建议给微软发一个支持电话。 I recommend that you fix the problem. If you do not know how then I suggest placing a support call to Microsoft.
更多推荐
取消用户注销时的打印队列
发布评论