Solved

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

Posted on 2008-10-22
4
260 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
[X]
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
  • 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

Office 365 Training for Admins

Learn how to provision tenants, synchronize on-premise Active Directory, and implement Single Sign-On with these master level course.  Only from Platform Scholar

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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