Solved

Deleted a user in Windows 2000

Posted on 2002-06-25
17
150 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
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 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

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…
The recent Petya-like ransomware attack served a big blow to hundreds of banks, corporations and government offices The Acronis blog takes a closer look at this damaging worm to see what’s behind it – and offers up tips on how you can safeguard your…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

623 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