How To: Register the .DLLs in the ArcGIS Desktop \bin directory


Instructions provided describe how to register the .DLLs in the ArcGIS Desktop \bin directory.


The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
  1. Copy the script below into a text file.
    @echo Registering files...
    @for %%f in (*.dll) do start /wait regsvr32 /s "%%f"
    @for %%f in (*.olb) do start /wait regsvr32 /s "%%f"
    @for %%f in (*.ocx) do start /wait regsvr32 /s "%%f"
    @echo Registering Help files...
    cd ..\help
    @for %%f in (*.olb) do start /wait regsvr32 /s "%%f"
  2. Name the file register_arcgis.bat and save it to the following location: <install path of ArcGIS Desktop>\bin\.
  3. Double-click, from Windows Explorer, on <install path of ArcGIS Desktop>\bin\register_arcgis.bat to register the .dlls.