Try running this script on a failing XP machine:
Code:
If InGroup("Shiklolit_Group")
udfMyUse("S:","\\dc\data$$\programs")
EndIf

If InGroup("Bezeq_Zahav_Group")
udfMyUse("y:","\\dc\data$$\goldnet")
EndIf

If InGroup("General_Data_Group")
udfMyUse("m:","\\dc\data$$")
EndIf

Function udfMyUse($sDrive,$sPath)
Use $sDrive /delete /persistent
"Mapping drive "+$sDrive+" to '"+$sPath+"' "
Use $sDrive $sPath
If @ERROR
"failed"+@CRLF+"Reason: ["+@ERROR+"] "+@SERROR+@CRLF
Else
"worked"+@CRLF
EndIf
EndFunction