Permanent map network drive.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello.
I have a 2000 server logged in local way but the server is in a X domain. I
need to map a network drive permenently but with a user from a Y domain. I
use "reconect at logon" but when I restart the server, always ask me for the
Y domain user password. I need for this network drive an automatic logon for
one of the services.
How I could avoid this? There is a method to do this?
Thanks for your help.
Rober
 
The easiest way to do this would be to add a batch/CMD file to the All
Users\Startup group to make the connection when the server is logged on:

net use v: /d
net use v: \\servername\sharename sharepassword /USER:domainname\domainuser

Make the appropriate substitutions (drive letter, server/share name,
password and user name) above.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
Thanks Richard.

I am not sure but I think that the problem is in the password. We need to
use special caracters in it, and in my password I have a "." and "/".
When I do net use in a CMD console, written the password between ", the map
goes fine but when I restart the server it says incorrect password.
I have tried to change the . and / for a + but the answer is the same.
Any other ideas?
Thanks
Rober


Richard G. Harper said:
The easiest way to do this would be to add a batch/CMD file to the All
Users\Startup group to make the connection when the server is logged on:

net use v: /d
net use v: \\servername\sharename sharepassword /USER:domainname\domainuser

Make the appropriate substitutions (drive letter, server/share name,
password and user name) above.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm


Rober said:
Hello.
I have a 2000 server logged in local way but the server is in a X domain.
I
need to map a network drive permenently but with a user from a Y domain.
I
use "reconect at logon" but when I restart the server, always ask me for
the
Y domain user password. I need for this network drive an automatic logon
for
one of the services.
How I could avoid this? There is a method to do this?
Thanks for your help.
Rober
 
Sorry, no; if you insist on passwords with odd characters you're going to
have odd results.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm


Rober said:
Thanks Richard.

I am not sure but I think that the problem is in the password. We need to
use special caracters in it, and in my password I have a "." and "/".
When I do net use in a CMD console, written the password between ", the
map
goes fine but when I restart the server it says incorrect password.
I have tried to change the . and / for a + but the answer is the same.
Any other ideas?
Thanks
Rober


Richard G. Harper said:
The easiest way to do this would be to add a batch/CMD file to the All
Users\Startup group to make the connection when the server is logged on:

net use v: /d
net use v: \\servername\sharename sharepassword
/USER:domainname\domainuser

Make the appropriate substitutions (drive letter, server/share name,
password and user name) above.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm


Rober said:
Hello.
I have a 2000 server logged in local way but the server is in a X
domain.
I
need to map a network drive permenently but with a user from a Y
domain.
I
use "reconect at logon" but when I restart the server, always ask me
for
the
Y domain user password. I need for this network drive an automatic
logon
for
one of the services.
How I could avoid this? There is a method to do this?
Thanks for your help.
Rober
 
Why do you believe you "need" to use these special characters. It
certainly isn't required the the domain. Please review the actual
requirements, not the "supposed" requirement. Big difference in "can
use" and "must use".
Thanks Richard.

I am not sure but I think that the problem is in the password. We need to
use special caracters in it, and in my password I have a "." and "/".
When I do net use in a CMD console, written the password between ", the map
goes fine but when I restart the server it says incorrect password.
I have tried to change the . and / for a + but the answer is the same.
Any other ideas?
Thanks
Rober


:

The easiest way to do this would be to add a batch/CMD file to the All
Users\Startup group to make the connection when the server is logged on:

net use v: /d
net use v: \\servername\sharename sharepassword /USER:domainname\domainuser

Make the appropriate substitutions (drive letter, server/share name,
password and user name) above.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm


Hello.
I have a 2000 server logged in local way but the server is in a X domain.
I
need to map a network drive permenently but with a user from a Y domain.
I
use "reconect at logon" but when I restart the server, always ask me for
the
Y domain user password. I need for this network drive an automatic logon
for
one of the services.
How I could avoid this? There is a method to do this?
Thanks for your help.
Rober
 
Back
Top