Windows 10: Delete User Account in Windows 10  

Page 2 of 2 FirstFirst 12

  1. Posts : 30,092
    64-bit Windows 10 Pro build 17692
    Thread Starter
       27 Apr 2017 #10

    Hello Wayne, :)

    Yep, everything is still the same in the W10 CU.

    It would be best that you are signed in to an administrator account to delete her account from.

    In addition, be sure to back up anything she doesn't want to lose in her personal folders before deleting the account.
      My ComputersSystem Spec


  2. Posts : 410
    Windows 10 Pro x64
       05 May 2018 #11

    Hi Shawn @Brink :)

    I was checking User account deletion, to delete some test accounts I had created.
    I totally agree with your post that the best way to delete users is with Option 1, which is the most suitable to delete both the account and profile.
    The problem is that following deletion there are a lot of remnants in the registry per user account, which accumulate with every deleted account.

    I made a thorough check and I have narrowed down these registry leftovers, which can be safely deleted, using a "reg delete" command.

    Code:
    1.	HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\UFH\ARP
    2.	HKLM\SOFTWARE\Microsoft\UserManager\Users
    3.	HKLM\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-100x
    4.	HKLM\SOFTWARE\Microsoft\Windows Search\Gather\Windows\SystemIndex\Sites\{S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X}
    5.	HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{D6886603-9D2F-4EB2-B667-1971041FA96B}\S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X
    6.	HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SystemProtectedUserData\S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X
    7.	HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\TouchKeyboard\Users\S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X
    8.	HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows Search\Gather\Windows\SystemIndex\Sites\{S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X}
    9.	HKLM\SYSTEM\CurrentControlSet\Services\bam\UserSettings\S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X
    10.	HKU\.DEFAULT\Software\Microsoft\IdentityCRL\DeviceIdentities\production\S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X
    11.	HKU\S-1-5-18\Software\Microsoft\IdentityCRL\DeviceIdentities\production\S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X
    12.	HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserTile
    13.	HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache\PurgeAtNextLogoff
    Where: S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-100X the SID of the user you have deleted, taken, before deletion from the command "wmic useraccount get name, SID".

    Additionally to the above registry keys there are:

    more than 30 values under
    Code:
    HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules
    and more than 135 values under
    Code:
    HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedServices\AppIso\FirewallRules
    which most probably are system specific (needs to be checked in different systems), as they are SID's (i.e. like the following)
    Code:
    reg DELETE HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules /v {4FB1BC66-F234-49AA-802F-9DAD2A6D7859}
    reg DELETE HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedServices\AppIso\FirewallRules /v {4AE04CC8-8C3D-4803-BD38-FA08E4A65D22}
    I do have the complete list of these values (if they're not system specific) and I can send them, in case you need them.

    Do you think it's worth examining it, so, after every user deletion the registry is also cleaned up?
      My ComputerSystem Spec


  3. Posts : 30,092
    64-bit Windows 10 Pro build 17692
    Thread Starter
       05 May 2018 #12

    Hello Dimitri @ddelo, :)

    It would be nice if every bit of an account would be deleted when the account was deleted.

    I'm not sure it would be worth examining too deeply though. None of the registry leftovers should hurt anything since it was for an account that no longer exists. Not to mention the risk of mistakenly deleting a registry key that could cause an issue.
      My ComputersSystem Spec


  4. Posts : 410
    Windows 10 Pro x64
       05 May 2018 #13

    Brink said: View Post
    Hello Dimitri @ddelo, :)

    It would be nice if every bit of an account would be deleted when the account was deleted.

    I'm not sure it would be worth examining too deeply though. None of the registry leftovers should hurt anything since it was for an account that no longer exists. Not to mention the risk of mistakenly deleting a registry key that could cause an issue.
    I agree Shawn. I found it, so I wanted to mention it, to get your opinion.
    :)
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Tutorial Categories

Delete User Account in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
How to Automatically Sign in to User Account at Startup in Windows 10 Windows 10 has a new sign in screen that is more modern and touch friendly. By default, you need to dismiss the lock screen and enter your credentials on the Sign-in screen...
User Accounts View User Account Details in Windows 10 in Tutorials
How to View Full Details of All User Accounts in Windows 10 This tutorial will show you how to quickly view full details about all user accounts on your Windows 10 PC. The full details of user accounts would include: AccountType, Description,...
Browsers & Email Add or Delete Account in Windows 10 Mail app in Tutorials
How to Add or Delete Accounts in Mail app in Windows 10 The Mail and Calendar apps included with Windows 10 help you stay up to date on your email, manage your schedule and stay in touch with people you care about the most. Designed for both...
How to Change User Account Control (UAC) Settings in Windows 10 User Account Control (UAC) helps prevent malware from damaging a computer and helps organizations deploy a better-managed desktop environment. With UAC, apps and tasks always run...
You need a user account to use Windows, and if you share a single PC with other people, each person should have their own account. Each person can customize their account with their own settings and preferences, like a desktop background or screen...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:02.
Find Us