Solved

Is there a way to discover the User Name on an account that was deleted?

Posted on 2008-10-22
4
259 Views
Last Modified: 2013-12-05
Hi,
I was wondering if there was a way to discover the username for an account that was accidentally deleted by the S-1-5-21-........number?  An account was accidentally deleted, but there is still reminence of the account in security permissions of folders, but it only displays the S-1-5-21-.....number of the account.  I would like to know what account this was so I could recreate the user account and reattach it to the folders.

Note: This is not on a domain, it is a locally created account on a Windows 2000 Server for access certain folders.

Thank you for your time.

Have a great day.

Bob
0
Comment
Question by:rsnellman
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
Zuhir Elgmati earned 500 total points
ID: 22776988
0
 
LVL 38

Expert Comment

by:Shift-3
ID: 22777027
The best way to handle this would be to replace the old SID with that of a new account using the utility SUBINACL.
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b

For example, the command below replaces a SID with a new account for all files and folders on the C: drive.



subinacl /subdirectories c:\* /replace=S-1-5-21-9618458842-4447384536-25574518-1000=newaccountname

Open in new window

0
 

Author Closing Comment

by:rsnellman
ID: 31508750
Thanks very very much.  It was your second link you provided that helped me find exactly what I was looking for.  It was easy and best of all, already built-in to the OS.

Thanks again.

Bob
0
 
LVL 38

Expert Comment

by:Shift-3
ID: 22780221
Out of curiosity, which of those links got you a working solution?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

820 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