•  

  • Archives

  • Follow me on Twitter

  • « | Home | »

    How to check your SID using PsGetSid?


     

    PsGetSid As more and more people using virtualization, they face the problems like having two same SIDs on the network. It’s not surprising that the most visited post on this blog is Using NewSid to change SID. NewSid is officially not supported by Microsoft anymore, so your virtual machine who’s SID was changed with NewSid is not supported anymore. Microsoft recommends using sysprep as a method to change SID on your operating system. I’ll show you how to use it in my next post, but today I’ll show you how easy is to check your SID, using free tool from Sysinternals called PsGetSid.

    First you have to download PsGetSid from PsGetSid download page. Then extract it from the archive PsTools (for example on your desktop). You’ll see PsGetSid among the other PsTools.

    PsTools_folder

    Using Command Prompt navigate to that folder, and use simple command:

    psgetsid COMPUTERNAME

    where COMPUTERNAME is the name of your computer.

    PsGetSidIn my case I used psgetsid WS2008R2-3.

     

    Usage:

    Also, there are other possibilities, and usage is as follows:

    Usage: psgetsid [\\computer[,computer[,...] | @file] [-u username [-p password]]] [account|SID]

    PsGetSid works for sure on Windows Server 2008 R2 , but it should work also on Windows XP, Windows Server 2003, Windows Vista, Windows 7

    Links:

    PsGetSid download page and instructions
    PsGetSid direct download link

     


     

    • I don't think that MS ever fully supported NewSID as a way of changing computer SID in production enviroment. :) Sysprep was and is the safest way to do it. In Windows Server 2008 and Windows 7 is easier than ever.
    • PsGetSid is much easier to use, but you might find this interesting too - How to get computer SID using PowerShell
      (http://powershellers.blogspot.com/2009/06/how-t...)

      Btw, thanks for informative blog posts and tweets.
    blog comments powered by Disqus