IT Systems Engineering

Delete user profiles on a RDSH server

Delprof is an excellent program to delete your users’ profiles:

http://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/

By the way, if you want to do all this manually, here is the procedure for that:

http://community.spiceworks.com/how_to/show/1595-how-to-delete-a-user-profile-from-server-2008-terminal-server

Additionally, you may want to delete the roaming profiles on your central file server. It is usually difficult to to that because the files are in use. I use a nice little utility called unlocker for that.

I run this FOR loop on a command line on the server hosting the roaming profiles:

cd C:\Program Files\Unlocker
FOR /D %G in (“E:\Shares\Remote Desktop Services\Profile\*”) DO (unlocker “%G” /D /S & timeout /t 30 /nobreak)

Note that if you have a lot of profiles, it will take a long time!

Leave a Reply

Your email address will not be published. Required fields are marked *

Prove that you are a human *