#123142 - 2004-07-16 06:28 PM
ScriptLogic 5.52 broke some kix login items
|
tjcarst
Hey THIS is FUN
Registered: 2003-09-08
Posts: 243
Loc: USA
|
I installed ScriptLogic 5.52 and instructed it to not remove the kix service on my domain controllers.
The following has since quit working:
Code:
if InGroup ("Educate Group","Research-Institute Group") use r: /del use r: "\\research\education" endif if ComputerInGroup ('Softmed Computers')=1 use m: /del use m: "\\sft-01\softmed\wpdata" use s: /del use s: "\\sft-01\softmed" endif Function ComputerInGroup($group,optional $Domain) Dim $oGrp if not $domain $domain=@domain endif $oGrp = GetObject("WinNT://" + $domain + "/" + $group + ",group" ) if @error exit 1 endif if $oGrp.IsMember("WinNT://" + $domain + "/" + @wksta + "$$" ) $ComputerInGroup=1 else $ComputerInGroup=0 endif endfunction
No error received on the ComputerInGroup, but no mapping either. The following error results from the InGroup with two groups specified:
Script error : invalid/function call: too many parameters ! If InGroup (“Educate Group”,”Research-Institute Group”)
Anyone else have this version of ScriptLogic? I have submitted this to ScriptLogic, and will share any response I receive (if any).
tjcarst
|
|
Top
|
|
|
|
#123144 - 2004-07-16 07:10 PM
Re: ScriptLogic 5.52 broke some kix login items
|
tjcarst
Hey THIS is FUN
Registered: 2003-09-08
Posts: 243
Loc: USA
|
I was running 4.22 and it ran fine. I was afraid ScriptLogic would downgrade my kix, so I told it to leave it alone. I could re-install ScriptLogic and see what happens, but it is just an eval and I don't know if I'll be able to purchase ScriptLogic. I hate to mess up my kix environment, it was running so beautifully.
tjcarst
|
|
Top
|
|
|
|
#123146 - 2004-07-16 07:19 PM
Re: ScriptLogic 5.52 broke some kix login items
|
tjcarst
Hey THIS is FUN
Registered: 2003-09-08
Posts: 243
Loc: USA
|
It looks like there are issues with the ComputerInGroup function in relation to how it is used by ScriptLogic. Maybe it is affecting my original kix environment as well.
http://www.scriptlogic.com/forums/display_message.asp?mid=12061
tjcarst
|
|
Top
|
|
|
|
#123148 - 2004-07-16 07:32 PM
Re: ScriptLogic 5.52 broke some kix login items
|
tjcarst
Hey THIS is FUN
Registered: 2003-09-08
Posts: 243
Loc: USA
|
Thanks, Shawn.
I made a copy of my netlogon share BEFORE installing SL 5.52, so I can see what files were changed. I have also emailed support at SL, but since this is an eval, I don't k now what kind of response I'll get.
I've since modified my kix logon script and now at least my users can map drives, but I really would rather have my kix working as it used to work. I've spend hours, days mabye, making a printer installation script that uses computer group membership to map and set default printers. It saves us a lot of time. I really can't have this broken. SL uses LPT ports for mapping, which I really don't like. I wish they'd find a way to map it without needing LPT ports. I've seen you can add custom scripts to SL, so if they get these issues ironed out, maybe I can add the ComputerInGroup to SL and have a nice way to deploy the printers without LPT ports.
Thanks for your quick responses.
tjcarst
|
|
Top
|
|
|
|
#123150 - 2004-07-16 08:36 PM
Re: ScriptLogic 5.52 broke some kix login items
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
A word of caution with ScriptLogic.. The way I avoided having problems is to create a separate Folder in the Netlogon share called SLOGIC. For example -
%logonserver%\netlogon\slogic
Then, when you "Assign Login Script" to the users, it is - SLOGIC\SLOGIC which automatically picks up off of the login share..
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 927 anonymous users online.
|
|
|