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.
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 :
Under ProfileList navigate to binary key’s like this:
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:
You will then need to either rename (preferable), or delete the user profile on disk under
I have developed an unofficial successor to Microsoft's Delprof called Delprof2. It is syntax compatible to the original but more powerful.