[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 894
  • Last Modified:

Windows 2003 Terminal Services Logon Script / Application Issue

I am trying to setup a 2003 Terminal Server.  I want the sessions to launch a program upon logon, however, the application depends on mapped drives.  The application launches before the computer can finish mapping the drives and causes an error.

Is there any way to slow the application launch after login part down, or is there another way around this?
  • 2
1 Solution
coxcomputerAuthor Commented:
Forgot to mention, the mapped drives are coming from a script that is launched domain wide upon user login.
Hi coxcomputer,

im fairly sure that if you can put the application in the startup folder rather than in the script, that SHOULD solve your problem - if not can you alter your script to make it "not run until...."

Set the Group Policy setting to run logon scripts synchronously, and put the drive mappings in \Windows\System32\USRLOGN1.CMD (create it if it's not there. It's called by Usrlogon.cmd)

The Group Policy options is in User Configuration - Administrative Templates\System\Scripts

If you apply this to an OU containing the server, you'll also need to set "User Group Policy loopback processing mode" to "Merge" or "Replace", which is in Computer Configuration - Administrative Templates\System\Group Policy
coxcomputerAuthor Commented:
I changed the Group Policy options for the Domain as a whole, now the script runs properly before the application is launched.  Thanks Darwinian.

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now