Introduction
Have you performed a rollout and only to discover that your network might suffer from the SID duplication problem? In order to know which systems have to be assigned a new SID (using a SID updater like our own NewSID) you have to know what a computer's machine SID is. Up until now there's been no way to tell the machine SID without knowing Regedit tricks and exactly where to look in the Registry. PsGetSid makes reading a computer's SID easy, and works across the network so that you can query SIDs remotely. PsGetSid also lets you see the SIDs of user accounts and translate a SID into the name that represents it.Installation
Just copy PsGetSid onto your executable path, and type "psgetsid".
PsGetSid works on NT 4.0 and higher.Usage
Usage: psgetsid [\\computer[,computer[,...] [-u username [-p password]]] [account|SID]
If you want to see a computer's SID just pass the computer's name as a command-line argument. If you want to see a user's SID, name the account (e.g. "administrator") on the command-line and an optional computer name.
Specify a user name if the account you are running from doesn't have administrative privileges on the computer you want to query. If you don't specify a password as an option PsGetSid will prompt you for one so that you can type it in without having it echoed to the display.PsTools
PsGetSid is part of a growing kit of Sysinternals command-line tools that aid in the administration of local and remote Windows NT/2K systems named PsTools.
Download PsGetSid (33KB)
Download PsTools