Windows 10: Can Someone Help with a Corrupt Modern App?

  1.    12 May 2016 #1

    Can Someone Help with a Corrupt Modern App?


    Solitaire won't start - it crashes after the splash screen. I tried to update it through the store, but it fails.

    My first thought was to manually remove it using PowerShell, but attempting to remove it generates this error:

    Code:
    PS C:\Users\teddy> remove-appxpackage -package Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe
    remove-appxpackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. (Exception from
    HRESULT: 0x80073CF6)
    NOTE: For additional information, look for [ActivityId] c878b524-aa7e-0002-b45d-28d47eaad101 in the Event Log or use
    the command line Get-AppxLog -ActivityID c878b524-aa7e-0002-b45d-28d47eaad101
    At line:1 char:1
    + remove-appxpackage -package Microsoft.MicrosoftSolitaireCollection_3. ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (Microsoft.Micro...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
    When I request the log, I get:

    Code:
    PS C:\Users\teddy> get-appxlog -activityid c878b524-aa7e-0002-b45d-28d47eaad101
    
    Time                      ID           Message
    ----                      --           -------
    5/11/2016 22:54:52        301          The calling process is powershell.exe
    5/11/2016 22:54:52        603          Started deployment Remove operation on a package with main parameter:
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe and
                                           Options: 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
                                           diagnosing app deployment issues.
    5/11/2016 22:54:52        10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\07ef57ec
                                           -6bce-41c3-86f3-f3c99be0f851_S-1-5-21-1839848564-1011864108-690573786-1001_2.rsl
                                           c for Remove Operation on Package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe.
    5/11/2016 22:54:52        607          Deployment Remove operation on package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe has been
                                           de-queued and is running for user TEDDYSSURFACE\teddy.
    5/11/2016 22:54:52        10000        About to service package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe. Setting
                                           the package state to disabled returned with 0x0.
    5/11/2016 22:54:52        317          C:\Program Files\WindowsApps\Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x
                                           64__8wekyb3d8bbwe\AppxManifest.xml(44,16): warning: The
                                           'windows.publisherCacheFolders' extension category in the
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe package is
                                           unrecognized.
    5/11/2016 22:54:52        475          error 0x80070002: Reading manifest from location: C:\ProgramData\Microsoft\Windo
                                           ws\AppRepository\Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_neutral_split
                                           .scale-125_8wekyb3d8bbwe.xml failed with error: The system cannot find the file
                                           specified.
                                           .
    5/11/2016 22:54:52        402          error 0x80070003: Reading manifest from location: AppxManifest.xml failed with
                                           error: The system cannot find the path specified.
                                           .
    5/11/2016 22:54:52        322          error 0x80070003: Cannot register the Microsoft.MicrosoftSolitaireCollection_3.8
                                           .4181.0_neutral_split.scale-125_8wekyb3d8bbwe package because the following
                                           error was encountered while trying to read the package: The system cannot find
                                           the path specified.
                                           .
    5/11/2016 22:54:52        300          error 0x80070003: Cannot register the
                                           Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe package due to the
                                           following error: The system cannot find the path specified.
                                           .
    5/11/2016 22:54:52        605          The last successful state reached was ResolvedDeferredRegistrations. Failure
                                           occurred before reaching the next state RegistrationChanged.
    5/11/2016 22:54:52        10001        Finished servicing package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe. Setting
                                           the package state to enabled returned with 0x0.
    5/11/2016 22:54:52        401          Deployment Remove operation with target volume C: on Package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe from:
                                           (Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe)  failed
                                           with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for
                                           help diagnosing app deployment issues.
    5/11/2016 22:54:52        471          error 0x5: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\CardinalBlue.P
                                           icCollage_1.7.11.0_x64__nyvb5jmhdxy8g7b7c0306-7e6c-401b-baee-4ccaf969613f\ClrCom
                                           pression.dll failed.
    5/11/2016 22:54:52        471          error 0x5: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\CardinalBlue.P
                                           icCollage_1.7.11.0_x64__nyvb5jmhdxy8g7b7c0306-7e6c-401b-baee-4ccaf969613f\Lumia.
                                           Imaging.dll failed.
    5/11/2016 22:54:52        471          error 0x91: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\CardinalBlue.
                                           PicCollage_1.7.11.0_x64__nyvb5jmhdxy8g7b7c0306-7e6c-401b-baee-4ccaf969613f
                                           failed.
    Can anyone help me decipher what's going on? I just want to play some mindless cards.
      My ComputerSystem Spec

  2.    12 May 2016 #2

    First issue I can see is you are running the powershell command as your user. You need to right click and run it as admin.

    The powershell prompt should start in C:\Windows\system32 not C:\Users\teddy and the windows should say Administrator in the titlebar like this.

    Click image for larger version. 

Name:	powershell admin.PNG 
Views:	3 
Size:	9.5 KB 
ID:	79318

    Your log is saying it can't find files. This could be because of authority. Alternatively it could be because they really are not there. There are manifest files which list the dependencies of individual apps and it could be it is referring to something that doesn't exist or just something you aren't authorized to see.

    Try it running as Administrator and post the results.

    I just want to play some mindless cards.
    You could consider something else in the interim. Both of these are better than the store solitaire in my opinion.

    1. The old Windows 7 games. I used to use these in Windows 10 and they work fine up until the last public update (build 10586) released in November. You can download them from here Hearts and Solitaire Games in Windows 10 - Windows 10 Forums If you are part of the Windows 10 insider testing program though they don't work anymore (at least for me).

    2. What I use now is Download 123 Free Solitaire - MajorGeeks . This is pretty OK (and has lots of solitaire versions) but unfortunately doesn't let you cheat by repeatedly undoing your moves unless you get the paid version which I haven't.
      My ComputerSystem Spec

  3.    12 May 2016 #3

    lx07 said: View Post
    Try it running as Administrator and post the results.
    Thanks for the help! As an admin, looks like I'm getting something similar:

    Code:
    PS C:\windows\system32> remove-appxpackage -package Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe
    
    remove-appxpackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. (Exception from
    HRESULT: 0x80073CF6)
    NOTE: For additional information, look for [ActivityId] c878b524-aa7e-0001-1a19-bfd17eaad101 in the Event Log or use
    the command line Get-AppxLog -ActivityID c878b524-aa7e-0001-1a19-bfd17eaad101
    At line:1 char:1
    + remove-appxpackage -package Microsoft.MicrosoftSolitaireCollection_3. ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (Microsoft.Micro...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
    Code:
    PS C:\windows\system32> Get-AppxLog -ActivityID c878b524-aa7e-0001-1a19-bfd17eaad101
    
    
    Time                      ID           Message
    ----                      --           -------
    5/12/2016 07:08:05        301          The calling process is powershell.exe
    5/12/2016 07:08:05        603          Started deployment Remove operation on a package with main parameter:
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe and
                                           Options: 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
                                           diagnosing app deployment issues.
    5/12/2016 07:08:05        10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\ae6b057d
                                           -8a78-442b-afeb-e3e95e289098_S-1-5-21-1839848564-1011864108-690573786-1001_1.rsl
                                           c for Remove Operation on Package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe.
    5/12/2016 07:08:05        607          Deployment Remove operation on package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe has been
                                           de-queued and is running for user TEDDYSSURFACE\teddy.
    5/12/2016 07:08:06        10000        About to service package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe. Setting
                                           the package state to disabled returned with 0x0.
    5/12/2016 07:08:06        317          C:\Program Files\WindowsApps\Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x
                                           64__8wekyb3d8bbwe\AppxManifest.xml(44,16): warning: The
                                           'windows.publisherCacheFolders' extension category in the
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe package is
                                           unrecognized.
    5/12/2016 07:08:06        475          error 0x80070002: Reading manifest from location: C:\ProgramData\Microsoft\Windo
                                           ws\AppRepository\Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_neutral_split
                                           .scale-125_8wekyb3d8bbwe.xml failed with error: The system cannot find the file
                                           specified.
                                           .
    5/12/2016 07:08:06        402          error 0x80070003: Reading manifest from location: AppxManifest.xml failed with
                                           error: The system cannot find the path specified.
                                           .
    5/12/2016 07:08:06        322          error 0x80070003: Cannot register the Microsoft.MicrosoftSolitaireCollection_3.8
                                           .4181.0_neutral_split.scale-125_8wekyb3d8bbwe package because the following
                                           error was encountered while trying to read the package: The system cannot find
                                           the path specified.
                                           .
    5/12/2016 07:08:06        300          error 0x80070003: Cannot register the
                                           Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe package due to the
                                           following error: The system cannot find the path specified.
                                           .
    5/12/2016 07:08:06        605          The last successful state reached was ResolvedDeferredRegistrations. Failure
                                           occurred before reaching the next state RegistrationChanged.
    5/12/2016 07:08:06        10001        Finished servicing package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe. Setting
                                           the package state to enabled returned with 0x0.
    5/12/2016 07:08:06        401          Deployment Remove operation with target volume C: on Package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe from:
                                           (Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe)  failed
                                           with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for
                                           help diagnosing app deployment issues.
    5/12/2016 07:08:07        471          error 0x5: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\CardinalBlue.P
                                           icCollage_1.7.11.0_x64__nyvb5jmhdxy8g7b7c0306-7e6c-401b-baee-4ccaf969613f\ClrCom
                                           pression.dll failed.
    5/12/2016 07:08:07        471          error 0x5: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\CardinalBlue.P
                                           icCollage_1.7.11.0_x64__nyvb5jmhdxy8g7b7c0306-7e6c-401b-baee-4ccaf969613f\Lumia.
                                           Imaging.dll failed.
    5/12/2016 07:08:07        471          error 0x91: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\CardinalBlue.
                                           PicCollage_1.7.11.0_x64__nyvb5jmhdxy8g7b7c0306-7e6c-401b-baee-4ccaf969613f
                                           failed.
      My ComputerSystem Spec

  4.    12 May 2016 #4

    OK, I'm not sure why you are so specific with your command. Perhaps it is correct I don't know as I have a different version to you.

    I tried
    Code:
    remove-appxpackage -package Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe
    and it just fails as I just don't have it. (I'm on build 14342 so probably that is why).

    What about the standard way? Sorry if I say standard it is just what I do. You don't have to specify all the bla bla after the name of the app.

    Just assign a variable the generic name and then remove the AppxPackage and the AppxProvisionedPackage like this.

    I also delete anything from %appdata% to be on the safe side. If you don't want to then ignore the last 2 lines.
    Code:
    $app="Microsoft.MicrosoftSolitaireCollection"
    Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
    Get-AppXProvisionedPackage -Online |
    	where DisplayName -EQ $app |
    		Remove-AppxProvisionedPackage -Online
    $appPath="$Env:LOCALAPPDATA\Packages\$app*"
    Remove-Item $appPath -Recurse -Force -ErrorAction 0
    That works fine for me - if you copy paste what is in the box above and press enter it should be removed like this:

    Click image for larger version. 

Name:	Solitaire.PNG 
Views:	2 
Size:	34.2 KB 
ID:	79419

    You'll see a bar running across the top of the screen for a couple of seconds but as I've just uninstalled mine testing this I can't replicate it quickly and was too slow to take a picture.

    EDIT: I just went to the Windows Store and downloaded it again and it is working OK so give that script a try.
      My ComputerSystem Spec

  5.    12 May 2016 #5

    lx07 said: View Post
    OK, I'm not sure why you are so specific with your command. Perhaps it is correct I don't know as I have a different version to you.
    I know next to nothing about PowerShell or its commands. I'm just using commands I found in other help forums.

    lx07 said: View Post
    That works fine for me - if you copy paste what is in the box above and press enter it should be removed like this:
    Thanks again for all your help. I tried to copy and paste your code, but still got a big red error. I tried first without the last two lines, and Solitaire was still in my start menu, and the splash screen still came up before it crashed. Then I tried ALL your lines. Still got error messages, but now when I click Solitaire, not even the splash screen comes up. I'm doing all this using PS as an administrator. Here's the error:

    Code:
    PS C:\windows\system32> $app="Microsoft.MicrosoftSolitaireCollection">> Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
    >> Get-AppXProvisionedPackage -Online |
    >> ^Iwhere DisplayName -EQ $app |
    >> ^I^IRemove-AppxProvisionedPackage -Online
    >> $appPath="$Env:LOCALAPPDATA\Packages\$app*"
    >> Remove-Item $appPath -Recurse -Force -ErrorAction 0
    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. (Exception from
    HRESULT: 0x80073CF6)
    NOTE: For additional information, look for [ActivityId] 613da394-aca6-0000-d401-3e61a6acd101 in the Event Log or use
    the command line Get-AppxLog -ActivityID 613da394-aca6-0000-d401-3e61a6acd101
    At line:2 char:40
    + Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
    +                                        ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (Microsoft.Micro...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
    
    
    PS C:\windows\system32>
    ...and the log:

    Code:
    PS C:\windows\system32> Get-AppxLog -ActivityID 613da394-aca6-0000-d401-3e61a6acd101
    
    Time                      ID           Message
    ----                      --           -------
    5/12/2016 16:42:34        301          The calling process is powershell.exe
    5/12/2016 16:42:34        603          Started deployment Remove operation on a package with main parameter:
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe and
                                           Options: 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
                                           diagnosing app deployment issues.
    5/12/2016 16:42:34        10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\eefcc0a8
                                           -db4c-41fd-be8b-42c03f881706_S-1-5-21-1839848564-1011864108-690573786-1001_1.rsl
                                           c for Remove Operation on Package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe.
    5/12/2016 16:42:34        607          Deployment Remove operation on package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe has been
                                           de-queued and is running for user TEDDYSSURFACE\teddy.
    5/12/2016 16:42:34        10000        About to service package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe. Setting
                                           the package state to disabled returned with 0x0.
    5/12/2016 16:42:34        317          C:\Program Files\WindowsApps\Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x
                                           64__8wekyb3d8bbwe\AppxManifest.xml(44,16): warning: The
                                           'windows.publisherCacheFolders' extension category in the
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe package is
                                           unrecognized.
    5/12/2016 16:42:34        475          error 0x80070002: Reading manifest from location: C:\ProgramData\Microsoft\Windo
                                           ws\AppRepository\Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_neutral_split
                                           .scale-125_8wekyb3d8bbwe.xml failed with error: The system cannot find the file
                                           specified.
                                           .
    5/12/2016 16:42:34        402          error 0x80070003: Reading manifest from location: AppxManifest.xml failed with
                                           error: The system cannot find the path specified.
                                           .
    5/12/2016 16:42:34        322          error 0x80070003: Cannot register the Microsoft.MicrosoftSolitaireCollection_3.8
                                           .4181.0_neutral_split.scale-125_8wekyb3d8bbwe package because the following
                                           error was encountered while trying to read the package: The system cannot find
                                           the path specified.
                                           .
    5/12/2016 16:42:34        300          error 0x80070003: Cannot register the
                                           Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe package due to the
                                           following error: The system cannot find the path specified.
                                           .
    5/12/2016 16:42:34        605          The last successful state reached was ResolvedDeferredRegistrations. Failure
                                           occurred before reaching the next state RegistrationChanged.
    5/12/2016 16:42:34        10001        Finished servicing package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe. Setting
                                           the package state to enabled returned with 0x0.
    5/12/2016 16:42:34        401          Deployment Remove operation with target volume C: on Package
                                           Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe from:
                                           (Microsoft.MicrosoftSolitaireCollection_3.8.4181.0_x64__8wekyb3d8bbwe)  failed
                                           with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for
                                           help diagnosing app deployment issues.
      My ComputerSystem Spec

  6.    13 May 2016 #6

    Sorry about that - it was worth a try. According to here Package could not be registered. (Exception from HRESULT: 0x80073CF6) someone fixed this 0x80073CF6 error by manually deleting the folders from C:\Program Files\WindowsApps directory. This is a hidden directory and you would have to take ownership of it to do this. You could try that.

    Hidden Files, Folders, and Drives - Show in Windows 10 - Windows 10 Forums
    Owner of Files and Folders - Change in Windows 10 - Windows 10 Forums

    However I've always ended up breaking all apps when I start updating things manually in this directory.

    Another safer (but slightly long winded) way to fix this would be to download a Windows 10 ISO and do a repair install. This will replace all Windows Apps with defaults. You will keep all your non-store apps and documents but would have to download and apps you got from the store again. The method is described in step 4 here Repair Install Windows 10 with an In-place Upgrade - Windows 10 Forums
      My ComputerSystem Spec


 

Related Threads
Modern warfare 2 in Gaming
still looking good :) 73068730697307073071
Read more: Why the PC needs a modern app platform | ZDNet
Solved Modern app vs Desktop app in Software and Apps
Hello all! I have just upgraded to windows 10. A quick visit in the windows store revealed that a few of the apps that I have installed already are also available as modern apps (i.e. QQ, onenote etc.) which makes me wonder if there is any...
Solved corrupt os ? in BSOD Crashes and Debugging
hello , I am looking for advice.. yesterday, I had problems booting up. My computer's operating system hardly works now.I booted in win ten yesterday and my sound and internet were not working..I thought it was my hardware. I had a old unbuntu...
Modern Photo App in Software and Apps
Any way to shuffle photos in slideshow?
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:32.
Find Us