Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a DOS command I can run on my client PC to fetch a new group assignment? I'm logged in as the user. I just added a security group to "Member Of" on the primary AD server.

Can I pull this information immediately?

Is there a way on the client to list the groups so I can verify the change?

I prefer the most compatible way, I'm using XP for the client.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Log off and log back on. That will update your user token. whoami / groups and klist.exe will both show you the membership and tickets assigned to the logged in user.

This TechNet article goes into more detail.

If you add a user to a group after the user’s access token has been issued, or modify privileges assigned to the user account, the user must log off and then log on again before the access token will be updated.

share|improve this answer

You can use: net user username /domain

share|improve this answer
1  
net user doesn't show nested groups and doesn't show universal groups in certain circumstances. It also doesn't update the current token, it would just list the membership. –  MDMarra May 21 '13 at 15:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.