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
Method 2
To clear user local profile via registry:
-
Click Start → Run → Regedit
-
Navigate to the following registry key :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
-
Under ProfileList navigate to binary key’s like this:
S-1-5-21-3656904587-1668747452-4095529-500
-
On the right side under ProfileImagePath you’ll see the profile path.
-
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 users
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