Regapp ID Cleanup Utility

This utility removes excess unreferenced registered application (regapp) IDs from multiple files simultaneously.

When you delete an object with Extended Entity Data (xdata), a regapp ID remains in the application ID (APPID) symbol table. When a file contains excess unreferenced regapp IDs, performance may be negatively affected.

This utility is applicable to the following products:

To install the Regapp ID Cleanup Utility

You must have administrative privileges on your Microsoft® Windows® operating system to complete installation.

    1. Based on your product version (32-bit or 64-bit), download the appropriate self-extracting executable file.
    2. Select a folder.
    3. Extract files to the selected folder.
    4. Navigate to the folder and copy CleanupRegapp.exe, CleanupRegappRes.dll, and CleanupRegapp.html to the installation directory of your AutoCAD-based product.

NOTE: To run this utility you must launch CleanupRegapp.exe from the installation directory of your AutoCAD-based product.

To clean affected files

NOTE: This utility cleans only DWG files saved in AutoCAD Release 14 file format or later file formats.

    1. Close all affected files. Open affected files will not be cleaned.
    2. Launch the Regapp ID Cleanup Utility from the installation folder of your AutoCAD 2010-based product.
    3. If desired, in the Regapp ID Threshold field, enter a number to change the regapp ID threshold. Files that contain fewer regapp IDs than the threshold are not cleaned. The default regapp ID threshold is 50.
    4. Under Files to Clean, select affected files. You can select individual files, folders, and subfolders. To clean the contents of subfolders within a selected folder, select Include sub-folders.
    5. To load and remove unreferenced regapp IDs from external references (xrefs) attached to the selected files, select Include Xref files.
    6. Click OK. Cleaned files are saved in the same format last saved in.

To clean affected files unattended from the Command prompt

You can run this utility from the Command prompt to allow unattended cleaning of files using a BAT file. To display Command prompt examples for cleaning affected files unattended, enter CleanupRegapp.exe /? at the Command prompt.

NOTE: Files are cleaned with the last settings used in the Regapp ID Cleanup Utility dialog box. If you have not modified settings in the Regapp ID Cleanup Utility dialog box, files are cleaned with default settings.

    1. Close all affected files. Open affected files will not be cleaned.
    2. At the Command prompt, enter CleanupRegapp.exe /C followed by the name of the folder you wish to clean. For example, CleanupRegapp.exe /C M:\Projects or CleanupRegapp.exe /C "M:\My Projects". Cleaned files are saved in the same format last saved in.