A few days ago I encountered a website unrelated to mozilla try to get me to download a 'firefox update' which I promptly ignored and closed the window. The next day when I turned my laptop on I got a firefox update but I mistook it for the malware I encountered, and force closed the update via task manager- while it was updating. It turned out to be the real firefox update and as soon as I closed it I got 'firefox cannot load XPCOM' and wouldn't start so I uninstalled and reinstalled firefox and rebooted, and it worked again, but now I have a butt ton of 'service host' processes running in my task manager that were never there before and the 'disk' section in task manager is running at 90-100%. This is not normal for my laptop. It's in the red because of all these 'service host' processes. I've uninstalled and reinstalled firefox several times but no luck. Scanned for malware and viruses in case they were causing these service host processes, but nothing came up.
There are more 'service host' processes not in the picture.
I posted on this thread but it's rather old and didn't get a response. I tried most of the solutions there and none of them worked. I disabled windows defender, turned off windows update, turned off BITS, turned off all startup programs, disabled superfetch, but none of that worked- I still have a butt ton of 'service host' processes running that won't go away. I also tried 'end task' on them in task manager but when my laptop rebooted they were still there.
I did try going into Command Prompt and typing 'sfc/scannow' as instructed in part of the thread I linked, and when it was done it said "Windows resource protection found corrupt files but was unable to fix some of them. Details are included in the CBS.log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios."
I read somewhere else the solution to this result was to use the 'DISM /Online /Cleanup-Image /RestoreHealth' command so I entered that and waited for it to finish. When it did, I got this error:
I've been scouring the internet for three days trying to figure out how to remove all these 'service host' processes, and I've tried a LOT of solutions that popped up but none of them have worked :( I haven't been able to fully try the method above because of this error, so I'd appreciate some help.