Mallesons Stephen Jaques www.mallesons.com Confidential communication i set a environment variable on my servers if servertype=3Dmetaframe then end blah blah John Rowlandson Technical Support Specialist Mallesons Stephen Jaques Sydney T +61 2 9296 3653 F +61 2 9296 3676 john.rowlandson@xxxxxxxxxxxxx -----Original Message----- From: Mark Lee [mailto:marklee15@xxxxxxxxx] Sent: Friday, 25 April 2003 9:36 PM To: thin@xxxxxxxxxxxxx Subject: [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 =20 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 =20 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 =20 @echo off %SYSTEMROOT%\block.cmd ... // remainder of the normal logon script =20 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 !!!! =20 HTH =20 Mark =20 =20 >>> 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 =3D3D part de Greg Yorke (V) Envoy=3D3DE9 : mercredi 23 avril 2003 21:49 =3D3DC0 : 'thin@xxxxxxxxxxxxx'=3D20 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 = =3D3D logging into the servers. All of them have their own scripts. It was just easier = =3D =3D3D to tell the admins of each domain to include an exclusion string if the key file existed. G.=3D3D20 -----Original Message----- From: Camus, Douglas (3800) [mailto:Douglas.Camus@xxxxxxx]=3D20 Sent: April 23, 2003 1:34 PM To: 'thin@xxxxxxxxxxxxx'=3D20 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 = =3D3D script we put: @echo off rem bla, bla... if %COMPUTERNAME%=3D3D3D3D=3D3D3D3Dcitrix1 goto end if %COMPUTERNAME%=3D3D3D3D=3D3D3D3Dcitrix1 goto end rem normal user pc stuff (mapping drives, etc.) :end we did this because when the user connects to the citrix box, the = =3D3D3D =3D =3D3D machine running the logonscript is the citrix server itself.... Regards -----Mensaje original----- De: Christian Dady [mailto:christian@xxxxxxxxxxxxxxxxxxxxxx]=3D20 Enviado el: Mi=3D3D3DE9rcoles 23 de Abril de 2003 4:05 PM Para: thin@xxxxxxxxxxxxx=3D20 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 = =3D3D3D =3D =3D3D gettype tool need to be pushed to each desktop? I don't think I can convince = =3D3D =3D3D3D 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=3D20 > Behalf Of Jim Kenzig > Sent: Wednesday, April 23, 2003 2:36 PM > To: thin@xxxxxxxxxxxxx=3D20 > Subject: [THIN] Re: Stop Logon Scripts on Citrix > > > > Use the Gettype tool within the script to determine the OS version = =3D3D3D and run > on what version you want it to... http://thethin.net/gettype.zip=3D20 > JK > > -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx = [mailto:thin-bounce@xxxxxxxxxxxxx]On=3D20 > Behalf Of Christian Dady > Sent: Wednesday, April 23, 2003 3:26 PM > To: thin@xxxxxxxxxxxxx=3D20 > Subject: [THIN] Stop Logon Scripts on Citrix > > > > We have logon scripts for NT4 domain users that we need to stop =3D from=3D3D20 > 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 = =3D3D3D 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/=3D20 > ********************************************************** > > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link:=3D3D20 > http://thethin.net/citrixlist.cfm=3D20 > ******************************************************** This Week's Sponsor - ThinPrint Simply the best print solution for Microsoft Terminal Services=3D3D3D20 and Citrix Metaframe. http://www.thinprint.com/=3D20 ********************************************************** For Archives, to Unsubscribe, Subscribe or=3D3D3D20 set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm=3D20 ******************************************************** This Week's Sponsor - ThinPrint Simply the best print solution for Microsoft Terminal Services=3D3D20 and Citrix Metaframe. http://www.thinprint.com/=3D20 ********************************************************** For Archives, to Unsubscribe, Subscribe or=3D3D20 set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm=3D20 ******************************************************** This Week's Sponsor - ThinPrint Simply the best print solution for Microsoft Terminal Services=3D3D20 and Citrix Metaframe. http://www.thinprint.com/=3D20 ********************************************************** For Archives, to Unsubscribe, Subscribe or=3D3D20 set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm=3D20 ******************************************************** This Week's Sponsor - ThinPrint Simply the best print solution for Microsoft Terminal Services=3D20 and Citrix Metaframe. http://www.thinprint.com/=3D20 ********************************************************** For Archives, to Unsubscribe, Subscribe or=3D20 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=20 and Citrix Metaframe. http://www.thinprint.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or=20 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=20 and Citrix Metaframe. http://www.thinprint.com/ ********************************************************** 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