UserResourceCleanup

Shaun VermaakCOG Lead Engineer
CERTIFIED EXPERT
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.
Published:
Updated:
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.

Introduction


A GPO exist that can be configured to automatically delete old user profiles and a process such as CircularLogArchivercan be used to clean up log or old data but what about user data?


UserResouceCleanup can take care of this by monitoring the user data folders and Active Directory.


Configuring UserResourceCleanup


a) Download and extract UserResourceCleanup.zip (here is VirusTotal scan) to a folder of your choice on the computer which it will be scheduled to run on.


b) Run Configurator.exe (Configurator Editor).


c) On the Encrypt tab, enter the password for the account that will be performing the automated placement task. Encrypt it with key bRK92kDpCqpnPMEtFp1cdJXixgqOqSKFUZ and record encrypted password



d) On the Settings tab, enter the domain information, connection username and the encrypted password recorded in step c. Configure UserNameMatch to a RegEx query that will match user account format. If you do not have a specific format, use .*



e) On the UserFolderLocations tab, specify folders to monitor to redundant user data



f) On the UsersToSkip tab, specify user folders to skip



g) Save configuration files

h) Schedule UserResourceCleanup.ConsoleApp.exe as a scheduled tasks


Conclusion


Using this process will keep recover space by removing old/redundant user data, just make sure that you have backups to cheap/slower storage in case you need to recover data.


Please do not forget to press the "Thumb's Up" button if this article was helpful and valuable for EE members.


It also provides me with positive feedback. Thank you!

7
1,058 Views
Shaun VermaakCOG Lead Engineer
CERTIFIED EXPERT
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.

Comments (8)

Shaun VermaakCOG Lead Engineer
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Author

Commented:
Still being reviewed by page editor :)
AlanConsultant
CERTIFIED EXPERT

Commented:
Okay - I'll curb my enthusiasm!
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Interesting article. At my main client, we are not currently seeing high turnover (which is a good thing), but I have made a note and when there is an opportunity, we will try it out.

Thank you.
AlanConsultant
CERTIFIED EXPERT

Commented:
Thumbs up working now - thanks!

Alan.
Albert WidjajaIT Professional
CERTIFIED EXPERT

Commented:
thanks for sharing.

View More

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.