Solved

Deleted a user in Windows 2000

Posted on 2002-06-25
17
148 Views
Last Modified: 2010-04-13
I have unfortunately deleted a user in Windows 2000 Pro.
Is there a way to correct for this mistake?
Thank you,
dbessis
0
Comment
Question by:dbessis
[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
  • 5
  • 2
  • 2
  • +4
17 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 7108819
No, there is no way to do that. Even worse, re-creating that account will assign a new SID...
0
 
LVL 32

Expert Comment

by:jhance
ID: 7108827
In general, it's not a good idea to delete users.  The recommended approach is to DISABLE accounts when that becomes necessary.  Deletion is not reversible.  Disabled accounts can be quickly and easily re-enabled.

In your case, I suggest that you should create a NEW account (best if you use a DIFFERENT user name from before) and then assign ownership of any needed objects/files/folders from the old user to the new one.
0
 

Author Comment

by:dbessis
ID: 7108840
jhance,
How can I assign to the new account ownership of the files and folders of the deleted one???
Thank you for your help,
dbessis
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 86

Expert Comment

by:jkr
ID: 7108850
You would do that using the 'security' tab in the File Properties dialog. There is a button 'Advanced' on the secutity settings tab that opens a new dialog which has a tab named 'owner', where you can assign - well, the owner :o)
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 7108922
Also, note that you can even re-assign the profile of the old user (after setting its security settings of course). The profile path is stored in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\(SID), where you have to choose the right SID of the old profile to get the old path and insert it into the SID of the new profile.
0
 

Author Comment

by:dbessis
ID: 7108956
Must I first create a new user and then move to the File Properties dialog inside the new user?
Where do I find the File Properties dialog?
Thank you for your help,
dbessis
0
 
LVL 2

Expert Comment

by:heheman3000
ID: 7109102
Create the user first, then right click a folder, drive, or file, as long as it is on an NTFS drive, then click properties. Click the 'security' tab, where you can set permissions for any user. This is pretty straightforward. Then copy the registry entry from the old user, rename it to the new user, after setting permissions, and the user should have all the same properties as the old one.
0
 

Author Comment

by:dbessis
ID: 7109135
AvonWyss
I tried to substitute the old SID into the new one to no avail. I must be doing something wrong or one must make other changes than just the SID
Thanks,
dbessis

heheman3000
All my drives are FAT 32. Is there a way?
Thank you,
dbessis
0
 
LVL 2

Expert Comment

by:heheman3000
ID: 7109161
If the user logged on through a network (and I think they must have if they had permissions before) click the sharing tab and click 'Permissions' , and set the permissions for the user in question.
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7109180
A good rule of thumb is to NEVER assign any user to be able to do ANYTHING! Always ONLY assign GROUPS to have access things. If you do this, then if you were to delete a user such as user1, all you need to do is create a new user1 and assign that user to the same groups that the original user1 was a part of.

I know this will not answer your qyestion of what to do now, but I hope it helps you overall. :->
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 7109724
jmiller47, while for shared files and ressource I do agree that only groups shall be granted access, this is of course not useful for user profiles which are really specific to exactly one user.

dbessis, if your drives are FAT32, don't worry about security (because there is none). To change the profile, you have to take the profile path out of the old SID in the regisry, and replace the new SID's profile path with the one you took out of the old SID. Sorry if I was being unclear. Unfortunately, since I don't know your SIDs, I cannot provide you with complete registry paths to do that.
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7109730
Good point Avonwyss! Thanks
0
 

Author Comment

by:dbessis
ID: 7118432
AvonWyss,
I am extremely confused.
The changes are:
ProfileImagePath
ProfileLoadTimeHigh
ProfileLoadTimeLow
SID
State
Now, I have substituted the OLD SID inside the new SID but I did not replace the other changes.
I still do not get back the lost user.
I suppose that it is NOT sufficient to substitute the old SID into the new one, more changes are necessary. What could they be?
Thank you for your help,
dbessis
0
 

Author Comment

by:dbessis
ID: 7122040
To all,
I have reformated the Hard Drive and reinstalled everything from scratch.
The case is therefore over.
Thank you for your help,
dbessis
0
 
LVL 32

Expert Comment

by:jhance
ID: 8819929
I think a deletion is out of order.  Good advice was given, the fact that this user decided to follow another path is not the fault of the experts who tried to save him the trouble...
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8834333
PAQ'd

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Check out this step-by-step guide for asking an anonymous question on Experts Exchange.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
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…

738 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