Why does Store Broker (wshost.exe) keep killing my CPU?

Anonymous
2014-01-24T23:58:25+00:00

I've got a new Windows 8 machine and, for some reason, the Store Broker keeps pegging my CPU. It seems to pop up every time I do anything with the Windows Store (makes sense) or use some Metro apps (also makes sense). However, for some reason, this process takes up 33% of my CPU and never lets go of it once it starts. This causes the machine to get hot which causes the fan to come on and the combination drastically reduces my battery life (from 11hrs to 3).

Aside from frequently checking for and killing this app, is there anything else I can do about this? Is anyone else having this problem? Is it a misconfiguration on my end? I'm running this on a new Surface Pro 2.

Thanks!

Windows for home | Previous Windows versions | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2014-03-19T01:17:01+00:00

I SOLVED this. At least for myself. It's been a 3-day journey. Argh!

The upshot is this:

Kill Store and Store Broker from task list.

Rename the Cache folder to CacheOld at:

C:\Users(Your User Account)\AppData\Local\Packages\WinStore_cw5n1h2txyewy\LocalState

(Your WinStore_gobblygook might be a different bunch of gobbblygook)

Create an empty folder called Cache.

Solved! For me anyway.

Enjoy,

Ron

PS

I have been at this for days. I've read every article and post everywhere. I have updated graphics drivers, set date and time, run wsreset, sfc /scannnow, created new user account (store did work for new account), app troubleshooter, etc, etc, etc...

Today I just started digging around and looking at dates. I don't have log files to back this up but I believe I broke Store with CCleaner. I'm not sure exactly when the Store broke so this is a best guess but it makes some sense since Ccleaner does clean Store cache.

I also recently installed Tor Browser but my gut is that that was totally unrelated.

I might create a sandbox user and try to break Store with Ccleaner to confirm. But honestly I am tired of this little adventure.

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments

220 additional answers

