What is lacking in the IT industry

https://www.1e.com/blogs/2017/01/30/what-is-lacking-in-the-it-industry/

Cross post!

Advertisements

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