Link to home
Start Free TrialLog in
Avatar of Westez
Westez

asked on

How to convert SID to a user name?

How do you convert a SID to a username?  We're having an issue where the SID shows up instead of the user name in the Disk Quota panel.  So in order to increase a users disk space we need to convert the SID to the user name.  The server os is Windows 2003.  Previously we didn't have this problem.  If someone can explain why something like this would occur I'll increase the point total.

I have SysInternals getsid utility.  This will allow me to put to convert the user name to the SID, but I'd like to convert the SID to the username.

Thanks
Avatar of Bartender_1
Bartender_1
Flag of Canada image

http://www.codeproject.com/cpp/lkupuserinfo.asp

the above will convert SID/Username info for you. (Both ways)

Typically, the reason for the computer to not show the names, is because it hasn't communicated to the domain controller to determine the names of the SID. Is your 2003 system set as a global catalog server?
ASKER CERTIFIED SOLUTION
Avatar of Pber
Pber
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Westez
Westez

ASKER

Thanks, didn't this used to exist out on SysInternals site?
I think you are right.  It was a useful tool, so M$ probably got rid of it (: