• W10 apps not working right: e.g. Calculator, Store, Solitaire

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » W10 apps not working right: e.g. Calculator, Store, Solitaire

    Author
    Topic
    #505683

    Applications such as Calculator, Store, Solitaire will open a window for about a second, then close themselves immediately. Ran SFC, but nothing found to be corrupted. A few days ago when I had been using a non-networked userid (I guess there are referred to as Local) I had difficulty shutting down when I returned to my admin privileged ID. The system kept saying applications were still running, did I want to cancel and close or force a shutdown. I checked the two accounts that I have authorized, one with admin, one local non-privileged, but neither showed any applications running. So I forced the shutdown. I think that is what caused the damage. Is there a simple way to get back on track? I’m thinking the absence of the MS Store application may be the source of the problem.

    Viewing 6 reply threads
    Author
    Replies
    • #1565020

      See if the troubleshooter at Windows Store Apps Troubleshooter for Windows 10 from Microsoft helps. The download link is near the end of the article.

      --Joe

      • #1565574

        JoeP517: Ran W10 Store Apps Troubleshooter and received message “Troubleshooting couldn’t identify the problem”

      • #1573924

        Thank you for your suggestion.
        But, it did not work.
        Paul

    • #1565031

      Create a text document. Save it with a name and the extension ps1. For example ReregisterApps.ps1. Make sure hide extensions for known file types is not checked. You can access this in Control Panel -> File Explorer Options -> View. Save as all file types. Put the below code into your text document before you save, and after saving right-click, and choose run with powershell.

      Code:
      param([switch]$Elevated)
      
      function Test-Admin {
        $currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent())
        $currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)
      }
      
      if ((Test-Admin) -eq $false)  {
          if ($elevated) 
          {
              # tried to elevate, did not work, aborting
          } 
          else {
              Start-Process powershell.exe -Verb RunAs -ArgumentList ('-noprofile -noexit -file "{0}" -elevated' -f ($myinvocation.MyCommand.Definition))
      }
      
      exit
      }
      
      'running with full privileges'
      
      Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
    • #1565575

      djohnson: Ran script and received following output:

      File C:UserspnshlDesktopReregisterApps.ps1 cannot be loaded because running scripts is disabled on this system.
      For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
      + CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
      + FullyQualifiedErrorId : UnauthorizedAccess
      PS C:WINDOWSsystem32>

      Followed suggested information link and checked execution policy:

      PS C:WINDOWSsystem32> Get-ExecutionPolicy -List

      Scope ExecutionPolicy
      —– —————
      MachinePolicy Undefined
      UserPolicy Undefined
      Process Undefined
      CurrentUser Undefined
      LocalMachine Undefined

      So policy needs to be changed, but which one and to what? PowerShell is outside my range of knowledge.

    • #1565576

      pnshldn,

      In powershell just enter: [noparse]Set-ExecutionPolicy “RemoteSigned”[/noparse]

      You can check it with: [noparse]Get-ExecutionPolicy[/noparse]

      HTH :cheers:

      May the Forces of good computing be with you!

      RG

      PowerShell & VBA Rule!
      Computer Specs

      • #1565625

        RetiredGeek: Okay, but for which scope? CurrentUser or Process?

    • #1565650

      pnshldn,

      Don’t worry about scopes just use the commands a posted (which will set it for Current User) and you’ll be fine. The other scopes are only needed for very advanced use.

      about_execution_policies

      HTH :cheers:

      May the Forces of good computing be with you!

      RG

      PowerShell & VBA Rule!
      Computer Specs

    • #1565845

      OK, ran with RemoteSigned and encountered lots of error messages. Now, not knowing my way around PS here is what I did. Opened PS and set the privilege. At this point I wasn’t sure how to execute the script from within PS. Exited PS. I opened a command window with admin privilege and typed the name of the script file. Attached file shows the result. At this point Calc doesn’t even flash on the screen, just the little circle indicating cpu busy.

    • #1572287

      Well, nobody responded but the last W10 update restored Calc. Maybe the patch looks for missing or corrupt files.

    Viewing 6 reply threads
    Reply To: W10 apps not working right: e.g. Calculator, Store, Solitaire

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: