Solved

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

Posted on 2008-10-22
4
258 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JRNL_WRAP_ERROR issue in sysvol 20 32
Sharepoint User Name Displaying incorrectly. 17 40
Enterprise Mode 4 30
EXCHANGE, ACTIVE DIRECTORY 1 32
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Resolve DNS query failed errors for Exchange
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

777 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