Hi,
Is "HR Share" a member of the right group?
You could put a messagebox in the code to show the variable "Ismember" when it tries to map the "HR Share".
If it is a member of the group, "Ismember" should be true, else its false and therefore won't map the drive