Register ActiveX Files Using the Mouse

Register ActiveX Files Using the Mouse

Do you find yourself constantly registering and unregistering ActiveX .exe, .dll, .ocx, or .olb files? This script allows you to do so with just a mouse click. Here’s how to use it:

  1. Open Notepad.
  2. Paste the following code into Notepad:
    REGEDIT4[HKEY_CLASSES_ROOT.exe]@="exefile"[HKEY_CLASSES_ROOT.dll]@="dllfile"[HKEY_CLASSES_ROOT.ocx]@="ocxfile"[HKEY_CLASSES_ROOT.olb]@="olbfile"[HKEY_CLASSES_ROOTexefileshellRegistercommand]@="%1 /register"[HKEY_CLASSES_ROOTdllfileshellRegistercommand]@="regsvr32.exe %1"[HKEY_CLASSES_ROOTocxfileshellRegistercommand]@="regsvr32.exe %1"[HKEY_CLASSES_ROOTolbfileshellRegistercommand]@="regsvr32.exe %1"[HKEY_CLASSES_ROOTdllfileshellSilent Registercommand]@="regsvr32.exe /s %1"[HKEY_CLASSES_ROOTocxfileshellSilent Registercommand]@="regsvr32.exe /s %1"[HKEY_CLASSES_ROOTolbfileshellSilent Registercommand]@="regsvr32.exe /s %1"[HKEY_CLASSES_ROOTexefileshellUnRegistercommand]@="%1 /unregister"[HKEY_CLASSES_ROOTdllfileshellUnRegistercommand]@="regsvr32.exe /u %1"[HKEY_CLASSES_ROOTocxfileshellUnRegistercommand]@="regsvr32.exe /u %1"[HKEY_CLASSES_ROOTolbfileshellUnRegistercommand]@="regsvr32.exe /u %1"[HKEY_CLASSES_ROOTdllfileshellSilent UnRegistercommand]@="regsvr32.exe /u /s %1"[HKEY_CLASSES_ROOTocxfileshellSilent UnRegistercommand]@="regsvr32.exe /u /s %1"[HKEY_CLASSES_ROOTolbfileshellSilent UnRegistercommand]@="regsvr32.exe /u /s %1"
  3. Save the file as register.reg.
  4. Right click on register.reg and select Merge from the context menu. Alternatively, you can run regedit and import the file.

After merging the script, you should be able to right click on any .exe, .dll, .ocx, or .olb file and see a list of register and unregister options.

Note: Make sure that regsvr32.exe is in your path or the menu commands will fail.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved