{"id":660,"date":"2014-07-10T15:00:00","date_gmt":"2014-07-10T19:00:00","guid":{"rendered":"http:\/\/rajdude.com\/blog\/?p=660"},"modified":"2014-07-11T10:44:20","modified_gmt":"2014-07-11T14:44:20","slug":"delete-user-profiles-on-a-rdsh-server","status":"publish","type":"post","link":"https:\/\/rajdude.com\/blog\/delete-user-profiles-on-a-rdsh-server\/","title":{"rendered":"Delete user profiles on a RDSH server"},"content":{"rendered":"<p>Delprof is an excellent program to delete your users\u2019 profiles:<\/p>\n<p><a title=\"http:\/\/helgeklein.com\/free-tools\/delprof2-user-profile-deletion-tool\/\" href=\"http:\/\/helgeklein.com\/free-tools\/delprof2-user-profile-deletion-tool\/\">http:\/\/helgeklein.com\/free-tools\/delprof2-user-profile-deletion-tool\/<\/a><\/p>\n<p>By the way, if you want to do all this manually, here is the procedure for that:<\/p>\n<p><a title=\"http:\/\/community.spiceworks.com\/how_to\/show\/1595-how-to-delete-a-user-profile-from-server-2008-terminal-server\" href=\"http:\/\/community.spiceworks.com\/how_to\/show\/1595-how-to-delete-a-user-profile-from-server-2008-terminal-server\">http:\/\/community.spiceworks.com\/how_to\/show\/1595-how-to-delete-a-user-profile-from-server-2008-terminal-server<\/a><\/p>\n<p>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 <a href=\"http:\/\/www.emptyloop.com\/unlocker\/\" target=\"_blank\">unlocker<\/a> for that. <\/p>\n<p>I run this FOR loop on a command line on the server hosting the roaming profiles:<\/p>\n<blockquote>\n<p>cd C:\\Program Files\\Unlocker<br \/>FOR \/D %G in (&#8220;E:\\Shares\\Remote Desktop Services\\Profile\\*&#8221;) DO (unlocker &#8220;%G&#8221; \/D \/S &amp; timeout \/t 30 \/nobreak)<\/p>\n<\/blockquote>\n<p>Note that if you have a lot of profiles, it will take a long time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Delprof is an excellent program to delete your users\u2019 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\\UnlockerFOR \/D %G in (&#8220;E:\\Shares\\Remote Desktop Services\\Profile\\*&#8221;) DO (unlocker &#8220;%G&#8221; \/D \/S &amp; timeout \/t 30 \/nobreak) Note that if you have a lot of profiles, it will take a long time!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[88],"class_list":["post-660","post","type-post","status-publish","format-standard","hentry","category-itsys","tag-rds"],"_links":{"self":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/comments?post=660"}],"version-history":[{"count":2,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/660\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/660\/revisions\/662"}],"wp:attachment":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/media?parent=660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/categories?post=660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/tags?post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}