File Policy Enforcer - Keep your Windows systems tidy!

File Policy Enforcer allows server administrators to create and enforce file policies for their Windows systems. A file policy ensures that file resources are being used according to specified rules, thus making file usage complying with regulations available, and avoiding system outages due to lack of resources.

 Feature list: 

  • Multiple policies
  • Policy targets can be be directories or Active Directory containers from where users' home directories and mail adresses are extracted.
  • File count, -size and/or extensions as selection criteria
  • Warning notification or file removal as policy actions
  • Flexible definition of time periods and time/date values
  • E-mail notifications and templates with scan codes
  • Wild card based exclusion of files
  • Persistent storage to resume operations
  • Installs as a service and available all the time
  • Configurable via a simple set of parameters in a configuration file

 

Examples of Files Policy Enforcer use:

Policy Definition in the configuration file
Check home directories of users in the Active Directory container "OU=MyUsers,DC=MyDomain,DC=com" for multi media content every sunday and saturday in february, april, september and november. Randomize start time between 8 and 16 hours. Send the user a notification immediately, wait two weeks before sending a second warning and wait one more week before removing files and notifying user.

[General]
check_window= mo {feb apr sep nov} wd {sat-sun}
min_check_interval=8 hours
max_check_interval=16 hours

[Policy MULTIMEDIA-HOMEDIR]
file_extensions=.avi|.mov|.mp4|.mpg|.mdi|.mp3
target=OU=MyUsers,DC=MyDomain,DC=com
action=warning,now,now,warning_message_1
action=warning,2 weeks,2 weeks,warning_message_2
action=delete,3 weeks,2 weeks,delete_message

Check the directory C:\MyApp\Logs for files three times a day (1am, 9am, 5pm) during the summer season, once a day otherwise (1 am). Randomize start time between 40 and 50 minutes. Remove files older than one day if the total size of the files exceeds 1 GB. Notify the admin.

[General]
check_window= mo {jun-aug} hour {1 9 17}, hour { 1 }
min_check_interval=40 minutes
max_check_interval=50 minutes

[Policy MyApp-Logs]
size_threshold=1073741824
target=C:\MyApp\Logs
action=delete,now,1 day,delete_message
notify=admin@mycompany.com

 

How to install File Policy Enforcer?

 

Supported platforms are Windows 2000/XP/2003/Vista/2008/7.

  1. Run the installer.
  2. Accept the license agreement if you agree.
  3. Specify an installation location.
  4. Installation starts.

File Policy Enforcer is now installed on your machine as a service with manual start. All you have to do now is to configure it by updating the self documented configuration file available from the start menu.

  

License

 

The BSD 2-clause License

 

Copyright (c) 2006-, Itefix Consulting & Software
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 

Uninstallation

Run Uninstall File Policy Enforcer from the start menu.