Hello, thank you for reaching out to Microsoft Q&A.
The taskhostw.exe is a legitimate Windows process that helps run Windows services and background tasks, especially those that use DLL files. It usually starts during system startup, while Windows is running, or during shutdown.
- May I please know exactly when you are getting this error?
- Can you share a screenshot of the error and upload it here? I will check if the file path of this process looks legitimate or if it is a threat.
Meanwhile, open the Task Manager, locate the taskhostw.exe process, and open its file location.
If it redirects you to C:\Windows\System32\taskhostw.exe, then it is a legitimate file, not a Virus.