I had this problem and it now seems to be gone. I'm frankly not sure exactly what fixed it but I wanted to share my experience.
- This is on a 5 year old HP desktop running Windows 10 Home with 2 accounts.
- Resetting / uninstalling within Apps mostly just hung. I couldn't find a reset function for most of the apps anyway.
- I tried the Get-AppxPackage -User ... | Remove-AppxPackage from a different user. As promised there were a lot of errors. This didn't help. In fact it somehow seemed to make it worse as now the other account that didn't originally have the problem also developed it.
- I created a new Admin account and it too had the problem.
- Tried the Get-AppxPackage ... on the other user account and it hung after a while.
- Decided to check Windows Update. It claims KB4093112 was installed on 4/28 and also on 4/30. Also KB4093110 was installed on 4/28.
- I ran System Restore. The most recent recovery point was before the 4/28 updates.
- System wouldn't boot after the restore. I ran restore again with the same recovery point from the System Recovery menu and this time it booted.
- Still had the problem!
- Windows update still says all of the above were installed and also says KB4093112 failed to install on 5/1 (After the recovery). Don't know if this is normal for Windows Update to show the history of updates that were done after the restore point.
- Rebooted a couple of times and the problem went away. Windows Update now says KB4093110 installed on 5/1. This appears to be the last event before things got back to normal. I am afraid that if it re-installs KB4093112 successfully the problem will come back.
I also observed wsappx in Resource Monitor. It was consistently updating \programdata\microsoft\windows\apprepository\StateRepository-Machine.srd-wal. The last I looked before the problem went away the file was 900MB. Now with things back to normal it is 0 bytes.
Will post again if it come back.