Adam Caudill

Security Leader, Researcher, Developer, Writer, & Photographer

Register ActiveX & TypeLibs

This post was imported from an old blog archive, and predates the creation of AdamCaudill.com.

regactxss

This is just a simple registry modification, just paste this into Notepad (or any plain text editor), save it as register.reg (or anything else so long as it has the .reg extension) then just double-click and you’re done!

REGEDIT4

[HKEY_CLASSES_ROOT\.dll]
@="dllfile"

[HKEY_CLASSES_ROOT\dllfile\Shell]

[HKEY_CLASSES_ROOT\dllfile\Shell\Register]

[HKEY_CLASSES_ROOT\dllfile\Shell\Register\Command]
@="\"REGSVR32.EXE\" \"%1\""

[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister]

[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\Command]
@="\"REGSVR32.EXE\" /u \"%1\""

[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"

[HKEY_CLASSES_ROOT\ocxfile]

[HKEY_CLASSES_ROOT\ocxfile\shell]

[HKEY_CLASSES_ROOT\ocxfile\shell\Register]

[HKEY_CLASSES_ROOT\ocxfile\shell\Register\Command]
@="\"REGSVR32.EXE\" \"%1\""

[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister]

[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\Command]
@="\"REGSVR32.EXE\" /u \"%1\""

[HKEY_CLASSES_ROOT\.tlb]
@="tlbfile"

[HKEY_CLASSES_ROOT\tlbfile]
@="Type Library"

[HKEY_CLASSES_ROOT\tlbfile\shell]

[HKEY_CLASSES_ROOT\tlbfile\shell\Register]

[HKEY_CLASSES_ROOT\tlbfile\shell\Register\Command]
@="\"REGTLIB.EXE\" \"%1\""

[HKEY_CLASSES_ROOT\tlbfile\shell\Unregister]

[HKEY_CLASSES_ROOT\tlbfile\shell\Unregister\Command]
@="\"REGTLIB.EXE\" /u \"%1\""

Adam Caudill