Question

Locked

Mapping of shared folders as network drives using batch file

By syed.azeez ·
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 conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

correction

by syed.azeez In reply to Mapping of shared folders ...

Its a typing mistake

please ignore last second line "where domain is shared" forgot to delete it.

thanks

Collapse -

chicken and egg

by seanaa In reply to Mapping of shared folders ...

I am wondering if there is a problem with authentication, you are asking the client PC to run a script on a server, but how can it connect to the share before it has run the script? Am new to AD myself so might be wrong here, but would love to know the solution.

Collapse -

Syntax

by Jacky Howe In reply to Mapping of shared folders ...

net use s:\\servername\sharename

you need a space between s: \\servername

Collapse -

oOPs

by Jacky Howe In reply to Syntax

you probably have this sorted. I didn't check the dates.

Back to Software Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums