Solved

domain users SId

Posted on 2009-07-03
3
676 Views
Last Modified: 2013-11-25
I need to make changes to users registry settings on a terminal server. How do I look up the user's SID?
0
Comment
Question by:kenfitzgerald
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
marine7275 earned 500 total points
ID: 24773234
If you don't wanna use third party software, here is an another method----->

Open regedit and goto:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\Cu rrentVersion\ProfileList

Click on any of key on the left [SID] and check out the right pane for ProfileImagePath. Now you should find something as following there:

%SystemDrive%\Documents and Settings\madman

Now "madman" (as in above line) is the name of the account associated with the SID you selected in the left pane.
0
 
LVL 5

Expert Comment

by:laguayoiii
ID: 24773239
0
 
LVL 2

Expert Comment

by:Buckmeister
ID: 24773333
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
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Agile and Scrum have almost become synonymous. Have you wondered what's the difference? Scrum is just one way to be Agile. It is the most popular which leads to the common confusion. Agile actually refers to a philosophy shared by group of developme…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question