First off in you select statement you have a call to a function gci_mapdrive(), that function is not in your script, therefore none of that will work.

Second I am unclear what you mean by all users. You have several group names referenced that have the word "All" in them.

What drive mapping did you add, and in what part of the script.

What if any error's are you getting?
_________________________
Today is the tomorrow you worried about yesterday.