How to add registration DLL option in Win10 right-click menu?

  
Win7/Win8.1/Win10, dynamic link library file DLL often plays a vital role, many size problems are caused by DLL registration failure or related problems. Components that use COM/OLE/ActiveX services usually need to register with regsvr32. If there is a more convenient way to perform the registration process, the related issues will be easily resolved.

Generally speaking, adding the "register/anti-register DLL" function in the Windows 10 right-click menu is quite feasible. However, the operation may be more troublesome than the previous article, but it is not difficult. Since some friends joked that we are "the home of the registry", we can not live up to expectations, this operation is also inseparable from the registry, so it is still an old saying, it is best to use the soft media Rubik's cleanup master to back up the registry, In order to avoid the trouble of misuse, it is not easy to solve.
Detailed tutorial:
1, after entering regedit in the Cortana search bar, press Enter to enter the registry editor
2, navigate to: HKEY_CLASSES_ROOTdllfileshell
3, right click on the shell, create a new one Item, named ""registered DLL" (the name can be customized)
4, right click "register DLL", create a new item, name it Command

5, click Command, in On the right, find the “ (default) & rdquo; button, double-click to open, enter the following in the numeric data and click “ OK & rdquo;: regsvr32.exe "%1"
6, back to HKEY_CLASSES_ROOTdllfileshell
7, In the way of steps 3 and 4, right click on the shell, create a new “ anti-registration DLL" (the name can be customized) item, and then right click on “ anti-registration DLL”, create a new Command item.

8. Click Command, find the “(default)” key on the right and double-click, enter the following in the numeric data and click “OK”:regsvr32.exe /u "%1" ;
Agreed. Now the right-click menu should have the "DLL registration /anti-registration" item. The above method is also applicable to the registration of OCX files, just change "HKEY_CLASSES_ROOTdllfileshell" to "HKEY_CLASSES_ROOTocxfileshell". However, this operation is still a little troublesome, and the utility of the soft media Rubik's setting master can add the above functions more easily, and is more professional and efficient.
































For the same reason, check "" (reverse) registration OCX” can also achieve registration of OCX files. This method is also applicable to Windows 7/Windows 8.1 systems.

Copyright © Windows knowledge All Rights Reserved