Tuesday, April 15, 2008

Sharing A USB Drive On XP / Vista

I recently needed to share my USB hard drive on the network, and had a lot of problems making it consistently available as a share. After trolling around on the internet, I found the answer -- since this took a while to find and debug, I'm documenting it here.

In regedit, find the key in HKLM (HKey Local Machine):

\System\CurrentControlSet\Services\LanmanServer\Parameters

Set the parameter IRPStackSize to a value 3 higher than it currently is, and reboot. You may have to do this more than once. If this key doesn't exist, create a DWORD key and set the value.

On the two systems I did this to, I ended up with values of 17 and 18.

No comments: