If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.
net use N: /delete /y
net use N: \\Server\Share
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
http://stackoverflow.com/questions/182750/map-a-network-drive-to-be-used-by-a-service/4763324#4763324