Windows Store can't install any application with Error code: 0x8007002












0















Before some-time my metro-apps stopped running - whatever I start one it then immediately closes. I then uninstalled all user-apps and was able to fix the system ones - as store, metro control panel and camera using this guide. But now I can't install any user-application from the store always giving me the error "This app can't be installed - 0x8007002". I figured out that this have something to do with the application deployment as I have debugged an example which installs APX packages which was failing with the same error. It was easy to observe that the PackageManager.AddPackageAsync. However debugging an WinRT interface is impossibly hard compared to the lot simpler Win32 API's (you can't believe how much code is invoked from just the simplest WinRT method call) and as far as I have being doing this (2 days so far) I wasn't able to find where this *** error arises. But anyway - I could post another question in stack-exchnage for it. So here are the things I've tried by now (as far IIRC):



Deleting "ProgramsWindowsApps" folder.



Deleting some of the files in the "UserAppDataLocalPackages" (when I deleted the whole folder Windows Store won't open).



Tried all kind of troubleshooters.



Perofrmed sfc scan & dism too.



Tried "clean-boot".



"WsReset.exe" - with no result - windows store almost immidiately loads.



Sorry if you can't understand some of my thoughts but I'm writing secretly from my parents now at 1:22 AM. Tomorrow I could edit the question.



If you can suggest something - please do it but I won't accept windows reinstall, repair, refresh or such things.



Also I'm using Win8.1 x64 UEFI with latest updates & Secure Boot.



Also I can kernel-debug the PC if needed.










share|improve this question





























    0















    Before some-time my metro-apps stopped running - whatever I start one it then immediately closes. I then uninstalled all user-apps and was able to fix the system ones - as store, metro control panel and camera using this guide. But now I can't install any user-application from the store always giving me the error "This app can't be installed - 0x8007002". I figured out that this have something to do with the application deployment as I have debugged an example which installs APX packages which was failing with the same error. It was easy to observe that the PackageManager.AddPackageAsync. However debugging an WinRT interface is impossibly hard compared to the lot simpler Win32 API's (you can't believe how much code is invoked from just the simplest WinRT method call) and as far as I have being doing this (2 days so far) I wasn't able to find where this *** error arises. But anyway - I could post another question in stack-exchnage for it. So here are the things I've tried by now (as far IIRC):



    Deleting "ProgramsWindowsApps" folder.



    Deleting some of the files in the "UserAppDataLocalPackages" (when I deleted the whole folder Windows Store won't open).



    Tried all kind of troubleshooters.



    Perofrmed sfc scan & dism too.



    Tried "clean-boot".



    "WsReset.exe" - with no result - windows store almost immidiately loads.



    Sorry if you can't understand some of my thoughts but I'm writing secretly from my parents now at 1:22 AM. Tomorrow I could edit the question.



    If you can suggest something - please do it but I won't accept windows reinstall, repair, refresh or such things.



    Also I'm using Win8.1 x64 UEFI with latest updates & Secure Boot.



    Also I can kernel-debug the PC if needed.










    share|improve this question



























      0












      0








      0








      Before some-time my metro-apps stopped running - whatever I start one it then immediately closes. I then uninstalled all user-apps and was able to fix the system ones - as store, metro control panel and camera using this guide. But now I can't install any user-application from the store always giving me the error "This app can't be installed - 0x8007002". I figured out that this have something to do with the application deployment as I have debugged an example which installs APX packages which was failing with the same error. It was easy to observe that the PackageManager.AddPackageAsync. However debugging an WinRT interface is impossibly hard compared to the lot simpler Win32 API's (you can't believe how much code is invoked from just the simplest WinRT method call) and as far as I have being doing this (2 days so far) I wasn't able to find where this *** error arises. But anyway - I could post another question in stack-exchnage for it. So here are the things I've tried by now (as far IIRC):



      Deleting "ProgramsWindowsApps" folder.



      Deleting some of the files in the "UserAppDataLocalPackages" (when I deleted the whole folder Windows Store won't open).



      Tried all kind of troubleshooters.



      Perofrmed sfc scan & dism too.



      Tried "clean-boot".



      "WsReset.exe" - with no result - windows store almost immidiately loads.



      Sorry if you can't understand some of my thoughts but I'm writing secretly from my parents now at 1:22 AM. Tomorrow I could edit the question.



      If you can suggest something - please do it but I won't accept windows reinstall, repair, refresh or such things.



      Also I'm using Win8.1 x64 UEFI with latest updates & Secure Boot.



      Also I can kernel-debug the PC if needed.










      share|improve this question
















      Before some-time my metro-apps stopped running - whatever I start one it then immediately closes. I then uninstalled all user-apps and was able to fix the system ones - as store, metro control panel and camera using this guide. But now I can't install any user-application from the store always giving me the error "This app can't be installed - 0x8007002". I figured out that this have something to do with the application deployment as I have debugged an example which installs APX packages which was failing with the same error. It was easy to observe that the PackageManager.AddPackageAsync. However debugging an WinRT interface is impossibly hard compared to the lot simpler Win32 API's (you can't believe how much code is invoked from just the simplest WinRT method call) and as far as I have being doing this (2 days so far) I wasn't able to find where this *** error arises. But anyway - I could post another question in stack-exchnage for it. So here are the things I've tried by now (as far IIRC):



      Deleting "ProgramsWindowsApps" folder.



      Deleting some of the files in the "UserAppDataLocalPackages" (when I deleted the whole folder Windows Store won't open).



      Tried all kind of troubleshooters.



      Perofrmed sfc scan & dism too.



      Tried "clean-boot".



      "WsReset.exe" - with no result - windows store almost immidiately loads.



      Sorry if you can't understand some of my thoughts but I'm writing secretly from my parents now at 1:22 AM. Tomorrow I could edit the question.



      If you can suggest something - please do it but I won't accept windows reinstall, repair, refresh or such things.



      Also I'm using Win8.1 x64 UEFI with latest updates & Secure Boot.



      Also I can kernel-debug the PC if needed.







      windows-8 crash modern-ui windows-store






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 17 '17 at 5:05









      fixer1234

      18.9k144982




      18.9k144982










      asked Sep 22 '14 at 22:24









      Nemo759Nemo759

      2192719




      2192719






















          1 Answer
          1






          active

          oldest

          votes


















          0














          *Try clearing the Windows Store Cache:

          1. Right Click the Start screen (bottom left hand corner).

          2. Click on Run OR just Windows+R.

          3. Type WSReset.exe and press Enter.






          share|improve this answer
























          • I also tried this but forgot to mention. When I click it Windows Store almost immediately launch. I remember that before it took like 15 mins to load.

            – Nemo759
            Sep 23 '14 at 7:51











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f815259%2fwindows-store-cant-install-any-application-with-error-code-0x8007002%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          *Try clearing the Windows Store Cache:

          1. Right Click the Start screen (bottom left hand corner).

          2. Click on Run OR just Windows+R.

          3. Type WSReset.exe and press Enter.






          share|improve this answer
























          • I also tried this but forgot to mention. When I click it Windows Store almost immediately launch. I remember that before it took like 15 mins to load.

            – Nemo759
            Sep 23 '14 at 7:51
















          0














          *Try clearing the Windows Store Cache:

          1. Right Click the Start screen (bottom left hand corner).

          2. Click on Run OR just Windows+R.

          3. Type WSReset.exe and press Enter.






          share|improve this answer
























          • I also tried this but forgot to mention. When I click it Windows Store almost immediately launch. I remember that before it took like 15 mins to load.

            – Nemo759
            Sep 23 '14 at 7:51














          0












          0








          0







          *Try clearing the Windows Store Cache:

          1. Right Click the Start screen (bottom left hand corner).

          2. Click on Run OR just Windows+R.

          3. Type WSReset.exe and press Enter.






          share|improve this answer













          *Try clearing the Windows Store Cache:

          1. Right Click the Start screen (bottom left hand corner).

          2. Click on Run OR just Windows+R.

          3. Type WSReset.exe and press Enter.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 22 '14 at 22:38









          Abdelhafid MadouiAbdelhafid Madoui

          233212




          233212













          • I also tried this but forgot to mention. When I click it Windows Store almost immediately launch. I remember that before it took like 15 mins to load.

            – Nemo759
            Sep 23 '14 at 7:51



















          • I also tried this but forgot to mention. When I click it Windows Store almost immediately launch. I remember that before it took like 15 mins to load.

            – Nemo759
            Sep 23 '14 at 7:51

















          I also tried this but forgot to mention. When I click it Windows Store almost immediately launch. I remember that before it took like 15 mins to load.

          – Nemo759
          Sep 23 '14 at 7:51





          I also tried this but forgot to mention. When I click it Windows Store almost immediately launch. I remember that before it took like 15 mins to load.

          – Nemo759
          Sep 23 '14 at 7:51


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f815259%2fwindows-store-cant-install-any-application-with-error-code-0x8007002%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          RAC Tourist Trophy