Solved

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

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

Join & Write a Comment

Suggested Solutions

[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
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…

758 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

22 Experts available now in Live!

Get 1:1 Help Now