NT 4 login script issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My company is still using NT 4 as the logon server and it won't be decomissioned so soon. Some of the users who have their login script running on NT 4 server also log in on to a W2K server through TS. When they do it a lot of features (such as Internet Explorer default page, desktop wallpaper, etc) are loaded to the TS Server.

I would like to know if it is possible to set some kind of variant to the NT 4 login script file that identifies when the user connects on the TS server and then prevents it from loading the user profile (set through login script) on the TS server

Any help you could provide will be greatly appreciated.
 
Yes, this can be done, in several ways.

* You can define a separate TS-specific user profile
* You can add a line at the beginning of your standard login
script, to check if the user is logging in through an rdp-session.

REM Variable %CLIENTNAME% is undefined in a normal domain logon
REM and equals the local client name in a TS session
IF NOT "A%CLIENTNAME%A" == "AA" goto TS_session

:TS_session
REM TS-specific logon commands here

* You can create a TS-specific login script and execute it from
usrlogon.cmd

195461 - How to Set Up a Logon Script Only for Terminal Server
Users
http://support.microsoft.com/?kbid=195461
 
Back
Top