Automated Share Mapping with XP Home

Discussion in 'Cisco/Linksys Network Storage Devices' started by DeeJ07, Jan 1, 2005.

  1. DeeJ07

    DeeJ07 Network Guru Member

    XP Home does not allow a user to reconnect to a network share at each login without having to supply the username and password each time. So, this is obviously a problem for those using a NSLU2 with XP Home. Sure, you can just double click on the network drive icon in my computer, enter your information and be done... but that can be a little complicated for some of the other people in your house. At least it's true in mine. So, since XP Home doesn't support logon scripts, I wrote a simple batch file to do this all for me. The batch file and a readme describing how to use/customize it are available at http://znail.com/ the username is 'nslu2' and the password is... 'password'. Hope this helps someone out there.
     
  2. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    Well coded, although I don't use the home edition"PERSISTENT" is still a valid switch that can be used.
    Example: NET USE Z: \\%FSERVER%\%USER% %PASS% /USER:%USER% /PERSISTENT:YES
     
  3. DeeJ07

    DeeJ07 Network Guru Member

    Wished it worked...

    I tested the '/persistent' switch. It still presents the same problem. Here's what happens:

    net use [drive letter]: [network_path] [password] /user:[username] /persistent:yes

    This creates a mapped network drive to the specified network share. However, restarting/shutting down/logging out of XP Home kills the cached username/password for the share. Thus, although the connection is recreated when you login again, you still need to enter in the username/password in order to access the share.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice