Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

Sign in to follow this  
SGT_JAX

[Question] Net Use command

Recommended Posts

Is it possible to map a network drive to a server that require a username and password everytime you logon to that server? If so can it be put in a simple batch file that will use net use commands.?

Share this post


Link to post
Share on other sites

when mapping the drive it allows you to log on as a different user where you have to input your username and password. make sure you have ticked the box saying "reconnect at logon". B)

Share this post


Link to post
Share on other sites

Hi SGT_JAX

Are you looking for something like this?

net use /persistent:YES Z: \\SERVER\SHARE /user:DOMAIN\USER PASSWORD

Share this post


Link to post
Share on other sites

that worked.

I have looked on the net and found a simular command and it did not work...but your did with a minor change.

Thanks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...