If you forget to start the program before you leave, and need to make it run, the easiest way I have found to start a program remotely that requires some sort of check is to run a simple batch program.
You are essentially disconnecting from Remote Desktop, starting the program automatically, and then when you reconnect the program will have opened as if you were sitting in front of the computer yourself.
Note: To do this, you need administrative rights on the computer (able to click “Run as Administrator”)
tscon 1 /dest:console
start "" "FULL DIRECTORY NAME TO PROGRAM"
The tscon command disconnects you from RDP and switches the computer to the “console” so the computer unlocks itself (when using RDP normally, the regular monitor the computer is connected to is locked).
The start command then starts Sketchup after it disconnects, and since the computer is running as if you were in front of it, the system passes all the required checks.
So if I had the SketchUp 2017 shortcut on my desktop, my code would be:
tscon 1 /dest:console
start "" "C:\User\Eric\Desktop\Sketchup 2017"
To make this work, create a new text file; type the code in, and save the file. To save it as a batch file, you have to be able to change the file extension, so if you can see the “.txt” at the end of the file, you can skip this next part.
Search " File Explorer Options" in the windows search bar, click the first option. After the window pops up, click the “view” tab and uncheck the box "Hide extensions for known file types. Click apply and close the window.
Next, go to your text file with the code in it, right click on it and rename the file to a name with the extension “.bat” (example: “RemoteStartSketchup.bat”).
Now it’s all set up; if you want to use it, just right click on the batch file and click “Run as Administrator.” You will be disconnected, and then once you reconnect SketchUp 2017 will be open.
I have noticed, sometimes windows changes what session ID is used, so the “1” in “tscon 1 /dest:console” may need to be changed.
To find the correct ID, search “cmd” in the windows search bar, and type “query session” after the black window opens. Then replace the “1” with whatever number is in the “ID” column on whatever row there is a “>” marker in on the left side. See the image below, my current session ID is “4.”

I created a script to figure out the session ID automatically; here is the new code:
for /F "tokens=1,2,3,4,5" %%A in ('"query session | find "Active""') DO ( tscon %%C /dest:console)
start "" "C:\Users\Eric\Desktop\SketchUp 2017"