Solved

Deleted a user in Windows 2000

Posted on 2002-06-25
17
146 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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