5

I'm using a WD Passport external hard drive with my notebook, and have a folder on this drive I need to share on my Windows network.

Occasionally, when the drive is not plugged in, Windows appears to lose the shares, and I have to go in and share again after it's plugged in again.

Does anyone have a good way to avoid losing the shares?

Environment:

  • Vista Home Premium, SP2
  • WD MyPassport USB-powered portable hard drive

3 Answers 3

5

Well, here's what I arrived at (the long way round):

  1. Mount the drive to a shared NTFS directory - in this case

    D:\Mounts\WD.MyPassport\

  2. Assign a drive to the folder. SUBST would do it, but I prefer via the Registry:

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
    "H:"="\\??\\D:\\Mounts\\WD.MyPassport"

1

The base of the problem is that Windows remaps drives on reconnections.

To make certain that the drive always uses the same drive letter or path, I use USB Drive Letter Manager (freeware) to ensure that when a drive is connected, it always maps the same way.

From there, you can either:

  1. Manually share the drive after you reconnect it;
  2. Run a cron job in the background to continually check for the drive, and share it; or
  3. Use the Windows autoconnect service to share it when the drive is attached.
-1

Try to assign permanent drive letter to Hard Disk. From Control Panel click on Administrative Tools then Computer Management. In Disk Management right click on the drive, then click "Change Drive Letter". Choose one drive letter and click ok. Now you have to try if it works.

1
  • Thanks, but sorry - that is what I was doing... Mar 13, 2010 at 17:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .