<

UserResourceCleanup

Published on
3,918 Points
218 Views
7 Endorsements
Last Modified:
Shaun Vermaak
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.
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
Comment
8 Comments
 
LVL 22

Expert Comment

by:Alan
Hi Shaun,

That's great.  I would 'thumbs up' but for some reason, it won't let me right now.

Alan.
1
 
LVL 39

Author Comment

by:Shaun Vermaak
Not accepted yet, just finished it now :)
1
 
LVL 22

Expert Comment

by:Alan
Still won't let me 'thumbs up' - No indication why though.
1
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
LVL 39

Author Comment

by:Shaun Vermaak
Still being reviewed by page editor :)
1
 
LVL 22

Expert Comment

by:Alan
Okay - I'll curb my enthusiasm!
1
 
 

Administrative Comment

by:Rob Jurd (eenookami)
There's no reason you shouldn't be able to give the article the thumbs up.  Look for the thumb just under the article.

Rob
EE Page Editor
1
 
LVL 101

Expert Comment

by:John Hurst
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.
1
 
LVL 22

Expert Comment

by:Alan
Thumbs up working now - thanks!

Alan.
1

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month