Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that the connection of XP shared printer exceeds the maximum

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to solve the problem of XP shared printer connection exceeding the maximum value". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve the problem of XP shared printer connection exceeding the maximum value.

Recently, there was a problem with network printing sharing in a friend's company. All people connect to the printer by sharing the printer, so the problem arises, some people can use it, and some people will report an error, exceeding the maximum value of the shared connection. I really haven't encountered it. Although I know a lot about computers, I still haven't encountered this problem. I searched the Internet and found practical ones to share. I hope it will be helpful to everyone.

After looking up some information on the Internet, I finally understood that it was the WINDOWS operating system. For Windows XP Professional, up to 10 different computers are allowed to connect simultaneously over the network. This restriction includes the combination of resources for all transport and sharing protocols. After the printing of the first connection, the system will not automatically disconnect, after more than ten people, other people will not be able to connect.

After the problem has been identified, the solution will be easy. Write a script to clear the connection on a regular basis, and it should be a more scientific practice to clear the connection every ten minutes. I thought this idea should be relatively easy to achieve, but after looking up the data, I found that there was no delay command in the DOS command, but this is not difficult for us, just write one for ourselves. The specific implementation methods are as follows:

I. delay order

Create a text file with the words "WScript.sleep 600000" written in it, and then save the file as Delay.vbs. The meaning of this sentence is delayed by 10 minutes, and the arguments after the sleep command are timed in milliseconds.

Create a formal command and write a batch file of DOS with the extension ending with BAT or CMD. The text of the command is as follows:

: Cir

Net session / delete / y

Start / wait delay.vbs

Goto Cir

The meanings of the commands in it 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 the DOS program, and / wait means exclusive execution, that is, the subsequent command must be executed before you can proceed to the next instruction.

After the above two files have been written, double-click the following file, a DOS window will automatically open, and the process of clearing the session will be performed automatically every ten minutes. In this way, it will never be wrong again when printing.

At this point, I believe you have a deeper understanding of "how to solve the problem of XP shared printer connection exceeding the maximum value". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report