Sorry.

KiXtart 4.50.0.0
Windows 2003 Active Directory
Windows XP clients
Kix32.exe is hosted in \\domain\netlogon

The script is huge. 34kb. As you can see by the segment posted above, I am parsing group membership to define which segments of the script to run.

CTX is a variable set earlier in the script to define if script is running in a terminal session. This is the section of code that the previous GoSub refers to:

 Code:
:CMKW
	? "Executing Logon Script"
	Sleep 2

	;Setting variable for Shared/Public drive
	$K="\\server2\share3"

	If $CTX="1"
		If InGroup("Group2")
			Use K: $K
		EndIf

		Return
	EndIf

	If InGroup("Group2")
		Use K: $K
	EndIf

	If InGroup("Group1")
		Use O: "\\server1\share1"
		Use X: "\\server1\share2"
	EndIf

Return


Edited by Nick_at_LXR (2007-06-11 09:48 PM)
Edit Reason: added code