net use cmd

  • Thread starter Thread starter jallen
  • Start date Start date
J

jallen

How can I use the net use command to map a connection to a
remote share for any user that logs on?
 
Give the users permissions to the share, and if you want it to run for every
user on a per-machine basis, the easiest way is to put a .bat file in the
all users startup directory with contents like:

net use q: /d
net use q: \\server\share /p:n

You may want to adjust the permissions so that users have the rights
necessary to have the file run, but cannot modify it or delete it.

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top