Register the DLL files in the ArcGIS Desktop \bin directory

Last Published: April 25, 2020


Instructions provided describe how to register the DLL files 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 the fileĀ from Windows Explorer to register the .dlls in the \bin folder.

Article ID:000002020

  • ArcMap 8 x
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic