วันพุธที่ 7 มกราคม พ.ศ. 2558

xp limit 10 user inbound


Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>net config server
Server Name                           \\GTECPC
Server Comment

Software version                      Windows 7 Ultimate
Server is active on
        NetbiosSmb (GTECPC)
        NetBT_Tcpip_{331EB90B-8D05-44BA-85E1-29215501A80C} (GTECPC)
        NetBT_Tcpip_{F88006E0-A3FA-4F9A-BB10-7A4A51D0409A} (GTECPC)
        NetBT_Tcpip_{A51AFAD1-7BCC-4C9F-A2DF-DC184EC755C8} (GTECPC)


Server hidden                         No
Maximum Logged On Users               20
Maximum open files per session        16384

Idle session time (min)               15
The command completed successfully.


-------------
http://scottiestech.info/2009/08/22/how-to-increase-the-10-connection-limit-on-a-windows-lan/

How to Increase the 10 Connection Limit on a Windows LAN

August 22nd, 2009
WP Greet Box icon
X
Welcome Googler! If you find this page useful, you might want to find me on Google+.
LANLet’s say you have a network of more than ten Windows computers connected in a local workgroup without a domain controller. One of the computers has a printer connected to it, and more than ten machines in the workgroup need to print at the same time.
Well, you might say, “Dude, get a server!” or “Dude, get a print server!”
True, that would solve the problem… But sometimes, things like money and technical knowledge are limiting factors in such cases.
The good news: It’s actually really easy to increase the limit and get everybody printing/sharing files in a very short time!
Alrighty, first a few more words about Windows Networking. If a computer is running Windows XP Home, the max number of connections that can be made to/from that computer on the LAN is 5. If the machine is running XP Pro, Vista, etc. then the max is 10.
Also, you have to understand that the limit refers to connections, not number of computers. Technically, you can have a LAN with 500 Windows machines, and as long as no more than 10 computers are trying to connect to any other computer, everything will work okay. But you will still probably have a few headaches like when you browse Network Neighborhood, not all the computers will show up. That’s pretty annoying.
So now, here’s how you fix it:.

First, type Win-R to open the “Run” dialog box, and type gpedit.msc.
At this point, one of two things will happen:
  1. You have a fancier version of Windows, so a nice management console will pop up.
  2. You have a less fancy version of Windows, so it will give you an error message.
If you see the management window, then navigate thisaway:
Computer Config -> Windows Settings -> Security Settings -> Local Policies -> Security Option
And set Interactive Logon to 50 (the maximum) or 0 (i.e. disable caching completely)
If you get the error message instead of the management window, then do the following:
  • Type Win-R
  • Type regedt32 and hit Enter
  • Search for the following entry:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\CachedLogonsCount
  • Change CachedLogonsCount to 50 (the max) or 0 (disabled)
  • Close the Registry Editor
Repeat on each machine on the network just for good measure, et voila! You’re done.
I’ve used this trick before on multi-version Windows networks, and it works like a charm. It’s also a heckuva lot easier than setting up a server, and cheaper than buying a standalone print server of some kind.
Finally, note that for Windows versions without gpedit.msc, you can download an Excel file with the corresponding registry entries to edit in Vista (entries are usually the same in other versions of Windows).
Have fun!

-----------
Official solution from Microsoft for the same problem when you upgrade from win 3.5 Workstation to win 3.5 server; I think it may work on WinXPHome & Pro:
1.Start the Registry Editor (REGEDT32.EXE)
2.Find the following key:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \LanmanServer\Parameters
3.From the Edit menu, choose Add Value. Type “Users” (without quotation marks) in the Value Name field. Select REG_DWORD for the Data Type and choose OK. Enter the value of 0xFFFFFFFF in the String field and choose OK.
4.Exit the Registry Editor.
5.Either shut down and restart Windows NT, or from a command prompt type:
NET STOP SERVER
And then type:
NET START SERVER
That’s all!


-------------

Information About Active Sessions on the Computer That Is Running the Server Service

To receive information about active sessions on the computer that is running the server service, type the following command:
net session
Count the number of open sessions to see if the session limit of 10, or 5 in the case of Windows XP Home Edition, is already reached. Typically there is only one session per remote client.

If there is more than one session from a remote client, view the User name context on the remote client that has set up more than one session:
  • View all the services that are running, and find out if one is running under the user context of the username shown in the session table.
  • Look for scheduled tasks that are running in a logon script and are using a different user account then the one logging in.
  • Look for rows where the User name column is empty and examine the idle time.
A session that has an empty user context is a null session.

Temporary null sessions are usually caused by IPC$ connections as the first step in establishing a connection. They stay active for 30 seconds to 90 seconds.

Note To disconnect client computer sessions, use the following command:
net session /delete \\computername
This command disconnects all sessions from that computer and closes all open files. This command may cause data loss if open files that have not been saved are closed.

Information About Open Files

To receive information about open files, on the computer that is running the server service, type the following command:
net files
If you have seen permanent null user sessions in the session table, determine which file or pipe the null user is using.

Information About NetBIOS Connection Table

To see a listing of incoming and outgoing connections and the amount of traffic carried on these connections, type the command:
nbtstat -s

Information About Shared Resources

To see file shares, hidden administrative shares and shared printers, type the following command:
net share

-------------
คลิกขวา  My Computer เลือก  Manage
ในหัวข้อ system tools เลือก event viewer เลือก system
คลิกที่หัวคอลัมน์ event เพื่อจัดเรียงข้อมูล 
หา event id 4226 หมายถึง tcpip limit
ถ้ามี warning หมายถึงมีผู้ connect เกิน limit ที่กำหนดเช่น กำหนดไว้ 10 แต่ connect เข้ามา 11 เป็นต้น
ถ้าไม่มี warning หมายถึงยังไม่เกิน limit
กดแป้น f5 เพื่อ refesh หน้าจอด้วย
ถ้าต้องการทราบจำนวน tcpip limit หรือต้องการเปลี่ยนจำนวน limit ไป download ฟรีที่
http://www.lvllord.de/download.php?url=en/EvID4226Patch223d-en.zip
เปลี่ยน limit ได้ระหว่าง 10-16777214 connections
แนะนำให้ copy file C:\WINDOWS\system32\drivers\tcpip.sys เก็บไว้ก่อนนะครับ
เมื่อ download แล้วแตกไฟล์ออกมาจะได้ EvID4226Patch.exe
ควรไปเรียกโปรแกรมโดย คลิกที่ปุ่ม start มุมล่างขวาที่จอภาพเลือก run 
ใส่คำสั่ง cmd แล้ว ok เมื่อปรากฏหน้าต่างดำ เรียกไฟล์ EvID4226Patch.exe ออกมาทำงาน
download file EvID4226Patch.exe ไว้ที่ไหนเรียกจากที่นั้นเช่น 
C:\EvID4226Patch.exe /? กดแป้น enter เพื่อดูคำอธิบายและวิธีใช้
C:\EvID4226Patch.exe ไม่มี /?  กดแป้น enter จะมีคำถาม 
Do you really want to change the limit to 50?
y=yes หมายถึงเปลี่ยนเป็น 50
N=no หมายถึงไม่เปลี่ยนแปลงใดๆ
C=Change limit หมายถึงเปลี่ยนตามใช้ชอบ เช่น 16777214 เป็นต้น
หาอ่านเพิ่มเติมที่
http://www.mydigitallife.info/2005/11/15/windows-xp-sp2-tcp-connection-limit-event-id-4226/


--------------
Users can change the limit to any value by navigating to the following registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\]

Locate “TcpNumConnections” registry value and change its value data to number you want.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น