在Windows中,我们可以为用户提供权限,以便他可以或不可以从任务管理器获取进程转储 [英] In Windows can we give\deny rights to a user so that he may or may not take process dump from task manager

查看:93
本文介绍了在Windows中,我们可以为用户提供权限,以便他可以或不可以从任务管理器获取进程转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows中,我们可以授予用户权限,以便他可以从任务管理器获取进程转储(右键单击进程 - >创建转储文件选项)。 b $ b

例如,



在Windows机器上有2个用户 - 用户A和用户B



我的要求如下 -



1.我想限制用户A使用Windows服务创建任何进程转储任务管理器(右键单击 - >创建转储文件选项)。



2.我想允许用户B使用任务管理器转储Windows服务。

In Windows can we give\deny the rights of a user so that he may or may not take process dump from task manager(right click on process->Create dump file option)

For example,

In a Windows machine there are 2 users - User A and User B

My requirement is as below-

1. I want to restrict User A from creating any process dump of a Windows Service using task manager (right click->Create dump file option).

2. I want to allow User B to take dumps of a Windows Service using task manager.

3。此外,如果用户A已登录且Windows服务崩溃,Windows将创建Windows服务的进程转储(例如Dr. Watson转储),如果给出上述权限设置,则会创建进程转储(例如Dr.Watson转储)。 

3. Additionally, given the above permission settings would Windows create process dump (E.g Dr Watson dumps) of a Windows service if user A has logged in and the Windows service crashes. 

推荐答案

由于会话0隔离,只有提升的进程才能创建转储文件服务会话中的进程。您可以将用户A作为普通用户,将用户B作为管理员用于1& 2. 

Due to session 0 isolation only elevated process can create dump files for processes in the service session. You can just have user A as a normal user and user B as admin for 1&2. 

如果用户A已登录,并且您想要创建转储,则可以以admin身份运行命令提示符,然后使用taskmgr task命令以管理员用户身份启动任务管理器(要求用户B出现以在UAC同意对话框中输入密码)。

If user A is logged in, and you want to create a dump, you can run command prompt as admin then use the taskmgr task command to launch task manager as an admin user (requires user B to be present to enter the password on the UAC consent dialog).


这篇关于在Windows中,我们可以为用户提供权限,以便他可以或不可以从任务管理器获取进程转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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