Windows 10/Server 2016 TeamViewer Freezes at Signout /Switch user
Open Task Scheduler
Create a new basic Task
Set Trigger to “when a Specific event is logged”
Set the Trigger Parameters as below. You need to two triggers to resolve issues.
Delay Task for 10 Seconds
Begin the task: At Startup
Delay Task for 15 Seconds
List of Triggers
5. Set two Actions as per as the screenshots below. Please change the service name Teamviwer9 to the service name of TeamViewer version you are running in the Arguments section.
You can find service name from services as below
Once you have the right service name please add actions as below
You can also use a batch file to create same action, but I prefer doing without batch file.
Now go to General Tab and set the user account to system and run with highest privileges as shown below
Save the Task and test it.
When you sign out. Disconnect TeamViewer and wait for 10 secs to connect again.
For lazy people like me, who do not want to go through the above hassle. Please download the file from here for TeamViewer 9 and Import in Task scheduler, then change the actions settings according the version of TeamViewer you are running.