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
Solved

domain users SId

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

A simple overview of the possibilities of using technology for project management.
Read about the ways of improving workplace communication.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

860 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