Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retrieve a workstation's SID 1

Status
Not open for further replies.
Oct 10, 2003
90
US
We are having a problem of duplicate SIDs populated all over the network. Does anyone know of a way to enumerate/obtain a workstation's SID?

Optimally, I would like to generate a list of the duplicate SIDs and just go back to those individual machines instead of changing the SID on each and every machine that we support.

Any suggestions?
 
Works great. Thanks.

On another note, is there a way to pipe the output to a txt file? The command psgetsid \\* >output.log doesn't seem to do anything for me.
 
Sorry, I should have been more definitive. Put the psgetsid on root of C. At a dos prompt type:

psgetsid \\* -u "yourdomainadminaccount" -p "yourpassword" > c:\output.txt

Redirects the output to the text file.

 
Still no go. The first time I tried it, I logged in as administrator and ran the utility. No luck.

I tried it again, being more explicit by adding the switch for administrator and password. Still no luck.

What it is doing, or not as the case maybe, is actually logging the output. It will create whatever text file I define, but there are no results in that text file. On the command prompt, it runs each successful line as

SID for \\TEST1:
SID for \\TEST2:

If I run it again without outputting to a text file, it works as expected. Any thoughts???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top