GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

Batch file issue

Home Forums Scripting DOS Command Shell Batch file issue

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    Hi All

    We are having an issue with mapping drives in group policy on windows 7 machines.

    The batch file has a number of drives to map but not all drives will map due to permissions. If the batch file gets to 1 where the users does not have permissions, instead of bypassing that drive it then never seems to complete and any further drives don’t get mapped.

    If I run the file manually it asked for user name for the failed mapping then never goes any further.

    How do I get the script to continue if the user does not have permissions

    eg mapping

    net use H: “\SRV1terms & conditions”
    net use V: “\VISUALFILESsos”
    net use P: “\SRV1probate”
    net use O: “\srv1Legal Forms”

    Any help here would be great, thanks


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.