1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-13 13:56:46 +00:00
wiki.mbirth.de/know-how/software/windows/_posts/2008-07-15-max-10-smb-connections.md

34 lines
1.4 KiB
Markdown

---
title: Max 10 simultaneous SMB-connections
layout: default
created: 2008-07-15 22:02:53 +0200
updated: 2008-07-15 22:02:53 +0200
toc: false
tags:
- know-how
- software
- windows
- samba
- smb
---
Windows XP Professional only allows 10 simultaneous connections to shares and printer spoolers. The eleventh user gets
a *System error #71* message. The unused connections get freed after 30 minutes which is a bit late since often you
just need a few files or to print some pages but this blocks the connection for 30 minutes.
To make things better, you can issue the command
net config server /autodisconnect:3
which sets the limit to 3 minutes. You can even set this to `0` to free a slot almost instantly.
This value can also be changed in the registry. The key is `HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters`.
More information can be found at [KB138365](http://support.microsoft.com/kb/138365).
The really evil can fly to [Google Cache](http://66.102.9.104/search?q=cache:kHQ_0PQXJDQJ:tachyon.zapto.org/binaries/antiwpa/LanServerNoConnLimit/patched.txt+srvsvc.dll+%226a+0a%22&hl=en&ct=clnk&cd=3)
and get a disassembled part of the `srvsvc.dll` with the needed changes to disable the limit. (Only works for XP-SP2!)
The last resort is to upgrade to *Windows Server*. Another thought might be to connect to the shares from a Linux box
and let the clients connect to this Linux machine.