mapped drive disappears after log out

Page 1 of 2 12 LastLast

  1. Posts : 4
    windows 7 pro 32bit
       #1

    mapped drive disappears after log out


    When a user account is logged off, the mapped network drive icon disappears and the connection to the network share is lost. The share can be accessed by entering in the full path to the share in the address bar of explorer. The drive can be remapped and it will function properly until the account is logged off.
      My Computer


  2. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #2

    I may be missing something here, but that is completely normal. Once you log off, you log off, all your mapped drives will disconnect and applications will close too. ?? Am I missing something?
      My Computer


  3. Posts : 4
    windows 7 pro 32bit
    Thread Starter
       #3

    The mapped drive does not reconnect when the user logs back in. The (Reconnect at logon) checkbox is checked. I need the drive to be mapped when the user logs back into their account.
      My Computer


  4. Posts : 3,028
    Windows 7 Ultimate (x64) SP1
       #4

    See here (maybe)...Mapped Drives not Connecting
      My Computer


  5. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #5

    zshivers said:
    The mapped drive does not reconnect when the user logs back in. The (Reconnect at logon) checkbox is checked. I need the drive to be mapped when the user logs back into their account.
    Open a Command Prompt as the user that the drives are not being remembered. Do not use the "Run as Administrator". In this case we don't want to do that.

    At the Command Prompt type:

    Code:
    net use <enter>
    Does it say something like this:

    Code:
    C:\>net use
    New connections will not be remembered.
    If it says they "will not be remembered", then you need to change that.

    type:

    Code:
    net use /p:yes
    That will change the system setting for the user to make the drives remembered all the time and will be the default action.

    If the above is not the case then map the drive through the Command Prompt and see if the mapping is remembered.

    Code:
    net use /p:yes
    net use r: \\servername\sharename
    You may change the drive letter R: above to any free letter you wish. However remember that if you use a letter that is too close to the beginning of the alphabet you may overlap with USB devices and then one or the other will be missing. You can replace the R: with * and it will start with the next free drive letter starting at the bottom of the alphabet.

    That should make the drive be remembered through log off and reboot. -WS
    Last edited by WindowsStar; 02 Oct 2010 at 14:17. Reason: typo
      My Computer


  6. Posts : 4
    windows 7 pro 32bit
    Thread Starter
       #6

    Thanks to all the people replying. I will try these suggestions today at work and respond with the conclusions.
      My Computer


  7. Posts : 4
    windows 7 pro 32bit
    Thread Starter
       #7

    Thanks to everyone for the help. I'm not sure what fixed the issue but the mapped drives stay connected after logging off now. I also created a "Network Location" folder that works about the same. The problem now is that when the laptop is removed from the docking station the screen is locked. While the laptop is off the docking station the user can attempt to login but it will not allow her. After she puts the laptop back on the docking station she can log in again. Thanks in advance for the help.
      My Computer


  8. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #8

    zshivers said:
    Thanks to everyone for the help. I'm not sure what fixed the issue but the mapped drives stay connected after logging off now. I also created a "Network Location" folder that works about the same. The problem now is that when the laptop is removed from the docking station the screen is locked. While the laptop is off the docking station the user can attempt to login but it will not allow her. After she puts the laptop back on the docking station she can log in again. Thanks in advance for the help.
    Hummm, you may want to start a new thread on the docking, so we can get some more help. I can't think of anything right off, I don't use docking stations much. We use port replicators which are different. -WS
      My Computer


  9. Posts : 1
    Windows 7 Ultimate X64
       #9

    Mapped Drives


    None of the above worked for me. However, what did work was saving my credentials in the "Credential Manager" in the Control Panel. I entered these for each different server and it seems to have solved the issue.
      My Computer


  10. Posts : 2
    Windows 7 Ultimate 32bit
       #10

    This is an older thread but it is one I used to look for answers so I'll post up my solution. It shows up as a similar thread under the other one so it's still relevant I suppose.

    I followed all of this info but still had problems so I thought I'd post another solution. My issues are with a Goflex Home, it maps it's own folders every time but for the USB drive plugged into the back that I use with XBMC for DVD Movies (Backup rips of all my DVD's, no transcoding), TV Shows, and Portable videos. I map directly to each folder in the external drive.

    I opened notepad and typed the following, the quotations would be omitted if there were no spaces in the path, but since there are spaces I have to use the quotes. The XXX's is the IP address of the Goflex Home, though I could have just used Goflex Home instead of the IP. The reason I went with the IP address is because if I used Goflex Home, the drives would show up upon reboot/login as unable to connect. When I use the IP address and reboot, the drives always disappear, even though they are set to reconnect at login.

    net use M: "\\XXX.XX.X.X\External Drive\FreeAgent 2TB\DVD_Movies"

    Then I saved the file to my desktop as "map M.bat"

    I repeated the process for two other drives, creating separate files for each, "map V.bat" and "map T.bat".

    I moved the files to the root of C: so it'd be easy to find.

    I started the task scheduler.

    General Tab:
    Name: Map Network Drives
    Security Options: Selected Run only when user is logged on.
    Configure for: Windows 7, Windows Sever 2008 R2

    Triggers Tab:
    New:
    Begin the task: At log on
    Settings: Any User
    Advanced Settings:
    Delay task for: 30 seconds

    Actions
    New:
    Actions: Start a program
    Program/script: Browse to C:\map M.bat, Open.
    Repeated the last three steps for map V.bat and map T.

    Then I clicked "OK", found the task in the list, right clicked and clicked "Run" to test it out.

    It works every time. I am not sure if it would work if the mapped drive showed up as disconnected, but when there is no drive showing up at all it fixes the problem.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:25.
Find Us