Executable is not terminal server aware

ID PE099 Level INFO Category Configuration

Description

Executable is not marked as terminal server aware.

If an executable is launched under the terminal server session, Terminal Server makes certain modifications to the application to make it work properly in a multiuser environment. For example, Terminal Server creates a virtual Windows folder, such that each user gets a Windows folder instead of getting the system's Windows directory.

Mitigation

If using Visual C++:

  • Make sure you pass the /TSAWARE option in the linker command line when building the executable.

Arguments

This rule has no output arguments.