What is taskhostw.exe?

Host Process for Windows Tasks · Microsoft

Runs scheduled Windows tasks.

Is it safe?

The real file is in C:\Windows\System32.