Timeout mapping network drives at windows login


  1. Posts : 2
    Windows 7 Ultimate x64
       #1

    Timeout mapping network drives at windows login


    Hi there,

    This is my situation: I have a virtual machine running, and a network drive which is mapped to that machine.

    The problem here is that when I am trying to login on windows, windows is first trying to connect to that mapped network drive - which it cannot because my virtual machine has to start up first. This results in a rather long login-time.

    So my question is, is there some (registry) setting which allows me set this connection timeout to 0? Or that it won't automatically reconnect the drive at login?
    Of course the setting 'Do not automatically reconnect at login' is too obvious and does not work, because it also removes the whole mapped network drive at system restart - in my situation the drive should be there, just not connected.

    Thanks in advance!
      My Computer


  2. Posts : 427
    Windows 7 Home Premium 64 Bit
       #2

    Why don't you remove the mapped drive. And just create a logon script to run at start up, to re map the drove each time windows boots. That means windows will boot up first . Then it will run the batch file automatically to map the drive.
      My Computer


  3. Posts : 2
    Windows 7 Ultimate x64
    Thread Starter
       #3

    Haven't thought of that, I suppose that could work. I'm going to try it out!
      My Computer


  4. Posts : 427
    Windows 7 Home Premium 64 Bit
       #4

    Good luck. Keep me updated
      My Computer


  5. Posts : 31
    win7
       #5

    This might be your solution:

    ;### kill the long "restoring network connections" at logon (defer=ghosted connections)
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider]
    "RestoreConnection"=dword:00000001 ;(0=no attempt, you must click it)
    "RestoreTimeout"=dword:00000005
    ;### Ghost the connection if not responding within RestoreTimeout
    "DeferConnection"=dword:00000001

    ;### network drive map timeout in Explorer if connection is lost (def is 60 sec)
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters]
    "ReconnectTimeout"=dword:00000005

    Edit: you may also need to check the NameSpaces of MyComputer:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace

    Cheers
    Last edited by tweakradje; 06 Dec 2013 at 17:46.
      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 17:06.
Find Us