Not sure why I couldn't post in KiXtart FAQ & How to's???

Anyways, windows 2008 r2 DC and windows 2003 r2 DC.

I've assigned users a batch file in their user account profile which calls the .kix script. I have specified H: to connect to \\srs-edm06\home$\%username% in their AD user account profile.

 Code:
; Breakdown of IP address------------------------------------------------------------------------

$1st_octet = LTRIM(SUBSTR(@ipaddress0,1,3))
$2nd_octet = LTRIM(SUBSTR(@ipaddress0,5,3))
$3rd_octet = LTRIM(SUBSTR(@ipaddress0,9,3))
$4th_octet = LTRIM(SUBSTR(@ipaddress0,13,3))

;-----------------------------------------------------------------------

USE G: /DELETE /PERSISTENT
USE P: /DELETE /PERSISTENT
USE Q: /DELETE /PERSISTENT
USE R: /DELETE /PERSISTENT
USE X: /DELETE /PERSISTENT
USE Y: /DELETE /PERSISTENT
USE Z: /DELETE /PERSISTENT

USE Z: "\\srs.com\dfs\documents"

SELECT
CASE $3rd_octet = 0
	USE P: "\\srs-edm06\public$"
CASE $3rd_octet = 1
	USE P: "\\srs-nisku01\public$"
CASE $3rd_octet = 2
	USE P: "\\srs-edmfab01\public$"
CASE $3rd_octet = 3
	USE P: "\\srs-edmmod01\public$"
ENDSELECT

IF INGROUP("SRS10104 - FTP")
	USE X: "\\SRS10104\FTPROOT"
ENDIF



-------------------------------------------

A few users (windows 7 workstations) are not getting their H: drive mapped. And some are not getting P: or Z: mapped either.

Any ideas why most get their drives mapped but a few are not?????


Edited by Mart (2012-04-09 11:14 PM)
Edit Reason: Please use code tags when posting code.