Teamviewer hangs while initiating display parameters and I find a weird solution.
I am using Win10 creator update with Teamviewer 12.1.15924.0.
To solve the issue, I install a remote command line tool.
When Teamviewer hangs while initiating display parameters, I login my remote console and kill explorer.exe.
taskkill -im explorer.exe -f
After this, Teamviewer display my desktop immediately.
After that, I use remote desktop to restart a new explorer.exe.
Of course, restarting explorer means you restarting all your shell and app store applications.
It's very annoyed but I cannot find other way to solve the issue.