"Network Printer" is to connect a common printer to a common PC for sharing, and then everyone connects to this PC for printing. During use, a problem may occur: Some colleagues cannot print and re-Add the printer to prompt that the printer cannot be accessed. View computer management-shared folder-sessions and find that there are already 10 sessions, because XP Pro and 2 K Pro both limit the number of concurrent network connections to 10, when the concurrency is full, new users cannot connect to this computer to print. Use net config server/autodisconnect in CMD: 2 it is useless to change the idle automatic disconnection time to 2 minutes, the session will still be full, and the idle time will not be automatically broken for several hours. -- If this method is invalid after testing, you can use the following method to "clear connections": www.2cto.com 1. create a batch file clear. bat. The content is net session/delete/y, which is used to clear network sessions./y indicates that deletion is not required. 2. add to task scheduler, start-Appendix-System Tools-Task Scheduler, add scheduled task-next-browse, and select clear. bat-daily-set the start time-enter the user name and password-open the Advanced properties of the task, Plan-advanced, check the repeated tasks, and set the repetition interval (30 minutes) and the duration (24 hours ). Done. Sessions will be cleared every 15 minutes, and 10 concurrency limits will not be used up.
Author: sjwpython