Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    4 Star Lounger
    Join Date
    Feb 2001
    Location
    BECCLES, Suffolk, England
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Map pen drive (WXpHe)

    I run three pc's on a peer to peer basis, pc2 also has a 4 port usb hub. When I plug in a pendrive it is shared and can be accessed from pc1 and pc3. Take out the pendrive, then re-insert it. I then have to enable sharing again before it is once more recognised. Is there any way to keep the pen drive shared? Many thanks in advance
    <IMG SRC=http://www.wopr.com/w3tuserpics/StephenElms_sig.jpg> Didn't think that I made my first post here on 5th February 2001...!

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,577
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Map pen drive (WXpHe)

    Instead of sharing the drive can you create a folder and share it?

    Joe
    Joe

  3. #3
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Map pen drive (WXpHe)

    Ahhh, good question, Stephen!

    I am seeking an identical solution:

    Client uses a 512 USB pen drive to back up essential files at the end of each work day. This is facilitated via a batch file. Seeking a means to map a drive to the USB drive so that when it is unplugged, it will show unavailable and show available when plugged in - just like a regular network drive. We want to keep the drive assigned to the same letter, you dig?

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Map pen drive (WXpHe)

    If you want to assign a drive letter to your USB Pen drive then you can use Disk Management
    <UL><LI>Install the USB drive
    <LI>Right click on my computer
    <LI>Select Manage
    <LI>Select Disk Management on the left pane
    <LI>Right click the partition where the USB drive is currently mapped
    <LI>Select "Change Drive Letter and Path"
    <LI>Choose a drive letter that you won't use for other purposes[/list]StuartR

  5. #5
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Map pen drive (WXpHe)

    Hi, Stu ~

    Unfortunately, this has already been tried and does not work. As soon as you unplug the USB pen drive, that drive letter is no longer assigned. Or if you remove another drive or device, then the next time you plug in the USB pen drive, the device will assume the next logical letter order assignment each time rather than the desired letter needed for sharing as in Stephen's case or running a batch file in my case.

    The drive needs to stay assigned just as would a mapped network drive. My notebook, for example, shows the drives existing but unavailable when I am not at work and subsequently available when jacked in.

    I am thinking this may require a command line function along the lines of <font face="Georgia">'net use' + 'persistent'</font face=georgia>, perhaps?

  6. #6
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Map pen drive (WXpHe)

    I believe that is is per design. Each time a USB device is plugged it it appears as a new device and the OS will search for a driver and then assign a drive letter as needed. You will find that this will also happen to the cameras that are plugged in.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  7. #7
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,577
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Map pen drive (WXpHe)

    I saw a few posts in one of the MS XP newsgroups (using Google to search) suggesting that a user create a folder and map to it with 'reconnect at logon' checked. The user was mapping to the root/default share and that was failing when the device was reconnected. Don't have a device to experiment with so can't be more definite.

    Joe
    Joe

  8. #8
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Map pen drive (WXpHe)

    Weellll, I'm not too sure that's 100% true. I have a universal SmartDisk USB reader that I have set the three drive letters to M, N and P. My CD (burner) is assigned K. I had my machine partially down for a few days while I worked on what turned out to be a dead CD burner. During that time the SmartDisk reader was not connected. The new burner I inserted is now on a PCI IDE card, so it understandably didn't get re-assigned to K when I fired up. But when I was ready to button it up and put the covers back on, the SmartDisk reader DID get reassigned to my three chosen letters. By the way, there are unused letters above and below these ranges, and I have three hard disk partitions assigned to R, S and T. Go figure.

  9. #9
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Map pen drive (WXpHe)

    Hi, Al ~

    What steps did you use to set the drive letters so they stuck when reconnected?

  10. #10
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Map pen drive (WXpHe)

    Hi, Mark ~

    Yes, I agree with you and Dave regarding the manner in which the USB devices are designed to work and know the <font face="Georgia">'net use'</font face=georgia> syntax is intended for networked drives.

    My hope is that through discovery and/or ingenuity, perhaps there might be a way to trick the system into associating an assigned drive letter to the USB device through Windows itself, using some arcane command line functions in conjunction with the <font face="Georgia">'net use'</font face=georgia> syntax, or maybe even an '.INF' file stored on the USB device.......

  11. #11
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Map pen drive (WXpHe)

    Al,
    I think you will find that the software that you have installed or was installed by the OEM is saving the settings. Since a memory stick plugged into a USB socket requires NO software just the XP drivers, then there is no software to save the settings with.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  12. #12
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Map pen drive (WXpHe)

    I'm inclined to think Dave is correct - the USB drives are not the same as a network drive. NET USE is intended for networked drives, not USB devices. Try it though, if it works, you've found a workaround.
    -Mark

  13. #13
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Map pen drive (WXpHe)

    I just used Disk Management to assign some letters in the upper alphabet just so it wouldn't interfere with my partitioning of hard drives. Nothing else special and I never ever thought about something like disconnecting or whatever at the time I did it. When my new burner didn't get the assigned letter is the only thing that caused me to notice.

  14. #14
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Map pen drive

    <P ID="edit" class=small>(Edited by mwolfman on 08-Jul-04 17:32. Asterisks in the subject.. again)</P>Hi, Al ~

    This is originally how we tried to assign drive letters from 'Disk Management', but this will not work permanently for a USB flash drive unless you are using some accompanying software as Dave suggested.

    If you remove a network drive or introduce a zip, hard, flash drive, etc. via USB, those drive letters are dynamically assigned by Windows (only in 2000 & XP). Yes, you may change them, but only for that session until it is pulled and once another device is introduced, moved or removed, the dynamic assignment is requeued.

    I may have, however, discovered a way to permanently assign a USB flash device by mounting a local drive at an empty folder on an NTFS volume using a drive path instead of a drive letter. I have been playing around in Comp Mgmt and learned that each device is assigned a unique ID number based on some unique feature of the device. It seems to stick, is sharable and the folder is given a drive icon by Windows.

    I need to do just a little more testing and trying to move, remove and bump drive letters to see if they will in fact remain static. If this works as imagined, this will suit both Stephen's as well as my own needs.

    I will report back with the results and details. <img src=/S/yep.gif border=0 alt=yep width=15 height=15>

  15. #15
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Map Pen Drive: Solution

    Hi, Stephen ~

    After some very jejune as well as tedious testing w/ Win2K & XP locally & across the network, the solution I discovered works perfectly & will allow your pen or any flash drive to be statically assigned, recognized, & shared throughout your LAN or peer/peer setup.

    The statements in my previous post standing accurate & noting that you must have at least one drive/partition fomatted NTFS, here are the steps to proceed:
    1. <LI>Disconnect any removeable media devices > restart Windows
      <LI>Connect your pen drive
      <LI>Right-click 'My Computer' > 'Manage'
      <LI>'Computer Management' > 'Storage' > 'Disk Management'
      <LI>On the menu bar > 'View' > 'Top' > 'Disk List'
      <LI>In the right-hand pane, right-click the appropriate drive under 'Disk'
      <LI>Select 'Change Drive Letter & Paths...' > 'Add' <small>('Change'/'Assign' will NOT work statically for removeable devices)</small>
      <LI>'Mount in the following empty NTFS folder:' should be selected > 'Browse' button
      <LI>Volumes/partitions that are NTFS & support drive paths will appear here
      <LI>You may select any, but recommend the root drive which will typically be C:
      <LI>Click 'New Folder' > name it 'USB Drive' or similar > 'OK' > 'OK'> exit 'Computer Management'
      <LI>You will not see anything change in 'Computer Management' since it is a drive path & not a drive
      <LI>Open 'My Computer' > click 'Local Disk (C' or drive you selected above
      <LI>You will see a folder or a drive called 'USB Drive'
      <LI>Right-click > 'Properties' > 'Sharing' tab > check 'Share this folder on the network'
      <LI>Enter share name <small>(recommend using the name of the drive folder but w/o spaces for command line <font face="Georgia">net use</font face=georgia> syntax ease)</small>
      <LI>On your pc1, go to 'Start' > 'Run' > enter cmd > 'OK'
      <LI>Enter <font face="Georgia">net use X: computernamesharenamedrivepathname /persistent:yes</font face=georgia> <UL><LI>'X' will be a drive letter you choose to represent the pen drive<LI>'computername' is the name of the computer to which you wish to connect <small>(which can be found in 'My Computer' properties)</small><LI>'sharename' is the name of that computer's drive that is being shared <small>(which can be found on the 'Sharing' tab of 'Local Disk (C' or appropriate drive's properties)</small><LI>'drivepathname' is the name you designated in # 16 above <small>('USB Drive' or other)</small>
    <LI>Example: <font face="Georgia">net use P: backofficebruceusbdrive /persistent:yes</font face=georgia>
    <LI>Repeat this for your pc3[/list]

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •