A recent friend's company's network print share prints out a problem. All people connect to the printer by sharing the printer, so the problem comes out, some people can use it, some people will report an error, beyond the maximum value of the shared connection. I haven't really encountered it yet. Although I know it better about computers, I have never encountered this problem. I went to the Internet to check it out and find a practical post to share it. I hope it will help everyone.
After checking the information on the Internet, I finally understood that it was the ghost of the WINDOWS operating system. For Windows XP Professional, up to 10 different computers can be connected simultaneously over the network. This limitation includes a combination of resources for all transport and sharing protocols. After the first print is finished, the system will not automatically disconnect. After more than ten people, other people will not be able to connect.
After the problem is fixed, the solution is easy to handle. Write a script to clear the connection at a fixed time, and clearing the connection in ten minutes should be a more scientific approach. I thought this idea should be easier to implement, but check the information and found that there is no delay command in the DOS command, but this is not a bad thing, write one yourself. The specific implementation method is as follows:
First, the delay command
Create a text file, which writes a sentence "WScript.sleep 600000", and then save the file as Delay.vbs. The meaning of this sentence is delayed by 10 minutes, and the parameters after the sleep command are counted in milliseconds.
Second, create a formal command, write a DOS batch file, the extension ends with BAT or CMD, the body of the command is as follows:
:Cir net session /delete /y start /Wait delay.vbs goto Cir
The meaning of the commands inside are:
NET SESSION /DELETE /Y is used to clean up the session. /Y means no manual confirmation is required.
start /wait delay.vbs START is used to call DOS programs, /wait means exclusive execution, that is, the following commands must be executed before continuing to execute the next instruction.
After writing the above two files, double-click the file behind it, it will automatically open a DOS window, and each session will automatically execute the process of clearing the session every ten minutes. In this case, no error will be reported when printing.
As a technician in the IT store, I think some friends may have noticed that a small GHO file is atta
Nvidia and AMD surprisingly consistent, the official does not provide support for XPs new notebook g
When you install a new Windows XP Home, Professional computer, you need to ensure that the latest up
With the continuous introduction of new operating systems for Windows, its mouse functions a
It is no longer afraid to reinstall XP-Universal Mirror Guide
Batch modify the file name Dafa in Win XP
Seven coups to improve Win XP speed
Which Windows XP support tools have been upgraded by SP2
Teach you to manually back up the Windows XP registry
Hotkeys in XP and Security Countermeasures
Windows XP installation and startup
Network Neighborhood Settings Tips (1)
Windows XP system "advanced" attribute combat application
Use Win XP's "automatic recovery" function
Windows XP in the smart check online cumulative time
There are more professional classifications. Win10 new search and then "evolution" Win7 Ultimate system compressed file package how to set the password Microsoft's support for repairing Windows RT 8.1 battery life Win10 standby continuous network how to set up win10 standby wake up can not connect wifi solution Protect computer security, keep CMD off Microsoft Windows 8 touch interface will be as simple as iPad Win10 upgrade failure prompt 0xc1900101-0x30018 error how to solve Winrar how to automatically add comments