Home > Archive > General Discussion > May 2004 > NT 4 login script issue





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author NT 4 login script issue
lsantos

2004-05-10, 11:12 am

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. 'We also want to set different features (such as Intranet Page) when the uses logs on TS. I've already tried the command:

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

But it tries to change the registry key of the user's system operational and this is not the result the company is expecting for.

Any help you could provide will be greatly appreciated.
enforcer

2004-05-11, 5:39 pm

Get the logon to check what OS is running


If it detects NT then let it run script normally

If it detects w2k (ie it's on the terminal server) then run a different script


e.g.
if %OS%!==Windows_NT! Goto
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net