Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: User Account - Delete



User Account - Delete

How to Delete a User Account in Windows 7 and Windows 8
Published by Brink
15 Aug 2011
Published by

How to Delete a User Account in Windows 7 and Windows 8


information   Information
This tutorial will show you different ways on how to delete a user account or domain user account in Windows 7 and Windows 8/8.1.

You must be logged in as an administrator to be able to delete a user account.

warning   Warning

  • You will not be able to delete a user account that is logged in. It must be logged off first.
  • Do not delete all administrator accounts on the computer. You need to have at least one administrator account created on the computer.
  • Before deleting the user account, be sure to backup anything that you do not want to lose in it's C:\Users\(user-name) profile folder and subfolders.




OPTION ONE
To Delete an User Account in Control Panel "User Accounts"
1. Open the Control Panel (icons view) in Windows 7 or Windows 8, and click/tap on the User Accounts icon.

2. Click/tap on the Manage another account link. (see screenshot below)
User Account - Delete-user-accounts-1.jpg
3. If prompted by UAC, then click/tap on Yes.

4. Click/tap on the user account (ex: Example-Standard) that you want to delete. (see screenshot below)
User Account - Delete-user-accounts-2.jpg
5. Click/tap on the Delete the account link. (see screenshot below)
User Account - Delete-user-accounts-3.jpg
6. Click/tap on the Delete Files button. (see screenshot below)
User Account - Delete-user-accounts-4.jpg
7. Click/tap on the Delete Account button. (see screenshot below)
User Account - Delete-user-accounts-5.jpg
8. The user account and it's C:\Users\(user-name) profile folder has now been deleted.
User Account - Delete-user-accounts-6.jpg
9. When finished, you can close the User Accounts window.



OPTION TWO
To Delete an User Account in "Local Users and Groups"
1. Open Local Users and Groups, and click/tap on the Users folder in the left pane to open it. (see screenshot below)
NOTE: In Windows 8, "Local Users and Groups" is only available in the Windows 8 Pro and Enterprise editions.
User Account - Delete-lusrmgr-1.jpg
2. In the middle pane of Users, right click or press and hold on the user account (ex: Example-Standard) that you want to delete, and click/tap on Delete. (see screenshot below)
User Account - Delete-lusrmgr-2.jpg
3. Click/tap on Yes. (see screenshot below)

4. The user account has been deleted. When finished, close the Local Users and Groups window. (see screenshot below)
User Account - Delete-lusrmgr-4.jpg
5. In Windows Explorer (Windows 7) or File Explorer (Windows 8), navigate to the deleted user account's C:\Users\(user-name) profile folder (ex: Example-Standard), right click or press and hold on it, click/tap on Delete, and approve. (see screenshot below)
User Account - Delete-delete_user_folder.jpg



OPTION THREE
To Delete an User Account in an "Elevated Command Prompt"

NOTE: This option will use the net user command to delete an user account with.
1. Open an elevated command prompt in Windows 7 or Windows 8.

2. Do either step 3 or 4 below for how you need to delete the user account.

3. To Delete a User Account
A) In the elevated command prompt, type the command below, and press Enter. (see screenshot below)

Note   Note
Substitute UserName in the command below with the user name of the user account (ex: Example-Standard) within quotes that you want to delete.

If this is a Microsoft account in Windows 8 that you want to delete, then you would need to substitute UserName in the command below with the name of it's C:\Users\(user-name) profile folder instead.

net user "UserName" /delete

Name:  CMD-1.jpg
Views: 28630
Size:  37.4 KB
B) Go to step 5.
4. To Delete a User Account on a Domain
NOTE: This is for only if your computer is on a domain.
A) In the elevated command prompt, type the command below, and press Enter. (see screenshot below)

Note   Note
Substitute UserName in the command below with the user name of the user account (ex: Example-Standard) within quotes that you want to delete.

If this is a Microsoft account in Windows 8 that you want to delete, then you would need to substitute UserName in the command below with the name of it's C:\Users\(user-name) profile folder instead.

net user "UserName" /delete /domain
B) Go to step 5.
5. The user account has now been deleted. When finished, close the elevated command prompt.

6. In Windows Explorer, navigate to this user account's C:\Users\(user-name) profile folder (ex: Example-Standard), right click or press and hold on it, click/tap on Delete, and approve. (see screenshot below)
Click image for larger version

Name:	Delete_User_Folder.jpg
Views:	1034
Size:	97.7 KB
ID:	170361



OPTION FOUR
To Delete an User Account in "Advanced User Accounts" (netplwiz)
1. Press the Windows+R keys to open the Run dialog, type netplwiz in the search box, and press Enter.

2. If prompted by UAC, then click/tap on Yes.

3. Check the Users must enter a user name and password to use this computer box. (see screenshot below)
Name:  netplwiz-1.jpg
Views: 27730
Size:  79.9 KB
4. Select (highlight) the user name (ex: Example-Standard) of the user account that you want to delete, and click/tap on the Remove button. (see screenshot above)

5. Click/tap on Yes to approve. (see screenshot below)
Name:  netplwiz-2.jpg
Views: 27616
Size:  38.2 KB
6. If you had a user account set to be logged on automatically at startup, then you will need to set this again.

7. When finished, click/tap on OK. (see screenshot below)
Name:  netplwiz-3.jpg
Views: 27594
Size:  75.0 KB
8. The user account has now been deleted.

9. In Windows Explorer, navigate to this user account's C:\Users\(user-name) profile folder (ex: Example-Standard), right click or press and hold on it, click/tap on Delete, and approve. (see screenshot below)
Click image for larger version

Name:	Delete_User_Folder.jpg
Views:	1034
Size:	97.7 KB
ID:	170361



