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.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityHow 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.
You can do it with the User Profiles dialog in System Properties:
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%
I have developed an unofficial successor to Microsoft's Delprof called Delprof2. It is syntax compatible to the original but more powerful.
GPO: Computer Configuration \ Policies \ Administrative Templates \ System \ User Profiles
This seems the perfect answer for deleting old domain users