In/Uninstall dll/activex using right-click

To in/uninstall dlls/activex by right-clicking on the file, do the following:

1. Create a new file with the extension (.reg).
2. Copy and paste the code below in the file and save it.

REGEDIT4
; ActiveX DLLs
[HKEY_CLASSES_ROOT.dll]@=”dllfile”
[HKEY_CLASSES_ROOTdllfileshellregdll]@=”Register ActiveX DLL”
[HKEY_CLASSES_ROOTdllfileshellregdllcommand]@=”regsvr32.exe “%L””
[HKEY_CLASSES_ROOTdllfileshellunregdll]@=”Unregister ActiveX DLL”
[HKEY_CLASSES_ROOTdllfileshellunregdllcommand]@=”regsvr32.exe /u “%L””
; ActiveX Controls
[HKEY_CLASSES_ROOT.ocx]@=”ocxfile”
[HKEY_CLASSES_ROOTocxfileshellregocx]@=”Register OCX Control”
[HKEY_CLASSES_ROOTocxfileshellregocxcommand]@=”regsvr32.exe “%L””
[HKEY_CLASSES_ROOTocxfileshellunregocx]@=”Unregister OCX Control”
[HKEY_CLASSES_ROOTocxfileshellunregocxcommand]@=”regsvr32.exe /u “%L””
; ActiveX EXEs
[HKEY_CLASSES_ROOT.exe]@=”exefile”
[HKEY_CLASSES_ROOTexefileshellregexe]@=”Register ActiveX EXE”
[HKEY_CLASSES_ROOTexefileshellregexecommand]@=””%L” /regserver”
[HKEY_CLASSES_ROOTexefileshellunregexe]@=”Unregister Active EXE”
[HKEY_CLASSES_ROOTexefileshellunregexecommand]@=””%L” /unregserver”

3. Double-click on the file and the message “Are you sure you want to add the information in [path and name of the file you created] to the registry?”. Choose “Yes”.

4. Complete!.

Add a Comment