Let Win7 sleep automatically when it is restored to network

  
In the process of using the computer, we often leave for a period of time because of temporary problems. In order to save energy, we will click the menu “Start → Shutdown & Rarr; Sleep” command to make the Win7 system go to sleep. . However, after the system resumes from the sleep state to the normal working state, it finds that the Internet cannot be accessed normally. At this time, it is necessary to re-run the broadband dialing program that comes with the system. Think about it, this is really troublesome! So, can the system automatically connect when the system resumes from hibernation to normal working? The answer is certainly yes. Next, the author will tell you how to achieve it.
First right click on the "Computer" icon on the desktop, select "Manage" to open the "Computer Management" window; then click on the "Task Scheduler" on the left and click on the new one on the right. “Create task” option, open the “Create task” dialog box's “General” tab; then in the text box to the right of “Name”, give the newly created task a name (eg ““ Broadband Auto Connect & rdquo;), click the drop-down arrow to the right of "Configure", select "Windows 7, Windows Server 2008 R2"; and finally switch to the "Trigger" and "Operation" tabs And do the following:

1, & ldquo; Trigger & rdquo; tab
In the "Trigger" tab, click the "New …" button, in the open "ld" In the New Trigger dialog box, click the drop-down arrow to the right of “Start Task” and select “When Logging In” and click the “OK” button to create a name called “  Dquo; trigger task; according to this method, click the “New Trigger” dialog box “Start Task” to the right of the drop-down arrow, select “When the workstation is unlocked”, create a name called “Workstation Unlock” When the time & rdquo; trigger task can be.
2, & ldquo; Operation & rdquo; tab
In the "Operation" tab, click the "New …" button to open the "New Action" dialog box; then click &ldquo "Operation" on the right side of the drop-down arrow, select "Start Program", click "“ Programs or Scripts" on the right side of the "Browse" button, "<;C:WindowsSystem32” directory under “rasphone.exe&rdquo (that is, the system's own broadband dialing program) file is added; then enter the parameter "&dquo;-d broadband connection" in the "Add a parameter" box on the right side of the "Add parameter" and click "Determine" & rdquo ; button can be.
After the above steps, when the system enters the normal working state again from the sleep state, the system's own broadband dialing program will automatically perform the networking operation, so we can easily browse the online ones that are of interest to us. The content is gone. A friend with this need may wish to give it a try.

windows7 tutorial
Copyright © Windows knowledge All Rights Reserved