http://windowstricks.in/

We've moved from ganesh-windowstricks.blogspot.in to windowstricks.in,please update your feeds & links!

Group SID

5 January 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

Share this . . .

2 comments:

Anonymous,  23 September 2011 at 01:55  

You have a typo in your command:

dsquery user -name "groupname" | dsget group -sid

Its actually:

dsquery group -name "groupname" | dsget group -sid

Unknown 23 September 2011 at 11:41  

Thanks for your comments, it’s corrected.

Post a Comment

Copyright   © 2014 - www.Windowstricks.in - all rights reserved | Powered by Blogger | Blogger template The Beach by Ourblogtemplates.com

Back to TOP