Problem sharing external USB drive
9 min read
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Look for a sub-key called IRPStackSize
if it is not present, then create it: right-click on -parameters- in the left pane and choose New—> DWORD Value
type in IRPStackSize (then press [enter] )
right-click the IRPStackSize key and choose -modify- then give it a value of 'c' (hex….equals 12 decimal.)
if you HAVE the key present, it likely already IS 0xC (12) and the problem is somewhere else…..
If the key is not present, the default is 4. XP should have it at 12 (
.)
[Re-boot.]
Tallon41
[on PC2] Is there a Hand under the USB drive Volume folder ?At present PC2 can see shared directories on PC1 but not its external USB drive.
What XP type is PC2 and are the others Pro or home or mixed ?
Permissions must be configured in "Sharing" [default is 'read' only….need to add 'change' rights if you need them to write to that volume.]
this is the only PC you need to increase the lanmanserver value on….not the 'clients.'Adding and setting the IRPStackSize to 20 on PC2 did not solve the problem.
This may stem from different XP versions (home and pro.)There may be a permissions problem also. When I try to view the external drive using explorer on PC2 I get a permissions error in addition to the not enough server storage error. I've given everyone full rights on the share.
Tallon41
yes. it is strange that it seems to object to it….you are keying-in 14 (decimal 20,) right ?There is a hand under the USB drive folder on PC1 (That is the PC with the USB external drive connected to it). IRPStackSize cannot be added to this computer since it prevents all access from network PC's. Are you saying this is the PC that needs it?
try this work-around.
Remove the share you have so far, and mount the USB-drive inside a NTFS folder instead.
1.remove the drive letter currently assigned to it, or add another path to the drive.
Start—-right-click -my computer-, choose -manage-
When the "computer management" window opens, choose -disk management-
when the right-top/bottom panes populate, in the bottom section, right-click on the USB drive and choose "change drive letter and paths…"
when the "change Drive letter and Paths for [label of USB drive]" window opens, it will display the current drive letter assignment.
You now have 2 choices:
I recommend #2 for the kind of 'sharing' you will be doing. I also recommend that the drive be NTFS formatted, and if it is not, [and you have no WIN98 or WIN-ME or any other Legacy users needing access to it,] then use the CONVERT command [open a DOS COMMAND window and type HELP CONVERT for instructions on the use of it. it is important to do the converting BEFORE the drive letter is removed ! ]
1. Keep the existing drive letter assignment and ADD a new path to this drive.
2. REMOVE the existing path, then ADD the new one.
when you click the -add- button, a new window will open with 2 options, to either:
specify a drive letter, or
Mount in the following empty NTFS folder.—–choose this one. there will be a -browse- button, click it.
Click on the c: drive and choose "new folder". Your choice on what to name it. Try to keep it short. e.g. USB-DRIVE then [ok] everything.
You can now go to "My computer", click the -folders- button at the top, maximize the window, in the left pane expand drive C: look for the new folder you made.
right-click, choose -properties- and you can assign "sharing" permissions and "security" as if it is a regular "folder" on your PC. and it should show-up as such.
Tallon41
My fault, I've edited that, there should only be two at the begining.If I type it exactly as you said the message is:
Windows cannot find \\Server\\Ext-USB-500GB\
…is not accessible. You might not have permission to use this network resource. Contact administrator …
Is there a firewall on PC1 and have you tried turning it off ?
on PC1 open a dos window and maximize it, (start—-accessories—command prompt.)
type CD \
should have a c:> now
type netstat -an
see if it is listening on TCP port 139, or post it here.
——————————
In the 'security' tab of the Ext-USB-500GB shared folder, you needed to add the "everyone" group and give it change rights.
Since they are all XP-Pro, ensure that they are all either using "simple file sharing"…or not. [recommend that once security permissions are set, that all use "simple file sharing" (security tab will not be avail when using it.)]
(open "my computer" click tools—folder options. when the "folder options" window opens, click the -view- tab, push the scroll bar to the bottom, the last box for all needs to be the same.) "apply" or "ok" any changes and close it.
Next, click Start—right-click "my computer" choose -properties-, choose the "remote" tab on the System and see if in the "remote desktop" section the "allow users to connect…." is checked.
If it IS checked then access will only be granted with usernam/password combinations….and even then it must be a user account that exists on the Local Machine (PC1.)
Tallon41
Ask AI
AI can make mistakes. Check the cited posts. Archived advice can be out-of-date
Don't include personal information. Questions and selected public posts go to OpenAI. About Ask AI