1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Login script with login and password

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

  1. David

    David Guest

    Hi,

    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?

    Thanks
     
  2. David <David@discussions.microsoft.com> wrote:
    > Hi,
    >
    > 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?
    >
    > Thanks


    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
    passwords.

    That said -

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

    But again, this is a bad practice.
     

Share This Page