OPTION FIVE
To Delete an User Account in PC settings

NOTE: This option is only available in Windows 8.1 and Windows RT 8.1.
1. Open PC settings, and click/tap on Accounts on the left side. (see screenshot below)
User Account - Delete-pc-settings_remove-1.jpg
2. Click/tap on Other accounts on the left side of PC settings, click/tap on the account (ex: Brink) you want to remove on the right side, and click/tap on Remove. (see screenshot below)
NOTE: Only local accounts will be listed here. You will need to use one of the other options above instead to remove a Microsoft account.
Click image for larger version

Name:	PC-settings_remove-1.jpg
Views:	109
Size:	46.2 KB
ID:	285544
3. Click/tap on Delete account and data. (see screenshot below)
Name:  PC-settings_remove-2.jpg
Views: 27419
Size:  49.6 KB
4. After a short moment, you will now see the account has been removed. (see screenshot below)
User Account - Delete-pc-settings_remove-3.jpg
5. When finished, you can close PC settings if you like.
That's it,
Shawn


30 Nov 2013   #1
nirjhar

windows 7 32bit
 
 

really thanks........

My System SpecsSystem Spec
18 May 2014   #2
dsim

W7 64bit
 
 
Old user name still showing in expanded C drive tree

I am trying to help a friend who has bought a one year old laptop form a friend of his who is unable because of health to continue using it.
It has W8 which I have upgraded to W8.1 plus the latest update.

Before looking in this forum I had used his Microsoft ID to switch from the old user's local account, and the local account to his name. (Having written this I realise that my memory of detail here may not be exact, as I did not note what I did.)
I transferred all the folders from the old user name (Ian and Joan) to the new one (Jim).

The old user name is still in the drive C list, and although the folder shows as empty, if I try to delete it, there is a whole lot of folders shown being deleted- apparently the ones I had transferred- so the deletion was cancelled.

A further complication is that when I have sought, when downloading, to save to Downloads I get a message that this can not be done - do you want to save in Ian and Joan instead. If I click yes, and subsequently go to File Explorer I can move the downloaded program file to "Jim". (I also found that OneDrive was in the Ian and Joan folder, so I have moved that across.)


I think that leaving the Ian and Joan empty folder is only untidy, but the inability to directly save a download is a problem.

Can you suggest what I might try, please. And also, do you think I may have created any problems?
My System SpecsSystem Spec
18 May 2014   #3
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello dsim,

To not see the old account's name, it would be best to create a new administrator type user account for yourself, and delete the old account afterwards.
My System SpecsSystem Spec
.


18 May 2014   #4
dsim

W7 64bit
 
 

Thank you for your posted reply.

I have followed Option 1. The operating system is W8.1 with update 1, the home version.

Step 6 - there is no other account shown, only the Add a User box. This was selected. As the previous Ian & Joan account was local, I then went to step 9. I created two administrator accounts - one for Ian & Joan (as this was not showing anywhere in user accounts) and also one for Jim.

Checked Users in the C drive tree - Ian & Joan and Jim showed as before, but there was also a new Jim2. Returned to the user screen and removed Ian & Joan. Checked C drive again - Ian & Joan was still there.

Tried to download and save to Downloads, but again got the message that "the account did not have permission to save to that location - would you like to save to Ian & Joan instead".

This could be used a the location for such saved files, or after saving there such files could be moved to Downloads,

However, if there is this limitation I wonder if there are some others. It does seem that I have not removed Ian & Joan.

Would be grateful for advice.
My System SpecsSystem Spec
18 May 2014   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

When you created the new accounts, did you use names that have not been used before?

After creating the new accounts, you would need to sign in to them to have their user folder created.

When finished, you should be able to delete the old accounts while signed in to one of the new administrator accounts.
My System SpecsSystem Spec
19 May 2014   #6
dsim

W7 64bit
 
 

The account which I can't delete is Ian & Joan. It shows as an empty folder in C>users.

When I created the new account I used the same name. Then in C>users both "Ian & Joan" and "Ian & Joan Laptop" showed. I deleted the latter satisfactorily but the former still remained. This does not show in User Accounts, nor as a sign in option.

A further development is that the Jim Microsoft ID account now only opens as a limited account.

It seems that I have a mixed up situation.

I presume that the best solution is to use either of the recovery options - Refresh or Reinstall. The computer is a Samsung type 3, with a recovery drive partition on the hard drive.

Although I have now installed W8.1 with update 1 I presume that this action will result in reverting back to W8 (Home version).

If I choose reinstall I suppose that I will be able to set this up with the Jim profile, but that a refresh would still leave the need to uninstall the original Ian & Joan.
My System SpecsSystem Spec
19 May 2014   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

That would be correct.

It would be easier to reinstall to start fresh, and create the accounts with the names you wanted if you don't mind reinstalling everything else.
My System SpecsSystem Spec
20 May 2014   #8
dsim

W7 64bit
 
 

Thank for all your advice on this matter. I have now competed a reset and have only the one user - the present owner.

it did take some time, but this was mainly for downloading and installing updates and the upgrade to W8.1. The reset itself was only a half hour or so.
My System SpecsSystem Spec
20 May 2014   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome. I'm glad you got it sorted.
My System SpecsSystem Spec
Comment

 User Account - Delete




Tutorial Tools



Similar help and support threads for2: User Account - Delete
Windows 7 Tutorial Category
Cannot delete a second administrative user account Installation & Setup
ASP.NET user account... delete or disable it? Installation & Setup
Delete Account Function Missing I Cannot Delete Temporary User Account General Discussion
How to delete a user's account. Performance & Maintenance
user account that can install but not delete General Discussion
Delete user account problem General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:44 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33