const IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE = $8000;
Use the $SETPEOPTFLAGS directive: {$SETPEOPTFLAGS $8000}
This indicates to Windows that the Delphi application is Terminal Services aware and safe for use as a TS app.
Documentation in PE (portable executable) header flags (ms-help://borland.bds5/devcommon/peheaderflags_xml.html)
See also: Terminal Services Programming Guidelines.
How to free more space on your home drive by redirecting the location for SDKs in RAD Studio
Learn the command line used to compile System.pas in Delphi