Technology Reviews and How To's

Sunday, January 19, 2014

Get SID using CMD

1. 
>wmic useraccount where name='username' get sid

2. 
>wmic useraccount where name='%username%' get sid

3. 
>whoami /user

4.
>wmic useraccount get name,sid

Posted by Tamer Esam at 10:56 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Windows server 2008

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Tamer Esam
View my complete profile

Blog Archive

  • ►  2016 (15)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (2)
    • ►  January (8)
  • ►  2015 (5)
    • ►  September (3)
    • ►  April (2)
  • ▼  2014 (8)
    • ►  September (2)
    • ►  July (1)
    • ►  March (1)
    • ▼  January (4)
      • Get SID using CMD
      • Configure SQL after change computer name
      • Cisco - Access List for internet access only
      • Cisco VPN client minimized
  • ►  2013 (18)
    • ►  December (4)
    • ►  October (2)
    • ►  September (2)
    • ►  August (3)
    • ►  July (7)
  • ►  2012 (1)
    • ►  February (1)
  • ►  2011 (8)
    • ►  September (8)
Picture Window theme. Powered by Blogger.