How can I list the PRIVILEGES for a user in Windows 2003 Server (SP2) ?
I know I can do something like this:
C:\ whoami /priv
This only lists my current user. I need to specify a user and retrieve a list of privileges.
|
How can I list the PRIVILEGES for a user in Windows 2003 Server (SP2) ? This only lists my current user. I need to specify a user and retrieve a list of privileges. |
|||||
|
|
Depending on if you have the password information for the other user, you can simply do this:
For example, I just did that for a SQL Server 2008 account on the same computer and I could examine its privileges and etc. |
|||
|
|
|
If it's a local user you can use the command
If it's on a domain use the command
|
|||||
|
|
If there is a process for that user running, you can open the process properties in Process Explorer and the security tab will list the privileges in that process token. |
|||
|
|
|
2 possibilities for you. The first is kind of ugly, but there is another command called The second is based on Powershell - get the Powershell Community Extensions and use the
You can get it for another user by running:
|
|||
|
|