How to add Install CAB item to the Context Menu of Windows 10

CAB or Cabinet files are the packages mostly released by Microsoft and other OEMs as a source of offline installation of Windows Updates and even driver updates. But many users find it difficult to install CAB or Cabinet Files on a Windows 10 computer. Here comes the best option for someone to install Cabinet Files which is using the Context Menus. There are many other ways to do the same, but we will be learning how to add or remove the ‘Install CAB’ option to the Context Menu on Windows 10.

Add Install CAB to the Context Menu

Add Install CAB to the Context Menu

To add this context menu item, we will have to edit the Windows Registry.

Hit the WIN+R button combination to launch the Run utility, type in regedit and hit Enter. Once Registry Editor opens, navigate to the following key-


Check if you find a subkey named as runasIf you do not find it, create it.

Enter the runas subkey.

Double-click on the (Default) string and change its Value data to Install this update.

Also, create a string named as HasLUAShieldDouble-click on it and make sure its Value data is set to be empty.

Now, under the runas subkey, create another subkey named as command.

When you navigate to the command subkey, double click on the (Default) string.

Set the value data to the following,

cmd /k dism /online /add-package /packagepath:"%1"

Reboot your computer for the changes to take effect.

Now, whenever you want to install any Cabinet Files, all you need to do is select the Cabinet file and right click on it.

After that, you will get an option in the Context Menu that says Install CAB.

When you select it, you will be prompted with a UAC or User Account Control Prompt to which you need to select Yes.

It will then open the Command Prompt command line utility and will show you the progress of installing that Cabinet file.

How useful did you find this tip?

Posted by on , in Category Windows with Tags
Ayush has been a Windows enthusiast since the day he got his first PC with Windows 98SE. He is an active Windows Insider since Day 1 and is now a Windows Insider MVP. He has been testing pre-release services on his Windows 10 PC, Lumia, and Android devices.

Leave a Reply

Your email address will not be published. Required fields are marked *

6 + 7 =