Group SID

By | January 5, 2010

Group SID

Some time we require a SID for the group in active directory, using the simple inbuilt windows command we can get the group SID

You can use the below command to find the group SID

Group SID (Group to SID)

Groupname: sales_executes(Pre-Win2k Name)

Syntax:

dsquery group -name “groupname” | dsget group -sid

Example:

dsquery group -name sales_executes | dsget group -sid
sid
S-1-5-21-0220945662-3111232555-725789543-38967718
dsget succeeded

Related Articles

User to SID

ldap path

Force active directory replication

Force sysvol replication

application directory partition

application directory partition

2 thoughts on “Group SID

  1. Anonymous

    You have a typo in your command:

    dsquery user -name “groupname” | dsget group -sid

    Its actually:

    dsquery group -name “groupname” | dsget group -sid

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *