Author Topic: Substance Painter and Substance Designer do not work with Windows Remote Desktop  (Read 7775 times)

Is there a solution to this? I have a powerful PC at home and a weak machine at work, so I work on my home PC using remote desktop, however both of your apps crash when launched this way. Even Unity works fine with remote desktop, maybe there is some way to make your app work too?

Hi,

We often use remote desktop and we have no problem.
But I sent you a PM for more info.
QA Analyst

Well, it turns out that guys at Allegorithmic are quite fanatical about customer support. They actually found the problem, even though it was Microsoft's fault. I need to launch the painter and designer from the home machine and then you connect with remote desktop. This in turn can be done via script, see here:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/c8295ef8-3711-4576-9293-2c4965280165/opengl-and-remote-desktop?forum=winserverTS

Well, it turns out that guys at Allegorithmic are quite fanatical about customer support. They actually found the problem, even though it was Microsoft's fault.

I love working with companies like that.
Thank you for sharing the great success story.

I have only relied on "Support" one time, but I, too, got a tremendous response from them.

Well done, Allegorithmic!  :)
Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html

Thanks guys, it's always a pleasure to help ! :)
QA Analyst

To make things complete, here are some more info and links:

1. I created my .bat file in Notepad by entering this text:

tscon 6 /dest:console
start "" "D:\Program Files\Substance Painter\Substance Painter 2.exe"

[!! Note empty "" on the second row - the program won't run without them!]
[!! Also note that the path is surrounded with "..."]
Saved the file as .txt and then changed the file's format to .bat by simply renaming it.

2. The number "6" in the first row can be gained by entering this command in the console (and u open the console with "Winkey + R" to open "Run" window and typing "cmd"):

query user

and then check the number under "ID" column.

3. The .bat file will only log off if you run it as administrator!
4. In order to make things absurdly simple, you can create a shortcut to your .bat file anywhere and in the shortcut add the "run as administrator" settings as described here:
http://digitalmediaphile.com/index.php/2014/08/09/end-rdp-session-and-return-session-to-physical-console-in-8-1-with-batch-file/
5. The file above also explains a few things about Window's 8.1+ way of assigning connection IDs and how to work around it, do read it.

P.S. The Allegorithmic's support is really something extraterrestrial. No way to explain it really. Talking to actuall developers on the forum? In a matter of hours? Without the bureaucratic multi-step request system? Without receiving links to FAQs for your first 7 requests? ARE YOU MAD GUYS? If you continue this way this world will ultimately and unrevocably get... better. Stop it! Before we get used to it :)
Last Edit: February 20, 2017, 09:38:38 am

Thanks Maya Gameworks !
We love what we do and all the issues we solve with users, help us to improve our software. ;)

And thanks for sharing your tips ! :)
QA Analyst

This works to get Painter running over RDP but the software crashes when trying to load or create a new project.
If a project is loaded from the host it can be seen and worked on over RDP. The crash make's it impossible to restart the software over RDP due to the crash report system.

After some experimentation I found this batch file finds the session name automatically in windows 10
replace **USERNAME** and **PASSWORD** with your RDP username and password and run as administrator

echo on
pause
for /f "skip=1 tokens=3" %%s in ('query user **USERNAME**') do (
  %windir%\System32\tscon.exe %%s /dest:console /password: **PASSWORD**
)
"C:\Program Files\Allegorithmic\Substance Painter\Substance Painter.exe"
pause

P.S. The Allegorithmic's support is really something extraterrestrial. No way to explain it really. Talking to actuall developers on the forum? In a matter of hours? Without the bureaucratic multi-step request system? Without receiving links to FAQs for your first 7 requests? ARE YOU MAD GUYS? If you continue this way this world will ultimately and unrevocably get... better. Stop it! Before we get used to it :)

I have been a beta tester for other software, and the beta testers begged for interaction with the developers.  Allegorithmic's openness and accessibility on the public forum puts the other company to shame.

Please keep up the great work.  Your success is well deserved.
Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html