Windows

regsvr32

CautionRegister COM components

regsvr32 <file.dll>

Registers/unregisters COM DLLs — still the fix for legacy apps' missing-component errors.

Examples

  • regsvr32 /s vendor.ocxRegister silently

Syntax

regsvr32 [/u] [/s] <dll/ocx>

Before you run it

Never register untrusted DLLs.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store