Login script with login and password

Discussion in 'Windows Server' started by David, May 20, 2009.

  1. David

    David Guest


    I had a NAS into my network, and now I need that a specific group of users
    access a folder in the NAS.
    So I need to map that folder, the same way as I map all the others.
    The problem is that I need to add login and password.
    I've tried to check some online help about that, but no method worked for me.
    Anyone has made this successfully that can share how?

    David, May 20, 2009
    1. Advertisements

  2. Youch. I wouldn't do that. What kind of NAS is this? Do you use AD? I would
    use only one that could particpate in AD. Don't embed passwords in login
    scripts. It's insecure and doesn't permit your users to change their

    That said -

    net use x: \\server\share /user:COMPUTER_Or_DOMAIN\username password

    But again, this is a bad practice.
    Lanwench [MVP - Exchange], May 20, 2009
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.