Results 1 to 6 of 6

Thread: Problem accessing external hard drive on shared network

  1. #1
    Join Date
    Feb 2008
    Posts
    1,337

    Problem accessing external hard drive on shared network

    I have two PC's and an external hard drive.

    So far, no concern. The external hard drive is shared on the network if and only if they were switched on and connected to the PC before Windows starts. Therefore, if I want to access a file on the external hard drive from one computer while the disc was lit after loading windows, you need to go back through "sharing and security ..." so that I can play.

    I wonder if there is a trick to tackle this problem, and share the disc from its connection to the computer. Can you help me?

  2. #2
    Join Date
    May 2008
    Posts
    1,304

    Re: Problem accessing external hard drive on shared network

    If you have already installed a network drive on your PC that allows you to go on the hard drive's shared network. Indeed, the problem is not mounted on windows network drives as boot. So if your windows startup can not find the shared hard disk, it's over.

    The solution to the script. Bat is possible.

    Create one file.bat and edit it by putting a line like:

    Code:
    NET USE R:\\10.0.0.1\shared_name
    where,

    R: is the network drive letter that will appear on your desktop.
    10.0.0.1 is the IP address of the PC or the hard drive that is connected; you can also put the name of the computer in this place.
    shared_name is the shared name of that drive.


    If you use a shared drive that requires a user name and password:

    Code:
    NET USE R:\\10.0.0.1\share_name password/USER: user_name
    where,

    user_name is login to login
    password is the password for that drive

    Put this file.bat file on the desktop.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,337

    Re: Problem accessing external hard drive on shared network

    Thank you for your answer, but it's not exactly what I try to do. What I want is I would like my external hard drive to be automatically shared on the network when it connects. It is possible?

  4. #4
    Join Date
    May 2008
    Posts
    1,196

    Re: Problem accessing external hard drive on shared network

    To my knowledge, it is not possible to share a USB drive automatically at its connection, for it is against possible with the help of a small trick on your USB disk you created an autorun.inf file containing:

    Code:
    [autorun] 
    open = file.bat
    you created the file containing file.bat:

    Code:
    net share share / delete 
    net share sharing =%cd%
    sharing is the name that you will give to your share folders.
    %cd% is the current folder (the root of your HDD since the BAT is at the root of that drive).

    autorun if not deactivated, your drive should be shared automatically as you want; otherwise you have just to double click on file.bat

  5. #5
    Join Date
    May 2008
    Posts
    1,304

    Re: Problem accessing external hard drive on shared network

    I shared a hard disk on a remote PC. I disconnected and rebooted the PC. I tried connecting the HD at startup and also after the boot of the remote PC, it works in all cases.

  6. #6
    Join Date
    Feb 2008
    Posts
    1,337

    Re: Problem accessing external hard drive on shared network

    I followed your advice. So I assigned (on a single PC for the test) the letter T to one of my drives.

    I wrote the bat accordingly:

    Code:
    MyDoc net share / delete 
    net share mydocs = T:
    And autorun

    Code:
    [autorun] 
    open = partage.bat
    The result:

    When I plug my hard drive, I have a small menu autorun that asks me if I want to open the disk, display images, and launch the autorun. I selected the program, and I see that my disk is now shared on the network.

Similar Threads

  1. Replies: 13
    Last Post: 11-05-2012, 10:48 AM
  2. Dish network external hard drive
    By Conner in forum Hardware Peripherals
    Replies: 2
    Last Post: 11-08-2009, 03:47 PM
  3. protect some files of shared external hard drive
    By Bhuvan in forum Hardware Peripherals
    Replies: 3
    Last Post: 06-03-2009, 05:35 PM
  4. Use external hard drive on network
    By Rahman Khan in forum Networking & Security
    Replies: 3
    Last Post: 12-02-2009, 06:53 PM
  5. External hard drive crashes the Network!
    By Wazir in forum Hardware Peripherals
    Replies: 2
    Last Post: 10-12-2008, 03:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,593,910.17768 seconds with 17 queries