Hi,
I want to find users using SID, how it is possible, can anyone help me out, please waiting for ur reply...
11 146007
Hi,
I want to find users using SID, how it is possible, can anyone help me out, please waiting for ur reply...
__________________________________________________ ______________
What do you mean by SID ?
__________________________________________________ ______________
Hi,
I want to find users using SID, how it is possible, can anyone help me out, please waiting for ur reply...
------------------------------------------------------------------------------------------------------------------
To find SID of users, open registry editor and click HKEY_USERS in left pane to expand it. There in left pane itself you will find the SID of users.
This link might be useful to you------------->
http://www.mkssoftware.com/docs/man1/sid.1.asp
__________________________________________________ _______________
If this is what you are lookin for, tell me...
HOPE THIS HELPED..............................
------------------------------------------------------------------------------------------------------------------
To find SID of users, open registry editor and click HKEY_USERS in left pane to expand it. There in left pane itself you will find the SID of users.
This link might be useful to you------------->
http://www.mkssoftware.com/docs/man1/sid.1.asp
__________________________________________________ _______________
If this is what you are lookin for, tell me...
HOPE THIS HELPED..............................
Thanks for your reply, first of all I want to know which security ID belongs to which user.. yes as u said in HK _users the IDs like "S-1-5-21-484763869-1993962763-1343024091-1003" are there. Exactly I want to know which user's ID is this....thank you once again...
Thanks for your reply, first of all I want to know which security ID belongs to which user.. yes as u said in HK _users the IDs like "S-1-5-21-484763869-1993962763-1343024091-1003" are there. Exactly I want to know which user's ID is this....thank you once again...
This link might help you------> LINK
__________________________________________________ _______________
HOPE THIS HELPS..............
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.
__________________________________________________ _______________
Another way to do the same is using scripting (If you do not know scripting, do tell me)
We use a script similar to this, which returns the SID for the user aaa with an account in the bbb domain:
__________________________________________________ _______________
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objAccount = objWMIService.Get _
("Win32_UserAccount.Name='aaa',Domain='bbb'")
Wscript.Echo objAccount.SID
__________________________________________________ _______________
Incidentally, this works just as well for local user accounts. The only difference is that you don’t specify a domain name for the Domain parameter; instead, you specify the name of the local computer. For example, this script returns the SID for the local user account aaa on the computer atl-ws-01:
__________________________________________________ _______________
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objAccount = objWMIService.Get _
("Win32_UserAccount.Name='aaa',Domain='atl-ws-01'")
Wscript.Echo objAccount.SID
__________________________________________________ _______________
Of course, it’s possible that you might need to go the other direction; that is, you might have a SID and need to know which account that SID belongs to.
__________________________________________________ _______________
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objAccount = objWMIService.Get _
("Win32_SID.SID='S-1-5-21-1454471165-1004336348-1606980848-5555'")
Wscript.Echo objAccount.AccountName
Wscript.Echo objAccount.ReferencedDomainName
__________________________________________________ _______________
HOPE THIS HELPS........
You can use Registry Editor
But read thise first
WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows to correct them.Believ me,Even Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved "make a reasearch if you don't believe" So Use this tool at your own risk.
1.Open Registry Editor and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion \ProfileList
2.Under the ProfileList key, you will see the SIDs. By selecting each one individually, you can look at the value entry and see what user name is associated with that particular SID.Make sure you don't change anything
This page worked well for me when trying to figure out how to do this on Windows 7. All commands are already built into the OS which is great for situations where 3rd party software is undesirable (or prohibited). http://www.windows-commandline.com/get-sid-of-user/
Basically I use WMIC to get the results I'm looking for. To get a list of all users on a W7 box and their SIDs, I run this command. wmic useraccount get name,sid
Name SID
Administrator (SID will appear here)
Be advised this didn't work for me when using PowerShell. I had to use the trusty old Command Prompt (cmd.exe). Also be sure to run as Administrator to avoid getting privilege denial messages.
Hi! If you want to use the command line to get your SID, this might be helpful to you :
Get SID of a local user :-
Go to the commandline and enter:
------------------------------------------------------
wmic useraccount where name='username' get sid
------------------------------------------------------
For example, to get the SID for a local user with the login name ‘Ankit’, the command would be as below
------------------------------------------------------
wmic useraccount where name='Ankit' get sid
------------------------------------------------------
If you do not know your username and you want to find it on the terminal itself then please enter the following:-
------------------------------------------------------
wmic useraccount where name='%username%' get sid
------------------------------------------------------
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: CLEAR-RCIC |
last post by:
Hi. I wrote the following code that returns the name of all users in our
Active Directory. I want to only find users in a container named 'ABC'. Can
anyone tell me how to do this?
Dim...
|
by: pmclinn |
last post by:
How do you grab a users default gateway?
Connection-specific DNS Suffix . : ksde.local
IP Address. . . . . . . . . . . . : 10.117.161.108
Subnet Mask . . . . . . . . . . . : 255.255.248.0...
|
by: Thomas LeBlanc |
last post by:
What are the SQL commands to find who is logged on a server, what database
he/she has open, etc?
Where is this information in the help file or documentation?
Thanks,
Thomas
...
|
by: Han de Monnink |
last post by:
Hi,
I am looking for a way to determine het user that is running a certain
process, I can retrieve the process ID by calling the
GetProcessByName("test") method which will return all processes...
|
by: svjames |
last post by:
heya guyzorz, just a quick q, for the life of me i cant find a way to obtain the value of a users browsers default homepage. Ive written a site that provides access to the internet on a certain...
| |
by: AR123 |
last post by:
I want to find out a way of listing all the users who have access to specific item types created on Mediasurface.
I need some help on developing this?
|
by: CodeNoob |
last post by:
please help been working on a project got it down to 5 errors from 100 now i have no idea what to do.
Errors:
init:
deps-jar:
Created dir: C:\Users\Tommy\Desktop\build\classes
Compiling 306...
|
by: Salad |
last post by:
I have a situation where some, not all, users get the message "Couldn't
find file "F:\AccessApps\AppName.mdw". This file is required for startup".
My app the users are attempting to access is...
|
by: LadiPrather |
last post by:
These error say there is not symbols, I have changed them some many times till I am lost. Please someone help.
JOptionPane.showMessageDialog(null,"Oringinal Balance = $" + recieveAmount +
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |