none
8.1 store apps wont load

    Question

  • I recently updated to windows 8.1 and now nothing in the modern UI will launch. The store app, any of my installed apps, or even the "Change PC Settings" screen will load.  All my apps have a little "x" on the bottom right corner of their tiles.

    1. I have tried the app troubleshooter. It did nothing for me.

    2. I have tried creating a new user, and it had the same issue.

    3. I have tried running "powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml" and got the following error:

    error 0x8007064A: Cannot register the request because the following error was
    encountered while initializing the windows.repositoryExtension extension: The
    configuration data for this product is corrupt. Contact your support personnel.

    4. I have tried running "sfc /scannow" and it tells me everything is fine.

    5. I have made sure all my drivers are up to date and made sure I had all of the windows updates applied.

    I can't do a system refresh because I can't get to the "Change PC Settings" window.

    I can't seem to find any kind of standalone installer for Windows 8.1 anywhere to try doing a fresh load.

    When I review the Application logs I do have this error:

    Activation of app windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel failed with error: This app does not support the contract specified or is not installed. See the Microsoft-Windows-TWinUI/Operational log for additional information.

    ErrorCode -2144927148

    Any ideas on what the next step would be for trouble shooting?

    Saturday, October 19, 2013 11:43 PM

Answers

All replies

  • also, would like to point out that I have tried disabling all my non window startup services in MSConfig and that didn't help. I also tried booting into safe mode and I have the same issues.
    Saturday, October 19, 2013 11:49 PM
  • Try all steps from here (App Troubleshooter, Reg permissions):

    What to do if your Windows 8 Modern App fails to start
    http://blogs.technet.com/b/askperf/archive/2013/10/11/what-to-do-if-your-windows-8-modern-app-fails-to-start.aspx



    "A programmer is just a tool which converts caffeine into code"

    • Proposed as answer by renato zardin Thursday, January 16, 2014 9:44 PM
    Sunday, October 20, 2013 6:27 AM
    Answerer
  • All the permissions seem to be ok. And when I run wsreset I get an error:

    ms-windows-store:PurgeCache The app didn't start.

    Sunday, October 20, 2013 2:08 PM
  • I 'm getting a similar problem, same error message.

    .immersivecontrolpanel failed with error: This app
    does not support the contract

    I did get wsreset.exe to work, and got access to the Store. ( Did you run it elevated?)
    I also ran a powershell script that seemed to help.(I'm trying to find it again)

    I deleted all apps that wouldn't start or that the Store couldn't fix. SO that means all the default Metro apps are gone, and the immersive control panel ones, too. No way to fix that I can find.
    But all the new Store apps work just fine.

    Spent three days getting this far, not interested in starting over rebuilding a dev and gaming environment.


    Rick Hantz


    • Edited by RickHan Monday, October 21, 2013 2:29 AM
    Monday, October 21, 2013 2:28 AM
  • I have literally the exact same issue. I posted it over at answers.microsoft.com:

    http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/all-modern-apps-fail-to-start-after-windows-81/a80793c7-c214-43ec-9ca9-5c758f9ad840

    No help there either.

    Same issue on Superuser.com

    http://superuser.com/questions/662369/i-cant-launch-any-win8-apps-after-upgrading-to-windows-8-1

    Again no help. I definitely feel your pain.


    Monday, October 21, 2013 4:07 AM
  • Yeah I have read all those as well. 0 help. I would be ok with a complete wipe and load... but I can't even figure out how to do that for this machine... This is a good one for sure.
    Monday, October 21, 2013 11:28 AM
  • Yeah I have read all those as well. 0 help. I would be ok with a complete wipe and load... but I can't even figure out how to do that for this machine... This is a good one for sure.

    i saw the post below on another MS Board; maybe it will help you out with getting the .iso download!?!

    How to download the Windows 8.1 ISO using your Windows 8 retail key

    By Ron (WinBeta) on Sunday, Oct 20th, 2013 at 12:05AM

    http://www.winbeta.org/news/how-download-windows-81-iso-using-your-windows-8-retail-key

    • Proposed as answer by Pastelero79 Tuesday, October 22, 2013 5:39 AM
    • Unproposed as answer by Pastelero79 Tuesday, October 22, 2013 5:39 AM
    Monday, October 21, 2013 3:55 PM
  • type or paste the following command:

    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml

    hit Enter.

    Now in that same Administrator Command Prompt type or paste: start "" "ms-windows-store:"

    Voila. Enjoy installing some new Store apps

    After trying all other fixes that I have seen here, this worked. You have to re-register the store.  It is now downloading new copies of the apps that didn't work.  I am awaiting to see if the PC settings app fixes it self, otherwise it will be the only one that isn't cooperating. 

    Best of luck!!

    Tuesday, October 22, 2013 5:43 AM
  • To get the Inbox Metro Apps working, you need to reload their manifests, too.

    Go into Program FIles\WIndowsApps, take ownership, then reload the manifests for all the unworking Inbox apps, they work!.
    Well, OK, the one I tried did. Yay!!!!
    powershell
    -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register
    $Env:ProgramFiles\
    WindowsApps\Microsoft.BingFinance_3.0.1.203_x64__8wekyb3d8bbwe\AppxManifest.xml

    Just the folder name changes, so easy to step through them all.


    Rick Hantz

    Tuesday, October 22, 2013 7:14 AM
  • If you look at number 3 in my original post you will see that I have tried that (and yes from an elevated command prompt). It it gave me the error I posted above.
    Tuesday, October 22, 2013 12:33 PM
  • Tuesday, October 22, 2013 12:37 PM
    Moderator
  • Same exact issue myself, posted over at....

    http://social.technet.microsoft.com/Forums/windows/en-US/6f119828-dd1b-42da-b8b5-c6e6c0d5617c/no-apps-or-windows-store-work-after-upgrading-to-windows-81-enterprise?forum=w8itproinstall

    ...with no helpful responses.  Also cannot get into Change PC settings.

    The thing to enunciate here is that it would seem that the whole store is corrupt or missing even.  We cannot go into the store to even reinstall any other apps, and trying to remove apps via Powershell reveals nothing in terms of installed apps. 

    I refuse to accept having to simply blow everything away and reinstall.  If this sort of thing causes so many issues, then they shouldn't allow upgrading as an option.

    Tuesday, October 22, 2013 2:35 PM
  • Check the permissions as described here (other useful info, too:

    http://blogs.technet.com/b/askperf/archive/2013/10/11/what-to-do-if-your-windows-8-modern-app-fails-to-start.aspx



    Rick Hantz

    Tuesday, October 22, 2013 4:14 PM
  • This Technet article did not work for me.  Can confirm this is not a permissions issue.
    Wednesday, October 23, 2013 11:23 AM
  • Replace WinStore with ImmersiveControlPanel   to get 'Settings' to work.

    Rick Hantz

    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml


    • Edited by RickHan Thursday, October 24, 2013 4:02 PM
    Wednesday, October 23, 2013 8:21 PM
  • Replace WinStore with ImmersiveControlPanel   to get 'Settings' to work.

    Rick Hantz


    "Replace WinStore with ImmersiveControlPanel" where?
    Thursday, October 24, 2013 12:02 PM
  • I've tried everything in this thread and nothing works. As for the powershell command, I tried running it for both store and control panel and got this both times:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE, The packagerepository is corrupted.error -528: Windows cannot process a deployment operation because the packagerepository database encountered an ESENT error. Use the Reset Your PC featureto recover your PC. See the Application event log for messages with ESENT asthe event source for more details. NOTE: For additional information, look for [ActivityId]4f640eff-ceaf-0001-6715-644fafcece01 in the Event Log or use the command line Get-AppxLog -ActivityID 4f640eff-ceaf-0001-6715-644fafcece01At line:1 char:1+ Add-AppxPackage -DisableDevelopmentMode -Register$Env:SystemRoot\ImmersiveContr ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (C:\WINDOWS\Imme...ppxManifest.xml   :String) [Add-AppxPackage], Exception    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageMa   nager.Commands.AddAppxPackageCommand



    Andrés

    Thursday, October 24, 2013 12:37 PM
  • The error code means the package repository is corrupted:

    //
    // MessageId: ERROR_PACKAGE_REPOSITORY_CORRUPTED
    //
    // MessageText:
    //
    // The package repository is corrupted.
    //
    #define ERROR_PACKAGE_REPOSITORY_CORRUPTED 15614L

    You may get this error if the folder referenced by this registry key doesn't exist or is corrupted: HKLM\Software\Microsoft\Windows\CurrentVersion\Appx\PackageRepositoryRoot. To recover from this state, refresh your PC.

    http://msdn.microsoft.com/en-us/library/hh973484%28v=vs.85%29.aspx

    http://davidarodriguez.com/blog/tag/error_package_repository_corrupted/


    "A programmer is just a tool which converts caffeine into code"

    Thursday, October 24, 2013 6:27 PM
    Answerer
  • I have the same issue as the OP. Here are the relevant errors from the event log.

    Trying to start the Store in Microsoft-Windows-TWinUI/Operational:

    Event ID: 8961

    Activation of the app winstore_cw5n1h2txyewy!Windows.Store for the Windows.Protocol contract failed with error: The app didn't start..

    From trying to register the store in Microsoft-Windows-AppXDeploymentServer/Operational:

    Event ID: 404

    error 0x80073CF6: AppX Deployment operation failed. The specific error text for this failure is: error 0x8007064A: Cannot register the request because the following error was encountered while initializing the windows.repositoryExtension extension: The configuration data for this product is corrupt. Contact your support personnel.

    And also, Event ID: 401

    Deployment Register operation on Package winstore_1.0.0.0_neutral_neutral_cw5n1h2txyewy from:  (C:\WINDOWS\WinStore\AppxManifest.xml)  failed with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.

    And also, Event ID: 300

    error 0x8007064A: Cannot register the winstore_cw5n1h2txyewy package due to the following error: The configuration data for this product is corrupt. Contact your support personnel.

    And finally, Event ID: 310

    error 0x8007064A: Cannot register the request because the following error was encountered while initializing the windows.repositoryExtension extension: The configuration data for this product is corrupt. Contact your support personnel.

    Friday, October 25, 2013 12:46 AM
  • I've tried everything in this thread and nothing works. As for the powershell command, I tried running it for both store and control panel and got this both times:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE, The packagerepository is corrupted.error -528: Windows cannot process a deployment operation because the packagerepository database encountered an ESENT error. Use the Reset Your PC featureto recover your PC. See the Application event log for messages with ESENT asthe event source for more details. NOTE: For additional information, look for [ActivityId]4f640eff-ceaf-0001-6715-644fafcece01 in the Event Log or use the command line Get-AppxLog -ActivityID 4f640eff-ceaf-0001-6715-644fafcece01At line:1 char:1+ Add-AppxPackage -DisableDevelopmentMode -Register$Env:SystemRoot\ImmersiveContr ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (C:\WINDOWS\Imme...ppxManifest.xml   :String) [Add-AppxPackage], Exception    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageMa   nager.Commands.AddAppxPackageCommand



    Andrés

    Getting this same error myself. Extremely frustrating and seriously wishing I'd never upgraded to 8.1 right now. Anybody have advice on this error?
    Saturday, October 26, 2013 1:47 AM
  • I got bits and pieces to work on the Metro side, but it was still flaky.

    So I decided to Refresh my system, leaving data files. well, that failed, as Store install didn't put any media on the computer.

    So I fixed that:

    Open
    “This PC” and go to the C drive. There, create a new folder called Win8 (You
    can call it whatever you want, actually. Just remember to replace ‘Win8′ with
    the name you have given it in the steps below).

    Paste the Install.wim file you copied earlier in this folder.(I got mine from MSDN, but there are other ways.)

    reagentc.exe  /setosimage /path C:\Win8 /target c:\Windows /Index 1

    From
    <http://www.neowin.net/forum/topic/1183043-caution-you-may-lose-resetrefresh-if-you-upgrade-to-windows-81/>

    The Refresh made it to the end, but ultimately didn't complete all the steps, since I had some programs installed on my D:\Program Files folder.

    But it did totally fix my Metro Apps. And since the last step was to uninstall all my Programs, well, I'm glad that failed. Although, I expect a Refresh to complete on normal systems.



    Rick Hantz


    • Edited by RickHan Saturday, October 26, 2013 3:02 AM
    Saturday, October 26, 2013 3:01 AM
  • I had the same problem.  Was finally able to open Store after following this and able to re download the missing apps.

    Posted by 

    Luis Cantero

    • Sometimes, after upgrading to Windows 8.1, the Store App may not start.
    • It might still show the number of available updates on the Live Tile.
    • Starting the app may show a progress ring but it may not finish loading.

     

    • To fix this, run the following in a Command Window (CMD) to re-register the Store App:

    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.XML


     

    • To fix three other system apps such as PC Settings, run the following:

    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\camera\AppxManifest.xml

    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\FileManager\AppxManifest.xml

    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml

    Saturday, November 09, 2013 3:04 AM
  • I've tried all those, still get:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE, The package repository is corrupted.

    :(


    Andrés

    Saturday, November 09, 2013 3:11 AM
  • Same, cannot redeploy the app store using the AppManifest method because it returns the same corrupted  package repository error.  So far, nothing has helped in fixing this issue.
    Saturday, November 09, 2013 5:11 PM
  • If nothing else works, you need to do a Refresh.

    As most of us did install the upgrade from the Store, Refresh won't work without getting a copy of the source (usually named install.wim), copying it to an accessible drive, then running a cmd line to point the OS to where it is. Yes, you will need to reinstall your apps, but your data and configs are preserved. Bing or Google it.

    My 8.1 is now is now working correctly.


    Rick Hantz

    Saturday, November 09, 2013 7:56 PM
  • I wanted to do that, but since the immersive control panel is inaccessible because of this very problem, I couldn't. Is there a way to do it from the command line?

    Andrés

    Saturday, November 09, 2013 8:22 PM
  • Me too, PC Settings is needed to refresh the operating system, which is a "metro" app, which is also not functioning. 

    I downloaded the Windows 8.1 ISO from MSDN and attempted to boot from it to perform a refresh that way.   Unsurprisingly the refresh failed at 1% and said that it encountered a problem and that no files were changed.  Attempted this 4 times with the same result.

    Saturday, November 09, 2013 8:57 PM
  • Having the same problem.  I setup 2 accounts before upgraded to 8.1.  They are working ok.  

    After upgrading to 8.1, any account I setup is showing all apps with the x mark.  Even the store.  

    Spent 3 hours with HP for support, since it's a new computer.  They tried everything.  Couldn't fix it.  Now they want me to reset and go back to 8.0.  What a waste of time.  

    If 8.1 is not ready yet, why did Microsoft release it?  Something as basic as a Metro apps not installing is just appalling.  

    And this is a new HP laptop.  When I was younger, I had time to fiddle around with this kind of stuff.  Now, I just want stuff to work.  This may force me to go buy the  MAC.  

    BTW, already tried all options, like troublshooter, etc..  
    Monday, November 11, 2013 12:10 AM
  • Quoting Rick Hantz from above

    Replace WinStore with ImmersiveControlPanel   to get 'Settings' to work.
    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml

    Thank you!

    This got my PC Settings working again.

    Saved me a brutal reinstall, my appreciation and regards.


    • Edited by JTMCG Sunday, November 17, 2013 9:18 PM
    Sunday, November 17, 2013 6:45 PM
  • Use this cmd line to point to the install.wim, then do a Refresh. Assumes the .wim is in C:\Win8

    reagentc.exe  /setosimage /path C:\Win8 /target c:\Windows /Index 1


    Rick Hantz

    Tuesday, November 19, 2013 3:42 AM
  • The PowerShell method does not work for me, I receive a message of:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could
    not be registered.
    error 0x8007064A: Cannot register the request because the following error was
    encountered while initializing the windows.repositoryExtension extension: The
    configuration data for this product is corrupt. Contact your support personnel.

    Tuesday, November 19, 2013 1:35 PM
  • Guys, i've FINALLY found an answer to how to get this to work again, (courtesy of andy562)!  Andrés this may work for you too. 

    The following finally fixed all issues for me (Store and all apps broken with black X, can't access PC Settings):

    A.) Fixing the app store:

    1. Open registry editor typing regedit.exe from a command line.
    2. Browse to the registry key at HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel\repository\packages.
    3. Right click on the “packages” key and bring up the “Permissions” tab.
    4. Click the “Advanced” button located at the bottom right corner.
    5. Check to see the account name that shows up as the “Owner” (this is the first line of text on the “advanced security settings” dialog for the “packages” key). It should say “SYSTEM”.  (For me this showed the built-in local Administrators group)
    6. If it is any other account, click on the “Change” button next to it.
    7. Type SYSTEM in the “select user” dialog. If “Multiple Names Found” window comes up, select the row for “SYSTEM”.
    8. Click OK to the dialogs and close them all.
    9. Run from admin command prompt:     Powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml

    B.) Fixing all modern apps:

    1. Run from admin PowerShell:

    ((Get-ChildItem "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications") | Get-ItemProperty).Path | Add-AppxPackage -Register -DisableDevelopmentMode

        * When I ran this the black X persisted until after the next step and reboot.  But trying to start an app gives me a new message and a link to the store.

    C.) Fixing 3rd party apps:

    1. Delete the regkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\[UserSID] 

              You can find your SID by going to an elevated command prompt and typing

                            wmic useraccount get name,sid

    D.) Restart.  After a reboot the apps still showed the black X for a minute or so, but it soon cleared up on its own and all apps seemed to be working again.  I was also able to update the apps from the app store once signing in with a Microsoft account.  Finally, I am again able to get into PC Settings.


    • Proposed as answer by Morinar Thursday, November 21, 2013 3:28 AM
    Wednesday, November 20, 2013 11:17 PM
  • You had me going there for a moment, but sadly, I couldn't get past step A 2.

    HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel\repository\packages

    I don't have that registry setting. It only gets as far as:

    HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel\

    And the only thing inside appmodel is systemappdata


    Tried step B anyway and all fail with the same old message:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE, The package
    repository is corrupted.
    error -528: Windows cannot process a deployment operation because the package
    repository database encountered an ESENT error. Use the Reset Your PC feature
    to recover your PC. See the Application event log for messages with ESENT as
    the event source for more details.

    I can try C though and if that works at all, I will report back after a restart.

    Thanks for your help!




    Andrés

    Thursday, November 21, 2013 12:04 AM
  • Shoot, I thought for sure that would help you too.  The thing is, there is nothing in the packages key for me so you may be able to simply create those registry settings to get this to work?  So under packages, make a new key of currentversion, and under that make a new key of appmodel.  Just make sure that the owner is SYSTEM.

    Hope this helps!

    Thursday, November 21, 2013 12:33 AM
  • Yes, I tried that as well, and still get the bad old message @ step 9:


    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE, The package
    repository is corrupted.
    error -528: Windows cannot process a deployment operation because the package
    repository database encountered an ESENT error. Use the Reset Your PC feature
    to recover your PC. See the Application event log for messages with ESENT as
    the event source for more details.
    NOTE: For additional information, look for [ActivityId]
    8202cac4-e64d-0000-3bcb-02824de6ce01 in the Event Log or use the command line
    Get-AppxLog -ActivityID 8202cac4-e64d-0000-3bcb-02824de6ce01
    At line:1 char:1
    + Add-AppxPackage -DisableDevelopmentMode -Register
    $Env:SystemRoot\WinStore\AppxM ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : NotSpecified: (C:\WINDOWS\WinStore\AppxManifest.
       xml:String) [Add-AppxPackage], Exception
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageMa
       nager.Commands.AddAppxPackageCommand

    I'm no psychic but I foresee a clean reinstall in my future :)

    Thanks again for your help!!



    Andrés

    Thursday, November 21, 2013 12:51 AM
  • @arthesing - You are officially my hero. I've also had this problem for a full month now and your solution 100% worked for me. Sorry it didn't help the OP, but I'm just so happy to finally have something that works. Kudos!
    Thursday, November 21, 2013 3:27 AM
  • I tried everything in all the replies of this post and many other post. Basically, it came down to my repository was corrupt. Whenever I tried executing the powershell commands to register the apps I kept on getting "Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE, The package repository is corrupted. [blah blah blah]".

    Somewhere along the lines I came across a post that mentioned this registry key must be present: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\PackageRepositoryRoot

    Pointing to: C:\ProgramData\Microsoft\Windows\AppRepository

    I was frustrated, madly hitting my WTF button repeatedly.  In great despair, since it was corrupt anyway, I decided to do some house cleaning. I took ownership of the folder deleted the XML files within and rebooted.

    Magically, all my apps, the store and pc settings apps started to function again.

    I do not know the full ramifications of taking ownership of that folder, I suspect little since TrustedInstaller still has full control permissions.

    In short for those getting "Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE"

    1. Take ownsership of: C:\ProgramData\Microsoft\Windows\AppRepository
    2. Delete the XML files within (see suggestion below from Windanced)
    3. Restart
    4. Grab a beer and smile!

    Hope this helps!

    Update 12/19/2013:

    PS: Windanced, on November 26, has suggested: "DELETE 'PackageRepository.edb'. You should also delete the edb.log andedb(numberxxx).log files." This is less reckless than deleting all the files within the folder. I would highly suggest you try his variation.


    • Proposed as answer by xal1983 Thursday, November 21, 2013 4:30 AM
    • Edited by jerzflow Friday, December 20, 2013 4:12 AM props to windanced
    Thursday, November 21, 2013 3:44 AM
  • Wow! Just WOW! jerzflow has nailed it!

    After doing that and rebooting the "X" on the corner of the tiles went away. They still didn't run though, but running the powershell scripts arthesing proposed finally tied it all together.

    Now, there are some that still don't start but I don't care about those... And some that failed but offered me to fix it through the store, which reinstalled them and brought them back to life.

    The main thing is that now I have the store and pcsettings back online and can use the stuff I need.

    Somebody put all this in that appsdiag tool for crying out loud!

    Thanks a lot to everybody!

    Now I'll go see about grabbing that beer :)


    Andrés

    Thursday, November 21, 2013 4:30 AM
  • Replace WinStore with ImmersiveControlPanel   to get 'Settings' to work.

    Rick Hantz

    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml


    you are the man!

    finally Win8.1 with Apps & PC Settings ~ without having to do a Refresh or Re-Install!!!

    i did have to do some finagling with my Apps to get them all working! Had to open (then they closed immediately) then uninstalled then re-installed, each one, one at a time!  

    Thursday, November 21, 2013 4:15 PM
  • As 'jerzflow' started, "I tried everything in all the replies of this post and many other post. Basically, it came down to my repository was corrupt." And that's how many of us came to find this post. Reading what jerzflow suggested about taking ownership of "C:\ProgramData\Microsoft\Windows\AppRepository" was something I had already done along with deleting the edb.log and similar edb(numberxxx).log files, and no XML files, and that had not worked.

    At this point, having a legal product key,I decided to get an iso of Windows 8.1 soon and refresh since my recovery environment is not accessible. However, jerflow's next line, "in great despair, since it was corrupt anyway, I decided to do some house cleaning" inspired me to do something desperate, and I had the same kind of magic, IT WORKS now! Instead of deleting any XML files because I didn't know which ones, and not really having a clue, I deleted the "PackageRepository.edb" thinking that maybe it is the corrupted database.

    So, THIS IS FOR anyone getting "Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFE" after trying the various powershell command fixes, and you feel desperate and frustrated! Make sure you have tried the simple things like being logged on to a windows account and having the right system requirements etc (although I doubt you would be here if you had not already tired everything else...). Anyway, here is what I did.

    1. Take ownership of: C:\ProgramData\Microsoft\Windows\AppRepository (There are tutorials all over the place on how to do this if needed.)
    2. Delete "PackageRepository.edb". You should also delete the edb.log and edb(numberxxx).log files. (I did NOT delete any XML files because I have so many unrelated ones in that folder).
    3. Reboot. I was definitely smiling after the reboot! The store and all apps, pcsettings, windows updates etc, all work. I didn't have to uninstall/reinstall apps. I didn't have to rerun the powershell scripts or do anything else. PackageRepository.edb recreates itself along with the log file. (I think that edb.chk has something to do with 'checking' it so don't delete that one.)
    4. Basically, for me, it was as simple as taking ownership of the AppRepository and deleting PackageRepository.edb and related log files. (The difference between jerzflow and me is that I didn't delete any XML files and instead went to what I think is the heart of the matter, the corrupted repository.)

    This is the first time in my many years of computing that I actually took a risk that worked so that others won't have to feel they are risking. Wish you the best!

    • Edited by Windanced Tuesday, November 26, 2013 11:06 PM
    • Proposed as answer by jkss36 Thursday, May 08, 2014 3:32 AM
    Tuesday, November 26, 2013 11:03 PM
  • Hi

    After I tried evrything as the thread said, my apps still will not work, my pc settings, store and internet explorer is ok, but window live apps and apex app stil have cross on them, and when clicked, it will give a solid colour screen.

    However if when i create new user acct, it work normally. How can I solve this problem?

    • Proposed as answer by Shafiqah Hadirah Thursday, December 12, 2013 3:43 PM
    • Unproposed as answer by Launchpad Thursday, December 12, 2013 6:16 PM
    Sunday, December 01, 2013 6:36 AM
  • can you make a video tutorial for this step? because i having a trouble to Understand the step ... i have try for a many time, but it's looks like i do the wrong steps .. so i need your help to make a video for this .... i hope u can do it for me ... please
    Wednesday, December 11, 2013 5:17 PM
  • after i hit enter i cant paste any thing in the same adminsrator command prompt what to do after i copy the first suntence and hit enter?

    Friday, December 13, 2013 12:49 AM
  • still same ... cannot run
    Friday, December 13, 2013 7:55 AM
  • This works...thanks so much...after an upgrade to  8.1 on an hp envy i couldnt get to the store to install apps, Windows 8 telling me to do a refresh etc which basically means installing all my win8 apps and desktop ones...deleted those files you mentioned in your post and also ran ccleaner for the temporary files and the registry.....now my question is how can MS sincerely release software that does this....

    Anyway thanks again...

    • Proposed as answer by xeon2k Monday, February 10, 2014 2:32 PM
    • Unproposed as answer by xeon2k Monday, February 10, 2014 2:32 PM
    Saturday, January 04, 2014 5:40 PM
  • When I looked at the event log I could see the following message

    svchost (6260) Instance: Error -1811 (0xfffff8ed) occurred while opening logfile C:\ProgramData\Microsoft\Windows\AppRepository\edb0002C.log


    The log file was under the control of System owner. I moved the control under my account. 

    Then I moved the file to some place other than the app repository

    I did this for whatever log file windows event log was showing..

    After that I ran the command 

    C:\WINDOWS\system32>Powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml

    Everything worked perfectly :)

    Monday, February 10, 2014 2:35 PM
  • Salaam

    Thank you so much for your work and thoughtfulness of sharing.  After spending about 4 hours of searching and trying numerous suggestions I finally came across your post.  This finally corrected everything for me. 

    Friday, February 21, 2014 8:20 PM
  • I'd been going crazy with this issue, and tried everything in probably 20 different posts - this solved it perfectly. 

    I had the problem from an upgrade from Win 7, did a full refresh, tried removing every patch in the system, refreshed again, then forced an update to 8.1 (downloaded ISO files).  Thanks a million for this helpful post to you and Andy562.

    Wednesday, March 19, 2014 11:32 PM
  • I couldn't find the packagerepository.edb file so I deleted all the .log files instead. Afterwards I did this in CMD

     powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml

    which I already did earlier but it said that the package was corrupted but after deleting the .log files it worked! Now I can access my settings! Thankssss!!!

    Thursday, May 08, 2014 3:35 AM
  • I bought two brand new identical laptops with win 8.1 loaded and both had the same issue right out of the box. Have tried everything I can find to fix including refresh. That worked for about a day then it restarted not working again. Microsoft tech folks mess around with it for about an hour when I can get through then they have you run reset and run updates, ONE AT A TIME REBOOTING BETWEEN EACH to get you off the phone and it still does not work.  This is not funny any more, I still get application didn't run and access denied errors every time I  try and run metro apps or store after trying something new. When I go to the web and try to run the store, it trys to run the local copy and blows off.
    Monday, May 19, 2014 7:16 AM
  • Finest! Thanks a lot! It works! You´re awsome! I´m Gerson from Brazil!
    Monday, June 23, 2014 1:40 PM
  • This is NOT an answer. Microsoft needs to recall 8.1 or push down some updates to correct this problem. Too many people I know can't or won't follow those steps.
    Saturday, June 28, 2014 5:00 PM
  • Deletion of C:\ProgramData\Microsoft\Windows\PackageRepository.edb worked for me. Thanks!
    • Proposed as answer by amirsys Saturday, July 26, 2014 8:54 PM
    Monday, June 30, 2014 7:34 AM
  • Thanks works for me.
    Saturday, July 26, 2014 8:54 PM
  • Check your network connection, if you have google DNS server try remove it or put your gateway IP. I had this problem before but after I remove google DNS server (8.8.8.8) and I changed it to my router IP it fix the problem and windows store started.
    Sunday, July 27, 2014 4:49 AM
  • I know this is a very old post, however, I'm posting this for anyone that might've stumbled onto this forum. The only solution that has worked for is the recimg.exe command. I've tried everything! Only using recimg.exe was I able to finally fix Windows 8.1

    I strongly advise reading this: Search for KB 2748351 on the Microsoft support site.

    What's good about recimg.exe is that it goes beyond doing a Refresh. It actually keeps your programs unlike Refresh.

    Wednesday, July 30, 2014 7:26 PM
  • Thank you - after much searching I came across your post about recimg.exe  Finally, a solution that worked well - thank you. Previously I'd not been able to open the windows store or many of the metro apps. All seem to work ok now. Thanks!
    Tuesday, August 26, 2014 11:17 PM
  • T H A N K   Y O U akhnenaton.  After months of searching and doing this and doing that, cmd line entries, regedit entries, deleting logs, etc etc THIS FIXED IT!!!   yippee  Man, it was easy too, just follow KB2748351 to the letter, which was super easy, and when I went to try the refresh, BINGO it refreshed and put just about everything back just how it was.  Store works, apps work, thank you thank you thank you!
    Saturday, September 20, 2014 8:47 PM