How to Check the Windows SID using PsGetSid

Windows SID duplication issue can be happen after you image the windows operating system (OS) or after you clone the VMware guest windows OS. Before assigned a new SID to cloned machine, you have to know the current SID. So that you can compare before and after changed. There is a tool that included in the PsTools suite which can help you to read the computer’s SID. PsGetSid makes reading a computer’s SID and works across the network so that you can query SIDs remotely.

READ  How to Check or Test Reverse DNS on Linux and Windows

You can download the PsTools at below Mirrors:

Mirror 1
Mirror 2

Installation

Copy PsPsGetSid onto your executable path and type “psgetsid”.

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

Example:

    C:\PsTools>psgetsid
    
    PsGetSid v1.44 - Translates SIDs to names and vice versa
    Copyright (C) 1999-2008 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    SID for \\EHOWSTUFFPC:
    S-1-5-21-1390067357-1214467892-839558901
    

Before you start to check SID for remote computer, make sure you mapped the remote computer using admin privileged or make default admin$ share be available.

    C:\PsTools>psgetsid \\192.168.2.3
    
    PsGetSid v1.44 - Translates SIDs to names and vice versa
    Copyright (C) 1999-2008 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    SID for \\192.168.2.3:
    S-1-5-21-36825260865-4174531124-39197682092

Leave a Reply

Your email address will not be published. Required fields are marked *