Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login script with terminal services

Status
Not open for further replies.

wellerw

MIS
Mar 14, 2003
175
GB
Hi,

Does anyone know how I stop the login script (the one specified in each individual users profile settings in AD) running when they log into my terminal server?

I cant seem to find the answer anywhere.

Thanks
 
Have them log on local. Just add them to the users group unless you want hem to have admin rights. Or you can set up a different group with different accounts to log onto terminal servers.
 
I got around this problem by creating a file in the root directory of the C: drive on the terminal servers... in my case I called it login.not - the in each login script I added a line that said

[tt]if EXIST c:\login.not GOTO EXIT[/tt]

Then made the very last line in the login script say

[tt]:EXIT[/tt]

That way everything in between would be skipped. Just put a login.not file on every terminal server that you don't want login scripts to run on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top