Delete User From Registry Fixed -

Run this command: Get-CimInstance Win32_UserAccount | Select-Object Name, SID Note the SID for the profile you want to delete. 📝 Step 2: Delete the Registry Key

Navigate to the path listed above by pasting it into the address bar. Expand the key in the left pane. delete user from registry

Type the following command and press Enter : wmic useraccount get name,sid delete user from registry

You cannot delete the profile of the account you are currently using. delete user from registry

Registry Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList