Automatic forch Rebuild Help

I am trying to find a way to force a rebuild automatically either through an Add-In or through a Administrate Action.  I have been unsuccessful.  I have tried renaming the file to the same name to get it to rebuild.  I also found an Add-In in the Knowledge Base that was called ForceRebuildAndSave.dll.  But when I try adding it as a new Add-In, I get an error that the Archive Server could not open the Windows Registry.  Any help would be greatly appreciated.

SolidworksApi macros