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.

  • Rename the folder in users first – user160316 Sep 20 '12 at 7:31

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

  • 2
    Does the command delete only preferences or it also deletes documents? – Paulo Avelar Sep 21 '15 at 16:46
  • @PauloAvelar I second this – audiFanatic Apr 13 '16 at 13:43
  • 1
    I am following the steps above, but for the specific profile that I am trying to delete - the delete button is disable. What could be the reason for this? I have logged into an account different from the one that I want to delete. – Moiz Tankiwala Oct 13 '18 at 4:53

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%

  • 1
    This official Microsoft KB156826 confirms what you're saying, but goes further saying you can remove ProfileList key in regedit to delete ALL profiles if you desire which is a little surprising to me! – gregg Aug 20 at 20:47

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

  • Great piece of software! – Zac B May 30 '12 at 14:57
  • Fantastic! Have been looking for a delprof replacement. – pelms Jul 5 '12 at 9:18
  • 1
    Hi Helge, I tested your tool but there is a problem about "not old enough" user thing. The antivirus scan make 1 year old users seems that is active. Is something I'm missing or we can't do anything about it? – emirjonb Jul 30 '15 at 8:17

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

protected by Community Oct 21 '12 at 0:58

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.