Use windows explorer to connect to a server with username and password

2

1

I am using this format to connect to a server i have (from the windows explorer itslelf) :

\\serveraddress\D$\test

and that i get prompt for username and password,

i need to know is there a way that i could write the username and password in that line something like when connecting to ftp ;

ftp://user:passowrd@url

Thnaks

Matan L

Posted 2013-07-11T17:14:05.207

Reputation: 139

I cant test this right now , but doesn't the password dialog give you an option to save the password? – Shekhar – 2013-07-11T17:17:43.593

it does but i need another process to have access this way ... – Matan L – 2013-07-11T17:46:57.167

Answers

4

You can do this by first authenticating to the server with

net use \\serveraddress\D$\test /user:someone@mydomain.com [password]

Then you will be able to type the following without a prompt for the length of your user session

\\serveraddress\D$\test

You can add the /persistent:yes to the first command to make it permanent

See the help for the Net Use command from the command prompt for more into

Net Use /?

Keltari

Posted 2013-07-11T17:14:05.207

Reputation: 57 019

I keep getting the following error : Mupltiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all prevous connections to the server or shared resource and try again. and i ensured that i disconnected any connection to that server and still getting it. maybe i am writing the username and password format wrong ? if it is admin password , it should be : /user:admin [password] ? – Matan L – 2013-07-11T17:54:02.047

you probably already authenticated from a previous test. logoff and try again. – Keltari – 2013-07-11T17:55:58.713