Sort by: Oldest
  1. Anonymous
    2014-02-06T11:11:09+00:00

    Hi,

     

     

    We may try to re-register the Windows Store app by running this command: 

     

    Open the command prompt with admin privileges, and type the following command:

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

    Microsoft, i thought it would help. Unfortunatelly it did not. After i done it and reboot my laptop it looked like everything get back to norm. Just for a while. I went to sleep, wake up turn on my laptop and guess what - STORE BROKER 30% just after PC started. ;/

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-02-07T01:29:05+00:00

    Ditto to EVERYTHING above. FIX THIS PLEASE! It's obviously becoming a known and widespread problem. It pegs my CPU at 30-40% DAILY. This is ridiculous!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-02-07T02:35:54+00:00

    I'm having the exact same problem. The store broker process starts up and the task manager shows it is consuming around 30% of my CPU as my battery life drops at least 50%. This is occurring on a brand new laptop that I've updated to 8.1 and the only installed programs are a couple of windows store apps and office. Any suggestions or fixes would be greatly appreciated.

    Thanks

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-02-07T03:32:21+00:00

    I dumped the store broker on my pc and did a thread analysis.  All of the hung threads are calling a string compare function within WinStoreUI!WindowsStoreCache::DoQuery.

    I have not done much more research, but have used the following method to clear my "windows store cache", assuming something is corrupt.  Will post back if it my cpu stabilizes.

    http://www.eightforums.com/tutorials/13133-store-cache-clear-windows-8-a.html

    0:003> !runaway

    User Mode Time

    Thread       Time

    1:1808      0 days 0:41:00.375

    7:14b4      0 days 0:40:59.390

    9:10cc      0 days 0:40:57.234

    3:1508      0 days 0:40:54.468

    2:1678      0 days 0:40:49.875

    10:1008      0 days 0:00:00.000

    8:125c      0 days 0:00:00.000

    6:9d8       0 days 0:00:00.000

    5:35c       0 days 0:00:00.000

    4:14a0      0 days 0:00:00.000

    0:ad4       0 days 0:00:00.000

    0:003> ~1s;kb200

    kernel32!LongCompareString+0x93:

    00007ffd13dc24a3 663b5004        cmp     dx,word ptr [rax+4] ds:00000005b70fb684=0072

    RetAddr           : Args to Child                                                           : Call Site

    00007ffd13dc23ca : 0000000500000000 0000000500140012 00000005b70fb500 00007ffd`00000002 : kernel32!LongCompareString+0x93

    00007ffd115a8046 : 0000000000000000 00007ffd021acb44 000000000000001f 00000000`00000000 : kernel32!SortCompareString+0x206

    00007ffd021aca72 : 00000000ffffffff 00000005b7e6dec0 00000000ffffffff 00000005`b70fb930 : KERNELBASE!lstrcmpW+0x86

    00007ffd021ac925 : 000000008007000e 00007ffd021bde54 0000000000000000 00000000`00000000 : WinStoreUI!CMetadataRecords::FindBlock+0x82

    00007ffd02214621 : 000000008007000e 00000005b70fd700 00000005b586ee20 00000005`b86369c0 : WinStoreUI!CMetadataRecords::Find+0x29

    00007ffd021ad472 : 00000005b586e730 00000005b586ee20 00000005b70ffa08 00000005`b54a0b90 : WinStoreUI!WindowsStoreCache::DoQuery+0x20d

    00007ffd1418d65f : 0000000000000000 00000005b70ff838 00000005b70ff838 00000000`00000000 : WinStoreUI!WindowsStoreCache::ThreadpoolWorkCallback+0x12

    00007ffd1418bddb : 00000005b54e4220 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkpExecuteCallback+0x1bf

    00007ffd13dc15cd : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkerThread+0x81b

    00007ffd141c43d1 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd

    0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

    0:001> ~7s;kb200

    KERNELBASE!GetSortNode+0x178:

    00007ffd`115a7f58 4983c002        add     r8,2

    RetAddr           : Args to Child                                                           : Call Site

    00007ffd115a800b : 0000000000000000 00007ffd021acb44 000000000000001f 00000000`00000000 : KERNELBASE!GetSortNode+0x178

    00007ffd021aca72 : 00000000ffffffff 00000005b7e6dec0 00000000ffffffff 00000000`00000000 : KERNELBASE!lstrcmpW+0x4b

    00007ffd021ac925 : 000000008007000e 00007ffd021bde54 0000000000000000 00000000`00000000 : WinStoreUI!CMetadataRecords::FindBlock+0x82

    00007ffd02214621 : 000000008007000e 00000005b860d5c0 00000005b8617160 00000000`00000000 : WinStoreUI!CMetadataRecords::Find+0x29

    00007ffd021ad472 : 0000000000000001 00000005b8617160 00000005b860f8c8 00000005`b54b1040 : WinStoreUI!WindowsStoreCache::DoQuery+0x20d

    00007ffd1418d65f : 0000000000000000 00000005b860f6f8 00000005b860f6f8 00007ffd`1417aef6 : WinStoreUI!WindowsStoreCache::ThreadpoolWorkCallback+0x12

    00007ffd1418bddb : 00000005b54e4840 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkpExecuteCallback+0x1bf

    00007ffd13dc15cd : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkerThread+0x81b

    00007ffd141c43d1 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd

    0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

    0:007> ~9s;kb200

    kernel32!LongCompareString+0x3eb:

    00007ffd13dc27f4 66394368        cmp     word ptr [rbx+68h],ax ds:00000005b8d6b4d8=0d1a

    RetAddr           : Args to Child                                                           : Call Site

    00007ffd13dc23ca : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : kernel32!LongCompareString+0x3eb

    00007ffd115a8046 : 0000000000000000 00007ffd021acb44 000000000000001f 00000000`00000000 : kernel32!SortCompareString+0x206

    00007ffd021aca72 : 0000000000000001 00000005b7e6e1a0 0000000000000001 00000000`00000000 : KERNELBASE!lstrcmpW+0x86

    00007ffd021ac925 : 000000008007000e 00007ffd021bde54 0000000000000000 00000000`00000000 : WinStoreUI!CMetadataRecords::FindBlock+0x82

    00007ffd02214621 : 000000008007000e 00000005b8d6d700 00000005b8645f80 00000000`00000000 : WinStoreUI!CMetadataRecords::Find+0x29

    00007ffd021ad472 : 0000000000000000 00000005b8645f80 00000005b8d6f9e8 00000005`b88719d0 : WinStoreUI!WindowsStoreCache::DoQuery+0x20d

    00007ffd1418d65f : 0000000000000000 00000005b8d6f818 00000005b8d6f818 00000000`00000000 : WinStoreUI!WindowsStoreCache::ThreadpoolWorkCallback+0x12

    00007ffd1418bddb : 00000005b551d800 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkpExecuteCallback+0x1bf

    00007ffd13dc15cd : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkerThread+0x81b

    00007ffd141c43d1 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd

    0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

    0:009> ~3s;kb200

    kernel32!LongCompareString+0x266:

    00007ffd13dc266f 894b64          mov     dword ptr [rbx+64h],ecx ds:00000005b777b434=ffffffff

    RetAddr           : Args to Child                                                           : Call Site

    00007ffd13dc23ca : 0000000000000001 0000000000000000 00000005b55125b0 00000005`b54c4fd0 : kernel32!LongCompareString+0x266

    00007ffd115a8046 : 0000000000000000 00007ffd021acb44 000000000000001f 00000000`00000000 : kernel32!SortCompareString+0x206

    00007ffd021aca72 : 0000000000000001 00000005b7e62b10 0000000000000001 00007ffd`1419c3a5 : KERNELBASE!lstrcmpW+0x86

    00007ffd021ac925 : 000000008007000e 00007ffd021bde54 0000000000000000 00000000`00000000 : WinStoreUI!CMetadataRecords::FindBlock+0x82

    00007ffd02214621 : 000000008007000e 00000005b777d640 00000005b8617210 00000000`001a0018 : WinStoreUI!CMetadataRecords::Find+0x29

    00007ffd021ad472 : 00000005b54ae8c0 00000005b8617210 00000005b777f948 00000005`b54ae8e0 : WinStoreUI!WindowsStoreCache::DoQuery+0x20d

    00007ffd1418d65f : 0000000000000000 00000005b777f778 00000005b777f778 00000000`00000000 : WinStoreUI!WindowsStoreCache::ThreadpoolWorkCallback+0x12

    00007ffd1418bddb : 00000005b551d720 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkpExecuteCallback+0x1bf

    00007ffd13dc15cd : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkerThread+0x81b

    00007ffd141c43d1 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd

    0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

    0:003> ~2s;kb200

    kernel32!LongCompareString+0x35c:

    00007ffd`13dc2765 4533db          xor     r11d,r11d

    RetAddr           : Args to Child                                                           : Call Site

    00007ffd13dc23ca : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : kernel32!LongCompareString+0x35c

    00007ffd115a8046 : 0000000000000000 00007ffd021acb44 000000000000001f 00000000`00000000 : kernel32!SortCompareString+0x206

    00007ffd021aca72 : 0000000000000001 00000005b7e5cf10 0000000000000001 00000000`00000000 : KERNELBASE!lstrcmpW+0x86

    00007ffd021ac925 : 000000008007000e 00007ffd021bde54 0000000000000000 00000000`00000000 : WinStoreUI!CMetadataRecords::FindBlock+0x82

    00007ffd02214621 : 000000008007000e 00000005b757d200 00000005b8634600 00000000`6f000966 : WinStoreUI!CMetadataRecords::Find+0x29

    00007ffd021ad472 : 0000000000000000 00000005b8634600 00000005b757f4f8 00000005`b54a8cc0 : WinStoreUI!WindowsStoreCache::DoQuery+0x20d

    00007ffd1418d65f : 0000000000000000 00000005b757f328 00000005b757f328 00007ffd`1417aef6 : WinStoreUI!WindowsStoreCache::ThreadpoolWorkCallback+0x12

    00007ffd1418bddb : 00000005b54e4bc0 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkpExecuteCallback+0x1bf

    00007ffd13dc15cd : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!TppWorkerThread+0x81b

    00007ffd141c43d1 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd

    0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

    Was this answer helpful?

    0 comments No comments