[THIN] Re: RE : Re: Stop Logon Scripts on Citrix

  • From: TISSOT Thierry <thierry.tissot@xxxxxxxxxxxxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Fri, 25 Apr 2003 14:29:41 +0200

        Login script is executed by userinit.exe but is location is returned
by the gina I think.

        When you don't have the hand on the logon script it is the only way
to block then when loging on your server I think.

-----Message d'origine-----
De : Mark Lee [mailto:marklee15@xxxxxxxxx]
Envoyé : vendredi 25 avril 2003 13:36
À : thin@xxxxxxxxxxxxx
Objet : [THIN] Re: RE : Re: Stop Logon Scripts on Citrix



The login script is executed from within USERINIT.EXE and not the Gina,
therefore, can only be blocked by

 

1. Custom condition testing in the script (best way probably)

2. Remove USERINIT completely with not so good consequences

3. Rewrite USERINIT - overkill for this task

 

Most folks here do the same as us by checking COMPUTERNAME variables at the
start of the script !  An alternate way would be to put the following in
your main login script

 

@echo off
%SYSTEMROOT%\block.cmd
...
// remainder of the normal logon script


 

Then on any machine you want to stop the logon script from executing you
create a file called BLOCK.CMD in the WINNT directory which can either be
empty of contain specific commands for that machine and because we didn't
CALL the script it will pass execution from the logon script then terminate,
ie. the main logon script will just stop !!!!

 

HTH

 

Mark

 

 


>>> thierry.tissot@xxxxxxxxxx 04/25 5:32 am >>>


I think you could stop your logon script by developping your own
gina.dll. I've done that to disable roaming profiles but I can't for the
moment disable logon scripts.



-----Message d'origine-----
De : thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] De la =
=3D
part
de Greg Yorke (V)
Envoy=3DE9 : mercredi 23 avril 2003 21:49
=3DC0 : 'thin@xxxxxxxxxxxxx'=20
Objet : [THIN] Re: Stop Logon Scripts on Citrix



I would have done that here, except that I have no power over the logon
scripts that are run. Unfortunately we have 6 or 7 different domains =3D
logging
into the servers. All of them have their own scripts. It was just easier =
=3D
to
tell the admins of each domain to include an exclusion string if the key
file existed.

G.=3D20

-----Original Message-----
From: Camus, Douglas (3800) [mailto:Douglas.Camus@xxxxxxx]=20
Sent: April 23, 2003 1:34 PM
To: 'thin@xxxxxxxxxxxxx'=20
Subject: [THIN] Re: Stop Logon Scripts on Citrix



We just excluded the citrix servers on our logon scripts.... for
example...if we have 2 citrix servers: citrix1, citrix2 on the logon =3D
script
we put:

@echo off
rem bla, bla...
if %COMPUTERNAME%=3D3D3D=3D3D3Dcitrix1 goto end
if %COMPUTERNAME%=3D3D3D=3D3D3Dcitrix1 goto end
rem normal user pc stuff (mapping drives, etc.)

:end

we did this because when the user connects to the citrix box, the =3D3D =
=3D
machine
running the logonscript is the citrix server itself....

Regards
-----Mensaje original-----
De: Christian Dady [mailto:christian@xxxxxxxxxxxxxxxxxxxxxx]=20
Enviado el: Mi=3D3DE9rcoles 23 de Abril de 2003 4:05 PM
Para: thin@xxxxxxxxxxxxx=20
Asunto: [THIN] Re: Stop Logon Scripts on Citrix



Jim,

Thanks for the info.

However, if this was checked with the domain script, wouldn't the =3D3D =
=3D
gettype
tool need to be pushed to each desktop? I don't think I can convince =3D
=3D3D the
desktop team here to do that.

Can the type be checked by verifying the existence of a reg key?

Thanks,

-Christian Dady
ING Americas

> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On=20
> Behalf Of Jim Kenzig
> Sent: Wednesday, April 23, 2003 2:36 PM
> To: thin@xxxxxxxxxxxxx=20
> Subject: [THIN] Re: Stop Logon Scripts on Citrix
>
>
>
> Use the Gettype tool within the script to determine the OS version =3D3D
and run
> on what version you want it to... http://thethin.net/gettype.zip=20
> JK
>
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On=20
> Behalf Of Christian Dady
> Sent: Wednesday, April 23, 2003 3:26 PM
> To: thin@xxxxxxxxxxxxx=20
> Subject: [THIN] Stop Logon Scripts on Citrix
>
>
>
> We have logon scripts for NT4 domain users that we need to stop =
from=3D20
> running on our Win2000/MFXP boxes.
>
> What is the best way to go about this?
>
> Is there a reg entry unique to an application mode Windows server =3D3D
that can
> be checked against?
>
> Thanks,
>
> -Christian
> ********************************************************
> This Week's Sponsor - ThinPrint
> Simply the best print solution for
> Microsoft Terminal Services
> and Citrix Metaframe.
> http://www.thinprint.com/=20
> **********************************************************
>
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:=3D20
> http://thethin.net/citrixlist.cfm=20
>

********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D3D20
and Citrix Metaframe.
http://www.thinprint.com/=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=20
********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=20
********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=3D20
and Citrix Metaframe.
http://www.thinprint.com/=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm=20

********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services=20
and Citrix Metaframe.
http://www.thinprint.com/=20
**********************************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services 
and Citrix Metaframe.
http://www.thinprint.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm




---------------------------------
Yahoo! Plus - For a better Internet experience


********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services 
and Citrix Metaframe.
http://www.thinprint.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - ThinPrint
Simply the best print solution for
Microsoft Terminal Services 
and Citrix Metaframe.
http://www.thinprint.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: