Solved

domain users SId

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In Agile (http://en.wikipedia.org/wiki/Agile_software_development), time and again people ask this question "How would you estimate a release for a product?". When it comes from management they want to know the following: Calculate the man hours wh…
Transparency shows that a company is the kind of business that it wants people to think it is.
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). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now