Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows 2000 / Terminal Services / April 2004

Tip: Looking for answers? Try searching our database.

NT 4 login script issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Livia - 28 Apr 2004 21:01 GMT
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.
Vera Noest [MVP] - 28 Apr 2004 22:38 GMT
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

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---

"=?Utf-8?B?TGl2aWE=?=" <anonymous@discussions.microsoft.com> wrote
in news:81046D33-CDA0-4A5E-A459-85F0147BB8D5@microsoft.com:

> 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
[quoted text clipped - 9 lines]
>
> Any help you could provide will be greatly appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.