找回密碼
 註冊
搜索
查看: 4407|回復: 0

建立永遠連線的撥接連線

[複製鏈接]
發表於 2005-5-12 13:23:15 | 顯示全部樓層 |閱讀模式
Making a dial-up connection "always on"

Users who enjoy flat rate Internet access may find it desirable to turn their connection into an "always on" connection that is established once when the machine boots (before any user logs in) and kept until the machine is shut down. To make your dial-up connection "always on", follow these steps:


  • If your service provider requires authentication, make sure you have saved the password by checking the Save Password checkbox in the Connect Connection Name window and connecting at least once.
  • If you are running Windows 2000, right-click the My Network Places icon on your desktop and select Properties to bring up the Network and Dial-up Connections window.
  • If you are running Windows XP/.NET, click the Start button, select Control Panel, then click Network and Internet Connections and then click the Network Connections control panel icon to bring up the Network Connections window.
  • Locate the Dial-Up connection you created for PPP over Ethernet, right-click it and select Properties.
  • Select the Options tab and clear all checkboxes under Dialing options.
  • Under Redialing options, set Idle time before hanging up: to never and check the Redial if line is dropped checkbox.
  • Click OK to save the changes.
  • Now click the Start button, select Settings then Control Panel to open the Control Panel window.
  • In the Control Panel window, double-click Scheduled Tasks.
  • In the Scheduled Tasks window, double-click Add Scheduled Task.
  • On the welcome screen of the Scheduled Task Wizard, click Next.
  • At the program selection step, click Browse... and browse to your WINNT\System32 directory (Windows 2000) or to your Windows\System32 directory (Windows XP/.NET).
  • Type RASPHONE.EXE (note the spelling!) in the File name: edit box or locate it in the directory and select it and click Open.
  • Make up a name for this task and under Perform this task: select When my computer starts. Click Next.
  • Enter your password. Note: The task must be run under the same account which the dial-up entry was created under.
  • At the final step, make sure that Open advanced properties for this task when I click finish is checked and click Finish.
  • In the advanced properties, edit the Run: edit box and append the command-line parameters " -d "Connection Name"".
  • Go to the Settings tab and clear all checkboxes on that page.
  • Click OK to close the task's properties.
  • Finally, you need to make a little registry change to prevent Windows from disconnecting when a user logs on and off again:
Run REGEDIT and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Then right-click the right-hand pane, select New -> String Value, name the value KeepRasConnections and set it to 1.



  • Reboot. Windows will establish the connection automatically and keep it until you shut the machine down.
  • NOTE: The connection will not be properly terminated when shutting the machine down or rebooting. This can cause problems with service providers who take very long to detect such a dropped connection and limit the number of concurrent connections. See [url=mkMSITStore:\httpd\www\portal\files\jdppk.chm::/45.html#KnownIssue7]Known Issues[/url] for further details.
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|彩色筆小沛的知識庫

GMT+8, 2024-5-12 11:10 , Processed in 0.017346 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表