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

  
In Win7/Win8.1/Win10, the dynamic link library file DLL often plays a crucial 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.

general, adding "register /unregister DLL" function is quite feasible in Windows10 context menu. 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, so as not to be mistaken The trouble of operation is not easy to solve.
Detailed Tutorial:
1. After entering regedit in the Cortana search bar, press Enter to enter the Registry Editor
2. Locate: HKEY_CLASSES_ROOTdllfileshell
3. Right click on the shell and create a new one. item, named "registration DLL" (the name can be customized)
4, right-click "registration DLL", a new item named Command

5, click Command, found on the right "(Default)" key, double-click to open, enter the following in the value data and click "OK": regsvr32.exe "%1"
6. Back to HKEY_CLASSES_ROOTdllfileshell
7. Follow steps 3 and 4. In this way, right-click on the shell, create a new "anti-registration DLL" (the name can be customized), and then right-click "anti-registration DLL" to create a new Command item.

8, click Command, to find the right "(default)" key and double-click, enter the following in the Value data and click "OK": regsvr32.exe /u "% 1"
done . 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.

Copyright © Windows knowledge All Rights Reserved