How to fix error code 191 – UWP apps cannot be installed

  • Some Windows 10 users have reported having problems installing Microsoft Store and UWP apps, including Adobe XD, a UWP app, in recent months.
  • In today’s post, we’ll try to offer a solution to this problem.

The Microsoft Store and UWP apps have been having problems installing in recent months, including Adobe XD, a UWP app. We’ll offer a solution here.

When you try to install a Microsoft Store UWP app on Windows 10, you might get an error code 191. This post will provide you with a solution to fix the problem.

I’m getting this error when trying to build a project after updating to Visual Studio 2019 16.8.0. (I use Lottie Animation in my app. I didn’t make any changes to the manifests etc. Since I installed Microsoft.Toolkit.Uwp.UI.Lottie many months ago, it has been working fine for me.)

It is a brief overview of UWP (Universal Windows Platform) apps, which are apps developed for the Windows Store and Metro style. These apps can be used on PCs, tablets, smartphones, Xbox One, Microsoft HoloLens, and all other Microsoft Windows devices.

Since my PC factory reset a few days ago, I have been experiencing error code:191 when installing Adobe XD through Adobe Creative Cloud. Here is the error log:

This is the basic concept of a UWP app:

  • It is the user’s responsibility to authorize access to UWP apps’ resources and data.
  • All Windows 10 devices will be able to use the same API.
  • User interface can be customized to fit different screen sizes, resolutions, and DPIs.
  • The Microsoft Store offers many ways to earn money for apps that run on Windows 10 devices (or only those you specify).
  • No disruption to your device or damage to your machine is caused by installing and uninstalling this software.
  • This is an interesting way to engage users using dynamic thumbnails, push notifications, and Cortana’s “Pick Up Where I Left Off” feature.
  • A user interface can be created using XAML, HTML, or DirectX. The application can also be programmed in C#, C++, Visual Basic, and Javascript.

 

What is the cause of error 191 ‘Can`t Install UWP Apps’

What is the cause of error 191 'Can`t Install UWP Apps'

The following scenarios are most common causes of error 191:

  1. There are no administrator privileges associated with your login account.
  2. Please refer to the System Requirements section for more information on whether this device is capable of running a UWP (Universal Windows Platform) application.
  3. A UWP package could not be suspended in your Windows installation.

 

To resolve error code 191 ‘Unable to install UWP applications’

Possibly, this will fix Adobe error 191 and 0x80070422, for example: “ERROR: Failed to install UWP Appx Package … OS_Error_Code: 0x80070422#@#OS_Error_String: The service cannot be started due to the fact that it is disabled or does not have enabled devices.”

To resolve error code 191 'Unable to install UWP applications'

Reset Microsoft Store

  1. Open a command prompt by clicking Start, typing cmd, and pressing Enter.
  2. The following command should be typed into the command prompt window.
    ws reset. exe
  3. The Microsoft Store will open once it has been loaded.

Update Microsoft Store

  1. The ellipse menu icon (…) located in the upper right corner of the store should appear when you open it.
  2. Updates and Downloads can be found here.
  3. Towards the top right of the page, click Get Updates.
  4. In addition to the Microsoft Store, all installed apps will be updated when you click this button. Note that you can download UWP apps from the app installer if you wish.
  5. If you have finished updating all apps on your computer, reboot it.

All UWP applications can now be installed without any issues.

FATAL: Error (Code = 191) executing in command ‘AddUWPAppxCommand’ for package: ‘UWPAssets’, version:16.0.2.8
FATAL: Error occurred in install of package (Name: UWPAssets Version: 16.0.2.8). Error code: ‘191’
ERROR: hdhelper exe at C:\Program Files (x86)\Common Files\Adobe\Adobe Desktop Common\HDBox\HDHelper.exe failed to install UWP app with xml
Adobe.CC.XD
C:\adobeTemp\ETRC6FA.tmp\1\SparklerApp\SparklerApp.appx
16.0.2.8
x64
CN=Adobe Systems Incorporated, OU=Adobe Systems, O=Adobe Systems Incorporated, L=San Jose, S=California, C=US, SERIALNUMBER=2748129, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US
adbxd:

 

Website | + posts

Mark Ginter is a tech blogger with a passion for all things gadgets and gizmos. A self-proclaimed "geek", Mark has been blogging about technology for over 15 years. His blog, techquack.com, covers a wide range of topics including new product releases, industry news, and tips and tricks for getting the most out of your devices. If you're looking for someone who can keep you up-to-date with all the latest tech news and developments, then be sure to follow him over at Microsoft.