Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

how can I find the SID of a server with out downloading anyhing like pstools ? t

the server is isolated and cannot get to the internt
0
NAMEWITHELD12
Asked:
NAMEWITHELD12
  • 2
1 Solution
 
Neil RussellTechnical Development LeadCommented:
I used this myself on stand alone windows 7 machines, found on a Technet blog some time ago.


A computer's SID is stored in the Registry's SECURITY hive under HKLM\SECURITY\SAM\Domains\Account. This key has a value named F and a value named V. The V value is a binary value that has the computer SID embedded within it at the end of its data. In other words, the last 12bits of the V value represent the computer’s SID.

Please follow the steps of the example to get the computer’s SID in the registry:

Get the last 12bits of the V value. We take 07, 11, 50, 45, 0B, B1, D5, 42, CD, 43, 6B, 4E as an example.
Divide the bytes into three sections: 07, 11, 50, 45-0B, B1, D5, 42-CD, 43, 6B, 4E.
Reverse the order of bytes in each section: 45, 50, 11, 07-42, D5, B1, 0B-4E, 6B, 43, CD.
Convert each section into decimal: 1162875143-1121300747-1315652557.
Add the machine SID prefix. For example, S-1-5-21-1162875143-1121300747-1315652557.
Note: If you can’t see the hive, please modify the permission of the key SECURITY. Right-click on the key Security, and then click on Permissions. Modify your permission to Full Control, and then update the registry.

See ( https://social.technet.microsoft.com/Forums/en-US/de8ff30b-6986-4aad-bcde-12bb5e66fe86/the-computer-sid-with-windows-7?forum=winserverDS )
0
 
NAMEWITHELD12Author Commented:
awesome thanks ,
0
 
Neil RussellTechnical Development LeadCommented:
Your welcome
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now