Solved

domain users SId

Posted on 2009-07-03
3
679 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 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Online collaboration can help businesses be more efficient, help employees grow their skills and foster a team environment.
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

688 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