Gre*_*ray 256
尝试以计算机管理员身份从命令行运行gpresult /R
RSoP 摘要或gpresult /V
详细输出。它应该输出如下内容:
C:\Windows\system32>gpresult /V
Microsoft (R) Windows (R) Operating System Group Policy Result tool v2.0
Copyright (C) Microsoft Corp. 1981-2001
Created On 2/10/2010 at 10:27:41 AM
RSOP data for OQMSupport01\- on OQMSUPPORT01 : Logging Mode
------------------------------------------------------------
OS Configuration: Standalone Workstation
OS Version: 6.1.7600
Site Name: N/A
Roaming Profile: N/A
Local Profile: C:\Users\-
Connected over a slow link?: No
COMPUTER SETTINGS
------------------
Last time Group Policy was applied: 2/10/2010 at 10:16:09 AM
Group Policy was applied from: N/A
Group Policy slow link threshold: 500 kbps
Domain Name: OQMSUPPORT01
Domain Type: <Local Computer>
Applied Group Policy Objects
-----------------------------
N/A
The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Local Group Policy
Filtering: Not Applied (Empty)
The computer is a part of the following security groups
-------------------------------------------------------
System Mandatory Level
Everyone
Debugger Users
IIS_WPG
SQLServer2005MSSQLUser$OQMSUPPORT01$ACT7
SQLServerMSSQLServerADHelperUser$OQMSUPPORT01
BUILTIN\Users
NT AUTHORITY\SERVICE
CONSOLE LOGON
NT AUTHORITY\Authenticated Users
This Organization
BDESVC
BITS
CertPropSvc
EapHost
hkmsvc
IKEEXT
iphlpsvc
LanmanServer
MMCSS
MSiSCSI
RasAuto
RasMan
RemoteAccess
Schedule
SCPolicySvc
SENS
SessionEnv
SharedAccess
ShellHWDetection
wercplsupport
Winmgmt
wuauserv
LOCAL
BUILTIN\Administrators
USER SETTINGS
--------------
Last time Group Policy was applied: 2/10/2010 at 10:00:51 AM
Group Policy was applied from: N/A
Group Policy slow link threshold: 500 kbps
Domain Name: OQMSupport01
Domain Type: <Local Computer>
The user is a part of the following security groups
---------------------------------------------------
None
Everyone
Debugger Users
HomeUsers
BUILTIN\Administrators
BUILTIN\Users
NT AUTHORITY\INTERACTIVE
CONSOLE LOGON
NT AUTHORITY\Authenticated Users
This Organization
LOCAL
NTLM Authentication
High Mandatory Level
The user has the following security privileges
----------------------------------------------
Bypass traverse checking
Manage auditing and security log
Back up files and directories
Restore files and directories
Change the system time
Shut down the system
Force shutdown from a remote system
Take ownership of files or other objects
Debug programs
Modify firmware environment values
Profile system performance
Profile single process
Increase scheduling priority
Load and unload device drivers
Create a pagefile
Adjust memory quotas for a process
Remove computer from docking station
Perform volume maintenance tasks
Impersonate a client after authentication
Create global objects
Change the time zone
Create symbolic links
Increase a process working set
Run Code Online (Sandbox Code Playgroud)
或者,如果您使用 ActiveDirectory PowerShell 模块(或使用远程服务器管理工具的客户端操作系统)登录到 Windows Server 操作系统,请尝试使用Get-ADPrincipalGroupMembership
cmdlet:
C:\Users\username\Documents> Get-ADPrincipalGroupMembership username | Select name
name
----
Domain Users
All
Announcements
employees_US
remotes
ceo-report
all-engineering
not-sales
Global-NotSales
Run Code Online (Sandbox Code Playgroud)
小智 184
用
whoami /groups
Run Code Online (Sandbox Code Playgroud)
如果我没记错的话,这不仅应该列出安全组,还应该列出通讯组(知道这可能也很有用)。还负责嵌套,即您在 A 组中,而 A 组在 B 中,因此它显示您也在 B 中(我再次尝试在此处回忆详细信息)。
在 Vista 和 Win7 中,对于 XP,您可能需要 sp2 支持工具(当然,这也需要您有足够的权限来安装它们)。 http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en
小智 48
我想你可以在 cmd 窗口中写:
net user USERNAME /domain
Run Code Online (Sandbox Code Playgroud)
替换USERNAME
为您自己的用户名,不带域前缀。
小智 17
开始 - 运行 - CMD - GPRESULT /r 就足够了 -> 就 AD 而言,您不需要显示完整的“/v”来将组所有物可视化为客户端用户(当然在 Windows 7 下,但我不知道关于 winxp)
小智 6
如果您正在寻找速度,那么 gpresult 会很慢……尤其是在应用了很多 GPO 的情况下。
只需运行以下之一,一个用于本地组,另一个用于域组:-
本地 - 'c:\windows\system32\net.exe localgroup' + '要检查的组名'
域 - 'c:\windows\system32\net.exe group /domain' + '要检查的组名'
然后解析您要查找的用户名的输出,因为结果将列出该组中的用户。希望这可以帮助。
归档时间: |
|
查看次数: |
439073 次 |
最近记录: |