First off all you do not relay need a batch file to start the script. You can insert the line in the batch file directly into the user’s properties in AD. I changed the %logonserver% variable to \\domain. This line can be sued in batch and directly in AD. Off course you need to change the domain to match your domain.

 Code:
\\domain\NETLOGON\Kixtart\Kix32.exe \\domain\NETLOGON\Kixtart\mapcphedrive.KIX


You have curly quotes in your script. What do you use to write your scripts? Kix likes the straight quotes better. I also added some debugging code so you can see what is going on.

 Code:
;=============================================
;Map Network Drives
;=============================================

If InGroup("OXFORD\cpheshared")
	Use n: /delete /persistent
	? @ERROR
	? @SERROR
	Use N: "\\centralx\public\cphe shared"
	? @ERROR
	? @SERROR
EndIf

sleep 5


Edited by Mart (2010-09-30 02:54 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.