Troubleshooting instructions for error code 191 when installing XD on Windows.

Error details

2 fatal error(s), 2 error(s), 0 warnings(s)

FATAL: Error (Code = 191) executing in command 'AddUWPAppxCommand' for package: 'UWPAssets', version:
FATAL: Error occurred in install of package (Name: UWPAssets Version: 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
with error code 1
ERROR: Failed to install UWP Appx Package

Root cause

This error occurs either due to the lack of administrator privileges on your computer login account when installing XD, or if the machine environment does not meet the requirements to install a Universal Windows Platform (UWP) app.


Sequentially work through the following solutions and proceed to the next solution if necessary.

Solution 1- Update Microsoft store

  1. Type Microsoft Store in Windows search.
  2. Select the 3-dotted icon in the upper-right corner.
  3. Choose Downloads and updates.
  4. Click Get updates in the upper-right corner. Clicking this button updates Microsoft Store along with other installed apps.
  5. Try to install XD.

You can also refer to

Solution 2- Change your user account as an administrator account

  1. Press Windows + keys on your keyboard.
  2. Type netplwiz and click OK.
  3. Click the Users tab.
  4. Select the account you want to change within Users for this computer.
  5. Click Properties.
  6. Select Administrator as user account type within the Group Membership tab.
  7. Click Apply and OK.
  8. Try to install XD.

Solution 3- Enable sideloading on Windows

Adobe XD is a UWP app which is not installed from Microsoft Store. Hence sideloading should be enabled on your machine. To enable sideloading:

  1. Click the Windows icon in the lower-left corner of the desktop and select Settings.
  2. In the Settings window, search for For developers settings window.
  3. Within For developers settings window, select Sideload Apps.
  4. Try to install XD.


If you are in an IT-managed environment, contact your IT team to enable sideloading on your machine.

Solution 4- Acquire developer license for Windows

  1. Refer to the following link to acquire a developer license for your Windows machine:
  2. Try to install XD.


If you are in an IT-managed environment, contact your IT team to acquire developer license.

Solution 5- Unblock XD from Applocker

  1. AppLocker helps IT-managed organizations to control the apps and files which users run. Reach out to your IT support to check if they have placed any restrictions on UWP apps or Microsoft Store apps. You can also refer to
  2. Try to install XD.

Solution 6- Enable Windows firewall

  1. Enable Windows firewall if it is disabled. To enable Windows firewall, follow these instructions:
  2. Try to install XD.

Solution 7- Reset Microsoft store

To fix issues related to Microsoft Store, follow these steps:

  1. Type cmd in Windows search to open the command prompt window.
  2. In the command prompt window, type wsreset.exe and press Enter.
  3. Wait for Microsoft Store to launch.
  4. Try to install XD from the Creative Cloud Desktop app.

Solution 8- Correct Windows registry keys

  1. Type regedit in Windows search.
  2. Navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx and change the value of AllowAllTrustedApps to 1.
  3. Try to install XD.

Solution 9- Uninstall higher or prerelease versions of XD

Check if there is a higher or prerelease version of XD already installed. If yes, uninstall it by following the steps below:

  1. Click the Windows icon in the lower-left corner of the desktop.
  2. Look for Adobe XD in the list of installed software.
  3. Right click XD and select uninstall.
  4. Try to install XD.

Solution 10- Correct the permissions on XD folders

1. Make sure that you have read and write access on the following folders:
  • C:\Windows\temp
  • C:\Program Files\ WindowsApp
  • C:\Users\<User Name>\AppData\Local\Temp
  • C:\Users\<User Name>\AppData\Local\Packages

2.  Try to install XD.

Solution 11- Reset or format Windows

  1. If none of the above mentioned steps works, format or reset Windows. For more information, refer to the link:
  2. Try to install XD.


Back up your machine data before you perform reset.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy