Advice 1: How to watch sid

The procedure for determining the SID may be required if problems occur with the identification of several identical values of SID in the network. To perform the operation of determining your SID will require the use of a free utility PsGetSid.
How to watch sid
You will need
  • - PsGetSid.
Download the archive file PsTools developed and distributed by company Sysinternals, and run the executable file unzipping utility PsGetSid.exe.
Click "start" to bring up the main menu system and navigate to "run" to run the tool on "Command prompt".
Enter the value of cmd in the Open box and click OK to confirm the start command.
Specify the path to the downloaded file with the PsGetSid tool and enter the following value:

psgetsid ComputerName in the text box, the command line to initiate the definition of your SID.
Check the syntax of the returned string:

psgetsid\\computer[,computer[,...] | @file] [-u user_name [-p user_password]]] [account|SID].

Complete the application and PsGetSid command-line tool.
Return to the main menu "start" and go to "Run" for the procedure of changing your SID.
Sysprep enter the value in the Open box and click OK to confirm the command. This action will open the folder at: C:\Windows\System32.
Run the executable utility sysprep.exe and specify the desired action in the main application window:

- Enter System Out-of-Box Experience (OOBE) for system cleanup;
- Generalize - to change the SID;
- Reboot - to turn off the computer.
Wait until the program completes and restart.
Enter the required information country, region, settings, date and time and the desired keyboard layout in the appropriate fields of the setup window and agree to the terms accept the license agreement in the query window.
Make sure you change the SID of the operating system with the utility PsGetSid by the method described above.
Utility NewSid is no longer supported by Microsoft Corporation and cannot be used to change the SID.

Advice 2 : How to find user sid

Identification of users in Windows is done not by names, but by special security ID or Security Identifier - SID. The solution to the problem of determining the SID of the selected user requires no additional software and is the standard means of the system.
How to find user sid
Call the main system menu by pressing the "start" button, and navigate to the Run dialog. Type regedit in the Open box, and confirm the utility of the registry editor by clicking the OK button. Open thread
find all user IDs (SID). Navigate to the key ProfikeImagePath find the corresponding SID value for the user name. Shut down utility registry editor.
The reverse operation, when a well-known SID of the user and you want to determine the name of the account, can be performed using the command reg.exe. In this case, the command syntax looks like this:
reg query HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\ProfileList\\ProfileImagePath.
Use the built-in GetSID utility that allows you to determine the unique ID of the selected user. The command syntax looks like this:
Usage: getsid \\server1 account \\server2 account.
Alternative method software obtain the SID of the desired user is to use the SecurityIdentifier class to .NET Framework 2.0. In this case, the identifier may be displayed as a string, byte array, or combination of values WellKnownSidType SID and domain. An additional condition of obtaining the desired result is to appeal to the WindowsIdentity class. The syntax of this command looks like:
using System;
using System.Security.Principal;
namespace GetSID
class Program
static void Main (string[] args)
WindowsIdentity wid = Windowsidentity.GetCurrent();
Console.WriteLine(wid.Name + SID is 0, wid.User.Value);
} } }.
Is the advice useful?