Link to home
Start Free TrialLog in
Avatar of kenfitzgerald
kenfitzgeraldFlag for United States of America

asked on

domain users SId

I need to make changes to users registry settings on a terminal server. How do I look up the user's SID?
ASKER CERTIFIED SOLUTION
Avatar of marine7275
marine7275
Flag of United States of America 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 laguayoiii
laguayoiii

Don't know if it's helpful for your purposes, but you could Microsoft's getsid.exe utility from the Windows rsource kit tools

http://technet.microsoft.com/en-us/library/cc779004(WS.10).aspx

You could use this within a batch file to set an environment variable ... you can find an example here:

http://windowsitpro.com/article/articleid/76649/jsi-tip-5345-how-can-i-get-a-users-sid-in-a-batch-file.html

later on you could use the reg.exe utility to automate your modification under the approiate HKEY_USERS subkey.

Kind Regards,
Buckmeister