/TSAWARE (Windows CE 5.0)

Send Feedback

The /TSAWARE option sets a flag in the IMAGE_OPTIONAL_HEADER DllCharacteristics field in the program image's optional header. When this flag is set, Terminal Server will not make certain changes to the application.

/TSAWARE[:NO]

Remarks

When an application is not Terminal Server aware, Terminal Server makes modifications to the legacy application to make it work properly in a multiuser environment.

For example, Terminal Server will create a virtual Windows folder so each user gets a Windows folder instead of the system's Windows directory. This gives users access to their own INI files.

In addition, Terminal Server makes adjustments to the registry for a legacy application. These modifications slow the loading of the legacy application on Terminal Server.

If an application is Terminal Server aware, it must neither rely on INI files nor write to the HKEY_CURRENT_USER registry during setup.

If you use /TSAWARE and your application still uses INI files, the files will be shared by all system users. If that is acceptable, you can still link your application with /TSAWARE; otherwise use /TSAWARE:NO.

/TSAWARE is not valid for drivers, VxDs, or DLLs.

If an application was linked with /TSAWARE, DUMPBIN/HEADERS will display information to that effect.

See Also

Linker Options

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.