Mapping of shared folders as network drives using batch file - TechRepublic
Question
March 16, 2009 at 04:01 AM
syed.azeez

Mapping of shared folders as network drives using batch file

by syed.azeez . Updated 16 years, 11 months ago

I have users connected to shared folders on windows 2003 AD environment, i planned to make some simple automation by allowing users to get the folders map through bacth files.

Through windows explorer i am able to map the shared folders , but through batch files it is not mapping as network drives and gives error 53.
i am using net use command in the batch files
for eg:
net use s: /del
net use s:\\servername\sharename

I place the batch files under
c:\windows\sysvol\sysvol\domainname\scripts on the windows 2003 AD Server

sysvol & scripts folders are shared.
script folder sharename is netlogon

and the batch file is also mapped to the user under login scripts option in user properties.

where the domain is shared.
Any clues from any of you.

This discussion is locked

All Comments