I am on Windows 8.1 Enterprise and am having a hard time trying to download and run apps on my PC. If I try to run, say the Mail app, I get the message "This app can't open. Go to store". There it asks to repair, but it really doesn't do anything. It says that it was installed, but get the same error.
I notice on the top right in the Store that it says that 14 apps couldn't be updated. When i try to update I get the 0x0x80246013 error code.
I followed the instructions found here and it finally worked.
2) Fixing all modern apps: 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.
3) Fixing 3rd party apps: Delete the regkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore[UserSid]
4) Restart.