如何使用Windows cmd查看用户权限? [英] How to view user privileges using windows cmd?
本文介绍了如何使用Windows cmd查看用户权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用Windows中的命令提示符查看用户特权。
用户帐户&用户权限,例如:
I am trying to view the user privileges using the command prompt in Windows. User account & User privileges such as:
SeBatchLogonRight
SeDenyBatchLogonRight
SeInteractiveLogonRight
SeDenyInteractiveLogonRight
SeServiceLogonRight
SeDenyServiceLogonRight
SeNetworkLogonRight
SeDenyNetworkLogonRight
我尝试使用 ntrights
,但是它不起作用。在尝试为操作系统审核创建自动化脚本时,我无法使用任何工具。
I tried using ntrights
but it's not working. I can't use any tool as I am trying to create an automated script for an OS audit.
推荐答案
我将开始
secedit /export /areas USER_RIGHTS /cfg OUTFILE.CFG
然后检查相应特权的行。但是,现在的问题是帐户被列为SID,而不是用户名。
Then examine the line for the relevant privilege. However, the problem now is that the accounts are listed as SIDs, not usernames.
这篇关于如何使用Windows cmd查看用户权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文