Changes

Jump to: navigation, search
Terminal Server Application Compatibility Scripts
== Terminal Server Application Compatibility Scripts ==
 
For applications not designed to work in mutli-user environments there a number of tricks that can be performed.
 
If the application uses a fixed path name for user files that will cause problems when there are multiple users a useful trick is to map these paths to a drive letter and then set the drive to point to different paths for each user. For example, user ''Bill'' might have drive letter ''E:'' mapped to ''C:\users\bill\data'' while user ''Joe'' would have ''E:'' mapped to ''C:\users\joe\data''.
 
Another option is to use ''compatibility scripts'' which get executed each time a remote user launches an application. Windows Server 2008 provides two sample scripts located in ''%SystemRoot%\Application Compatibility Scripts''. ''RootDrv.cmd'' maps a drive letter to the home directory of the user executing the script enabling the trick outlined above to be peformed automitcally. The ''SetPaths.cmd'' script converts user paths into environment variables thereby avoiding the use of hardcoded path names.

Navigation menu