取消用户注销时的打印队列

编程入门 行业动态 更新时间:2024-10-08 00:28:11
本文介绍了取消用户注销时的打印队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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.

更多推荐

取消用户注销时的打印队列

本文发布于:2023-11-03 04:59:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1554297.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:队列   用户

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!