One win 7 pc doesnt reconnect shares - others do. (SRV2K3 env.)


  1. Posts : 2
    Windows 7 Ultimate x64 | OpenSUSE 12.1 x64
       #1

    One win 7 pc doesnt reconnect shares - others do. (SRV2K3 env.)


    Hello.

    I am administering a network that runs with a Windows Server 2003 as DC, and several Windows 7 clients.

    We have a problem with one of the clients, and that is, that the network drives are not automatically reconnected, meaning the user has to go into explorer, click the network drive (which has a red cross over it) to gain access to the share.

    This is not acceptable behavior, so is there something I can do to fix this?

    Drives are mapped with this batch script:
    Code:
    @ECHO OFF
    net use f: /delete
    net use h: /delete
    net use i: /delete
    net use k: /delete
    net use l: /delete
    net use p: /delete
    
    net use f: \\server\sd /yes
    net use h: \\server\user$\%username% /yes
    net use i: \\server\Administration /yes
    net use k: \\server\Skrivestue /yes
    net use l: \\server\Common /yes
    net use p: \\server\Application /yes
    Can that code be optimized in any way?

    And how does drive mapping work with group policies now? I know it has been buggy earlier, but is this fixed now?

    Regards,
    Frederik
      My Computer


  2. Posts : 543
    Windows 7 Ultimate x64
       #2

    Hi,

    Add the persistant:yes at the end of the command line to see if that makes any difference. I would also not delete the previous net use.

    ALSO, the drive letters are quite low. If users have a USB Stick plugged in it may take the drive letter of one of your mapped drives.


    Create a new script and test on one of the Windows 7 PCs:

    net use f: \\server\sd /persistent:yes
    net use h: \\server\user$\%username% /persistent:yes
    net use i: \\server\Administration /persistent:yes
    net use k: \\server\Skrivestue /persistent:yes
    net use l: \\server\Common /persistent:yes
    net use p: \\server\Application /persistent:yes

    Dave
    Last edited by Dave Atkin; 16 Dec 2011 at 09:32. Reason: Formatting
      My Computer


 

  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 21:03.
Find Us