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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to prevent login scripts from executing? 1

Status
Not open for further replies.

BOKA

Technical User
Joined
Apr 15, 2001
Messages
248
Location
US
Greetings.

The setup: Windows NT 4 domain, Windows Terminal Server as a member server, users with accounts in the domain login to WTS via Citrix clients.

Problem: I need to stop domain login script from executing on the WTS. I have admin on the WTS, but do not have access to the domain controllers.
Any ideas?

Thanks.

Note: solution with local accounts on WTS works, but that is not what I am looking for.
 
HI!

There are probably many ways, here is one trick you can try:

Add these lines to each login script:
IF "%COMPUTERNAME%"=="yourservername" GOTO %END

bla bla ...

:END

There should be an easier way but I can't think of one now.

Bye
Yizhar Hurwitz
 
Unfortunately, I cannot change domain login scripts. as I mentioned, I do not have access to domain controllers.
Thank you, though.
 
The whole point is that users cannot disable login scripts. Login scripts are managed by domain administrators only.
Jeff

I haven't lost my mind - I know it's backed up on tape somewhere ....
 
The type of challenge you're describing sounds very similar to what Microsoft tackled with their Small Business Server (SBS) 4.5 suite --- specifically how the Client Setup Wizard works with logon scripts to mark that the logon script and client application installation has completed successfully.

If you can get your hands on the SBS 4.5 Resource Kit (either the book or online equivalent in TechNet), you may get some interesting ideas for workarounds.

All the best,

Joshua Feinberg
 
does control C work for this one. I've never tried it with user rights or WTS. Worth a try though
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top