Sometimes it is useful to have the ability to re-register Windows DLL files to fix various issues in the operating system. Components of Windows which use COM/OLE/ActiveX servers need to be registered using regsvr32. For some reason, they can get unregistered and then some desktop apps won't work properly unless you register them using the command line. Having commands to register the DLL from the context menu makes this process faster. Here is how it can be done.
If you are interested in knowing for which scenarios you might need to re-register DLL files, take a look at the following article: Fix Windows Update issues in Windows 10 by resetting its options and files. Although Windows comes with troubleshooters and Fix It which handle this automatically, sometimes manual registration is the best way to do it.
To add Register DLL context menu commands for DLL files in Windows 10, you need to apply a simple Registry tweak. For those who would like to avoid manual Registry editing, I made ready-to-use Registry files. You can download those files below (the undo file is included):
If you prefer to apply the tweak manually, you need to do the following:
- Open Registry Editor.
- Go to the following Registry key:
- Create here a new subkey and name it Register
- Under the Register subkey you just add create a new subkey named Command.
You will get the following path:
- Double click the (Default) string parameter of the Command key and enter the following data:
- Return to the subkey HKEY_CLASSES_ROOT\dllfile\shell. Create here Unregister\Command subkeys. You will get the following path:
- Set the default parameter of the Command subkey to the following value:
regsvr32.exe /u \"%1\"
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options: