Start Blender while using Remote Desktop

Have you also had trouble starting Blender with Remote Desktop. I have now found a solution that enables you to start Blender using a bat file when you are connected with Remote Desktop.

1. Create a .bat file on your desktop
2. Open the .bat file for editing
3. Add a command to end your Remote Desktop session.
“tscon 1 / dest: console”

4. Add command that starts Blender from the selected folder “Call C: Blender Blender-2.79b-windows64 blender.exe” In this case Blender 2.79 from C:
5. Save the file.

When you now connect Remote Desktop, start the bat file by right-clicking on it and select “Run as adminstrator”. What happens is that your Remote Desktop connection ends and Blender is started on the current computer.

As your connection ends, you need to run Remote Desktop again.

Below is the commands in the .bat file:

tscon 1 /dest:console
Call C:\Blender\blender-2.79b-windows64\blender.exe

Works also with Blender 2.8.

An assemption is also made that our current session has id 1.

When the script is run, the first line disconnect your remote PC and connect the session to the physical keyboard/video/mouse, then the second line will launch Blender.