Skip to content

Instantly share code, notes, and snippets.

@fo40225
Created September 27, 2020 03:50
Show Gist options
  • Save fo40225/45e4a7f0e10c1940ce51db72b4d12137 to your computer and use it in GitHub Desktop.
Save fo40225/45e4a7f0e10c1940ce51db72b4d12137 to your computer and use it in GitHub Desktop.
run OpenGL program when remote desktop
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
%windir%\System32\tscon.exe %%s /dest:console
)
Rundll32.exe user32.dll, LockWorkStation
"D:\SomeOpenGL.exe"
#### Accelerate Windows Remote Desktop
## Game developers and content creators all over the world are working from home and asking us to help them use Windows Remote Desktop streaming with the tools they use.
## We've created a special tool for GeForce GPUs to accelerate Windows Remote Desktop streaming with GeForce drivers R440 or later.
## Download and launch the executable as administrator on the Windows Desktop where your OpenGL application will run. A dialog will confirm that OpenGL acceleration is enabled and if a reboot is required.
# https://developer.nvidia.com/nvidia-opengl-rdp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment