Getting Domain info about yourself in Windows 7 and higher

So, I found this neat trick the other day. In linux, we can discover a lot about our local user account using tools like whoami, id, etc. Windows has a baked in feature that is pretty handy.

From the command prompt do:  net user <your username> /domain

If you’re a domain admin, you can run this against other user accounts!

 

 

Advertisements

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s