Solved

Deleted a user in Windows 2000

Posted on 2002-06-25
17
145 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
  • 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
 
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
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…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

948 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

17 Experts available now in Live!

Get 1:1 Help Now