Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How ca I view the GUID associated with an Active Directory user under windows 7?

share|improve this question
up vote 4 down vote accepted

PsGetSid may do it.

share|improve this answer

This is easy to do using Active Directory Users and Computers.

Click View > Advanced Features

Drill down to the user you want to know about and open the Properties.

Click the Attribute Editor tab

Scroll down to the "ObjectSID" attribute.

Profit.

share|improve this answer

c:\windows\system32\LDP.exe

Connection -> Bind -> OK

Browse -> Search

Base DN : (this varies per environment)

Fitler: (samAccountName=yourAccountName)

Scope: Subtree (this does nested search)

Attributes : add "objectGUID"

...

That should do it.

share|improve this answer

In PowerShell type the following commands:

Get-ADUser -Filter * -Properties SID | where {$_.sid -eq 'number here'}

Get-ADComputer -Filter * -Properties SID | where {$_.sid -eq 'number here'}
share|improve this answer

I would use the ADSI Edit snap-in for the Microsoft Management Console. See Using ADSI Edit on WIN-7.

The GUID is in an Active Directory attribute called objectguid.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .