Many users find it hard to install updates from the command line which come in the form of CAB files. They prefer a context menu to install *.cab updates directly with one click. It is easy to achieve this with a simple Registry tweak Here is how it can be done.
Some Windows 10 updates are redistributed in the CAB archive format. For example, cumulative updates released for Windows 10 are CAB files. The recently released Windows 10 build 14393.3 is a good example (see the direct links section).
To add an "Install" command to the context menu of CAB files in Windows 10, you need to do the following.
- Open Registry Editor.
- Go to the following Registry key:
Tip: You can access any desired Registry key with one click.
- Create a new subkey here named "runas". You will get
- Under the runas subkey, set the (Default) value's data to "Install this update":
- Under the runas subkey, create a new string value named HasLUAShield. Don't set its value data, leave it empty. This value is only required to add the UAC icon to the context menu item you are creating. You should get it as follows:
- Under the runas subkey, create a new subkey called "command". You will get the following path:
cmd /k dism /online /add-package /packagepath:"%1"
If you click "Yes", it will open a new command prompt window and install the update you selected in File Explorer. It will remain opened until you close it, so you will not miss any notification which appear from the setup package. Also, see the following article: How to install CAB and MSU updates in Windows 10.
You are done. To undo this change, delete the mentioned "runas" subkey.
To save your time, you can use Winaero Tweaker:
It will provide the same functionality with one click. Get it here: Winaero Tweaker.
I prepared ready to use Registry files which you can open to merge them into the Registry. You can download them here:
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!