How do I delete a user profile on a Windows 7 machine that is part of a domain?

All we need is an easy explanation of the problem, so here it is.

How can I delete the local user profile on a Windows 7 machine that is connected to a Windows Server 2008 domain?

DelProf doesn’t seem to exist on Windows 7.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

You can do it with the User Profiles dialog in System Properties:

  • Log in as different user (with admin privileges) than you want to delete
  • Open Properties for Computer
  • Advanced system settings (on the left side)
  • Settings for User Profiles (in the middle)
  • Select the profile you want to delete and click the delete button

Deleting local user profiles

Method 2

To clear user local profile via registry:

  1. Click Start → Run → Regedit

  2. Navigate to the following registry key :HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

  3. Under ProfileList navigate to binary key’s like this: S-1-5-21-3656904587-1668747452-4095529-500

  4. On the right side under ProfileImagePath you’ll see the profile path.

  5. Chose the one with the desired user and delete the long registry key like: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

You will then need to either rename (preferable), or delete the user profile on disk under C:\Users\%username%

Method 3

I have developed an unofficial successor to Microsoft’s Delprof called Delprof2. It is syntax compatible to the original but more powerful.

Method 4

GPO: Computer Configuration \ Policies \ Administrative Templates \ System \ User Profiles
This seems the perfect answer for deleting old domain usersenter image description here

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply