Discovering Domain Group Membership for an Account

Today was not the first time that I’ve had to verify that BizTalk service accounts were in the right domain groups, but didn’t have access to AD to check.  Fortunately a bit of time with Dr. Google unearthed this command line tool:

net user {username} /domain

This will output all the domain groups that the account belongs to, along with quite a bit of other information:

The request will be processed at a domain controller for domain <MyDomain>
User name                    dan.toomey
Full Name                    Dan Toomey
User's comment
Country code                 000 (System Default)
Account active               Yes
Account expires              Never
Password last set            14/05/2010 1:43:42 PM
Password expires             Never
Password changeable          17/05/2010 1:43:42 PM
Password required            Yes
User may change password     Yes
Workstations allowed         All
Logon script                 Logon.bat
User profile
Home directory
Last logon                   13/03/2013 7:52:58 AM
Logon hours allowed          All
Local Group Memberships
Global Group memberships     *All Staff            *DomainUsers
                             *Biztalk TFS Contribut*SSO Administrators
                             *Projects_Team        *Biztalk Admins

The command completed successfully.

Now I don’t have to spend time searching for this anymore! 🙂

About Dan Toomey
Enterprise integration geek, Microsoft Azure MVP, Pluralsight author, public speaker, MCSE, MCT, MCTS & former professional musician.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

John Glisson - Geek of the Cloth

Thoughts on integration, technology and what-not...

Prashant BizTalk And Azure Integration Blogs

My Integration Experiences - BizTalk And Azure Integration


THINK: It's not illegal....yet.....

Abdul Rafay's BizTalk Blog

My experiences with BizTalk related to architecture, development and performance in my enterprise.

BizTalk musings

Issues, patterns and useful tips for BizTalk development


Enterprise Applicaiton Integration and SOA 2.0

Connected Pawns

Mainly BizTalk & Little Chess

Adventures inside the Message Box

BizTalk, Azure, and other tools in the Microsoft stack - Johann Cooper


Talk, talk and more talk about BizTalk

Richard Seroter's Architecture Musings

Blog Featuring Code, Thoughts, and Experiences with Software and Services

Sandro Pereira BizTalk Blog

My notes about BizTalk Server 2004, 2006, 2006 R2, 2009, 2010, 2013 and now also Windows Azure BizTalk Services.

BizTalk Events

Calendar of BizTalk events all over the world!

Mind Over Messaging

Musings on BizTalk, Azure, and Enterprise Integration News

The latest news on and the WordPress community.

%d bloggers like this: