Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
Rename the folder in users first – user160316 Sep 20 '12 at 7:31
up vote 109 down vote accepted

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

share|improve this answer
    
@emirjonb - Comments are to clarify details/ask questions about the answer/question above them. Looks like yours is a question with a different set of specifics, so utilise superuser.com/questions/ask to get some answers on it. – user66001 Sep 9 '15 at 20:37
    
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 at 13:43

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%

share|improve this answer
1  
This leave the user's profile still on disk... – Twisty Jun 10 '15 at 20:42

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

share|improve this answer
    
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
    
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

share|improve this answer
    
there was a bug that has been fixed by microsoft support.microsoft.com/en-us/kb/983544 – emirjonb Mar 13 '15 at 11:56

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.

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.