最后2003总是断线,内置的99次根本不够用,所以要想办法增加一些
首先想到的是,播号联接会写注册表,就监视了一阵子,没发现什么情况。
根据键值:查到播号联接会启动一个服务:
Network Connections Service
Service Name | Netman | Process Name | svchost.exe -k netsvcs | |||
Default Settings | XP Home : Manual | XP Pro : Manual | ||||
Microsoft Service Description | Manages objects in the Network and Dial-Up Connections folder, in which you can view both local area network and remote connections. | |||||
Dependencies | Remote Procedure Call (RPC) | |||||
Real World Description | Basically, it controls the network and your ability to connect to the internet via Dial-Up. | |||||
Is this service needed? | Yes | Recommended Setting: | Automatic |
于是从服务中,查到该服务为手动启动。开始监视svchost程序的一举一动,发现其会读写
C:/Documents and Settings/XXX/Application Data/Microsoft/Network/Connections/Pbk/rasphone.pbk
这个文件,打开一看RedialAttempts=99,即为重试次数。修改成32767, 完成任务.