There is a fix for this published by Trendmicro:
Came across this strange error after reinstalling my pc.
Same goes for PowerShell.
The command itself doesn't matter, the error appears at every command or applet.
Removed TrendMicro Maximum Security 2017, rebooted and the error was gone.
Installed TrendMicro Maximum Security 2017 again and there is was again.
Then removed the TrendMicro Password manager and the TrendMicro troubleshooting tool.
Reboot, still there.
Now i can't just remove TrendMicro Maximum Security 2017 well because....
It has some thing to do with TrendMicro Maximum Security 2017 itself.
I will see if i can contact the support team and try to get this fixed or at least under the attention of TrendMicro.
To be continued.