Registering and unregistering .DLL files

  • Article ID: 14343
  • Rating:
  • 59 customers rated this article 4.7 out of 6
  • Updated: 29 Jan 2014

As a workaround to a problem you may need to register, or unregister, a .DLL (or other) file. To do this, run the Windows program regsvr32 at a command prompt, or from Start | Run.

Applies to the following Sophos product(s) and version(s)

Not product specific

What To Do

From the desktop, on the taskbar, select Start | Run | Type: cmd.exe | Press return.

Important: For Windows Vista and higher you must run the command prompt as 'an administrator'.  On Windows 8 (for example) go to the Start screen, simply type 'cmd' to search for the app, right-click the app returned and select 'Run as administrator' at the bottom of the screen.  Example:

 

A command prompt opens. You should either use 'CD' to change to the relevant directory (folder), or enter the full path to the file.

Registering a file

To register (or re-register) a file, type:

regsvr32 <filename>.dll

or

regsvr32 <path>\<filename>.dll

where <path> is the path to the file, and <filename> is the name of the file.

Unregistering a file

To unregister a file, type:

regsvr32 -u <filename>.dll

or

regsvr32 -u <path>\<filename>.dll

where <path> is the path to the file, and <filename> is the name of the file.

Microsoft resources

For details, see:


 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments