Windows Store Install Error 0x803F8001

While playing around with the most recent Windows Insider build I ran into an application that was receiving the 0x803F8001 Error.  Ironically, I have not been able to find exact error code in online documentation.  Instead I am going to write a short summary of methods to work with the Windows Store to resolve a multitude of issues including this one.

store-feedback-install-error-0x803f8001

Windows EventViewer Error Details

Fault bucket , type 0
Event Name: StoreAgentAcquireLicenseFailure1
Response: Not available
Cab Id: 0

Problem signature:
P1: Update;Microsoft.WindowsStore_8wekyb3d8bbwe
P2: 803f8001
P3: 14393
P4: 576
P5: Windows.Desktop
P6: N
P7: 
P8: 
P9: 
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\NonCritical_Update;Microsoft_c92bdd60e6ccf0dc89ec13246a78b39b61a9bae_00000000_45ca645c

Analysis symbol: 
Rechecking for solution: 0
Report Id: 73e2874a-d67b-11e6-9ae3-e4b318276f42
Report Status: 4100
Hashed bucket:

Ahh, StoreAgentAcquireLicenseFailure1.  Access denied or Corrupt files.  Interesting.  Lets dig further!

Windows Store TroubleShooter

https://support.microsoft.com/en-us/instantanswers/69e76f90-d54c-44cf-9851-c2d1542790db/run-the-troubleshooter-for-windows-apps 

No Joy but it did do things… what are those things?

Reset the Windows Store

  1. Open Administrator Command Prompt
    1. Winkey + X
    2. Command Prompt (Admin)
  2. WSReset.exe
    1. Resets the Windows Store (will close and reopen the Windows Store)

No Joy but now I feel better!

Register the Catalog Manifest again

Run the following from a Admin Command Prompt (see above on how to open one)

PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.Windows
Store).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

Just a note, this won’t work if the store is open.  So close the store 🙂

Error if Store is Open

Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
modifies are currently in use.
error 0x80004004: Unable to install because the following apps need to be closed
Microsoft.WindowsStore_8wekyb3d8bbwe!App.
NOTE: For additional information, look for [ActivityId] 35681ba7-696a-0003-86d6-69356a69d201 in the Event Log or use
the command line Get-AppxLog -ActivityID 35681ba7-696a-0003-86d6-69356a69d201
At line:1 char:97
+ ... fest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manife ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 + CategoryInfo : NotSpecified: (C:\Program File...ppxManifest.xml:String) [Add-AppxPackage], Exception
 + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Ironically the steps above did not resolve the issue in question.  What did?

Fix: Uninstall and Reinstall

Uninstall the app from the start menu.  By right click and uninstall

store-unistall-feedback

Open the store and go shop for the app again.

Be aware, this was a minor application but an app with lots of configuration files will all be reset to default.

So what is actually broken?

This leads me to believe there is a corrupted install somewhere in your local user profile.

C:\Users\shaun.cassells\AppData\Local\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe\LocalCache

That means it is either a stuck transfer via BITS or Corrupted access on the local device.  Why am I leaning towards access?  Because the app still opens and runs fine but I cannot update it.

I am going to keep looking for a direct definition of the error code and the access denied issue

 

Advertisements

Author: shauncassells

Shaun Cassells, Senior Solutions Engineer, 1E Shaun is a Microsoft MVP Windows Insider MVP and executive at Central Texas Systems Management User Group (CTSMUG). Shaun is a frequent speaker at conferences like MMS, Gartner, TechEd Europe, TechEd North America, IT Dev Connections, System Center Rallies, and Systems Management User Groups (SMUGs). Shaun is an award winning blogger syndicated from www.shauncassells.com. Shaun specializes in analysis, optimization, and design of Tactical Solutions to Strategic Business Goals. Prior to joining 1E in 2010, he worked for a Global 100 company as the Configuration Manager Service Owner and Architect. Recently as a Principle Consultant at 1E, he accomplished design, review, and improvements to a variety of Configuration Manager environments from the very small to sites with a half million seats. He provided leadership that created a patented automated application rationalization and usage based OSD mapping solution in use by multiple fortune 500 companies. These days you can find Shaun traveling to help discover, review, and improve business productivity across the world.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s