cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Response to Article - CS115746 Windows Remote Desktop start Creo Parametric OpenGL Graphics

jsachs
3-Newcomer

Response to Article - CS115746 Windows Remote Desktop start Creo Parametric OpenGL Graphics

While in a RDP session Creo opens up using OpenGL graphics. This can hinder the performance over the connection and it is best to start Creo in the console session to avoid this. Here is a batch script that is working for us.

 

Use this script to launch Creo while connected via RDP. Upon execution the script will send the current session to the console and launch Creo. The user will need to restart RDP but then Creo will be running without using OpenGL graphics.

 

You may need to change the working and program directories to match your environment.

 

@echo off
call :sub_checkAdmin

set ActiveID=unknown
for /f "tokens=3-4" %%a in ('query session %username%') do @if "%%b"=="Active" set ActiveID=%%a
tscon %ActiveID% /dest:console
timeout /t 2 > nul
start "Creo" /D D:\ENGINEERING\WORKING "C:\Program Files\PTC\Creo 5.0.2.0\Parametric\bin\parametric.exe"

EXIT

:sub_checkAdmin
NET SESSION >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
ECHO.
ECHO ERROR: This script requires elevated privileges.
ECHO.
ECHO Right click the file and choose "Run as administrator"
ECHO.
GOTO END
)
exit /b
:END
timeout /t 10 > nul
EXIT

0 REPLIES 0
Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags