Make an automatic connection to Windows 10. Automatic Internet connection. Create a simple task

💖 Do you like it? Share the link with your friends

Today, a computer without an Internet connection has become an anachronism. Access to the World Wide Web is necessary when performing a wide variety of tasks. Therefore, it is of paramount importance for the user to be able to connect to it already during the system startup. The implementation of this is carried out in different ways. This article will look at ways to automatically connect to Internet Windows 7 when turned on.

At first glance, a question of this kind seems strange. But if you delve deeper into it, it becomes clear that connecting to the Internet immediately after turning on the computer is simply necessary. The main thing when carrying out this action is the ability to quickly move on to working with the network. In addition, automatic connection to the “web” allows you to:

  • get the exact time corresponding to the user's time zone;
  • obtain and install updates and necessary components for the system and many necessary programs;
  • provide correct operation applications that start simultaneously with the system and require access to the Internet.

Each user will definitely have their own addition to this list. Therefore, it can be continued for a long time. Some people will want to immediately receive a package of the latest news from the network, while others need faster access to their documents located in cloud storage. Definitely: automatic Internet access makes working at the computer more productive and comfortable.

Activating automatic connection

Tune automatic connection computer to the Internet different methods. The best option is to transfer all implementation functions to a modem or router. Majority modern devices These types of devices have their own network address and web interface, where you can make all the necessary settings, including connection type, login, password, and other points. Thus, there is no need to configure anything on the computer at all. It is enough to register the IP address of the modem or router as a gateway in network settings so that every time you turn on the computer, a connection to the World Wide Web is automatically established. And if they have a DHCP server, you don’t even have to do this.

But despite the obvious advantages of this type of connection, there will always be those who want to implement automatic setup Internet connection directly on your computer. There may be reasons for this, both of a purely technical nature and related to the personal preferences of the user. It makes no sense to describe them in detail; it is enough to just say that all operating systems provide such a possibility. Windows 7 is no exception to this rule.

In the “seven”, making the Internet connect automatically is available in various ways. The further description of all options for solving the problem assumes that the Internet connection on the PC has already been created and is normally started manually.

Setting up a network and using the startup folder

Placing the Internet connection shortcut in the startup folder seems to be the most simple solution for automation this process. However, there are some nuances that must be paid attention to.

Most domestic providers use a PPPoE or L2TP connection to connect to the Internet. Their distinctive feature is the need to authorize the user on the network by entering a login and password. Therefore, simply placing a shortcut for such a connection in autorun will only lead to the fact that when starting operating system(OS) its window will appear, waiting for the user to confirm the login and password. That is, there will be no almost automatic connection to the Internet.

Thus, in order to allow the “Seven” to automatically connect to the Internet at startup, you need to make sure that password confirmation is not required when establishing a connection. And such functionality is provided in Windows 7. Its configuration is carried out in the Network and Control Center shared access" You can get there in the following ways:

  • by clicking on the network connection icon in the taskbar located at the bottom of the screen and following the corresponding link;
  • from the panel Windows management, finding the “Network and Internet” section.

After this you need to do the following:

  1. On the left side of the Control Center window, find the link “Change adapter settings” and click on it.
  2. In the window network connections find what is responsible for connecting to the Internet, open its properties. This can be done from the context menu, called by right-clicking on the connection name.
  3. Where are the connection properties, go to the “Settings” tab, disable the prompt for username and password. To do this, you need to uncheck the box next to the corresponding item.
  4. Set the “Always use the accepted default connection” option.
  5. Next, select the created connection and click the “Properties” button.
  6. A window opens, enter your login and password below to access the “global network”.
  7. Close all windows using the “OK” button.

Having made all the settings, you can place the connection shortcut in the startup folder, the Internet will be available immediately after loading the OS.

In exactly the same way, you can set up an automatic Internet connection on Windows 10 and Windows 8. There is a slight difference only in the names of the control panel sections, but this will not confuse even a novice user.

Using task scheduling

Another way to set up an automatic Internet connection is to use a task scheduler. There are many ways to open it. The most universal, suitable not only for Windows 7, but also for Windows 8, Windows 10, is to use the program launch window. It can be called using the Winkey+R keyboard shortcut, or the “Run” link in the “Start” menu. To open the scheduler, you need to enter the taskschd.msc command.

After the scheduler window opens, start setting up an automatic connection to the Internet. To do this you need:

  1. On the "Action" tab, select "Create a simple task."
  2. A window opens and a name for the task is entered. It needs to be designed in such a way that it is easy to understand the nature of the action performed by this task. After this, click on the “Next” button.
  3. In the task trigger settings, specify that it should be executed when you log into Windows. Click "Next".
  4. Leave the next point unchanged.
  5. In the task action settings, select “Run program”.
  6. In the next window, enter the command to execute. The Internet connection is activated with the rasdial command. In the argument field, enter the sequence: network name, login and password. The name must be enclosed in quotation marks; all arguments must be entered without commas, separated by spaces.
  7. In the last window, check the entered parameters again and click “Finish”.

After completing the steps, you need to restart your computer. If all settings are made correctly, when the system starts, an automatic connection to the Internet will occur.

Many tasks in Windows can be automated by creating a special file containing a command or sequence of commands required for execution. Such a file is called a batch file and has different extensions, but on Windows they are most often found cmd files or bat.

Setting up automatic Internet login using a bat file is easy. To do this you need to take a few simple steps:

  1. Create a regular one on your computer text file, open it with notepad.
  2. Write the following lines there:
  • cd %systemroot%\system32;
  • rasdial connection_name username and password.

Then you need to save the file, giving it a name that makes sense to you. It is also necessary to change the extension from txt to bat. Next, the file is placed in the startup folder; the next time the system starts, the connection to the Internet will be made automatically. The path to the startup folder is: C:\ProgramData\Windows\Windows\Start Menu\Programs\StartUp.

Using Registry Editor

The Windows Registry also allows you to perform various tasks in automatic mode. With its help, it is possible to automate the entrance to the World Wide Web. This is done this way:

  1. Open Registry Editor. To do this, you need to enter regedit in the program launch window.
  2. Go to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run section.
  3. Create a new string parameter. To do this, just right-click on Run and select the desired action from the context menu. Think of any name for the new parameter.
  4. By double-clicking or pressing Enter, open the created parameter and assign it the value: rasdial.exe Connection_name Login Password.

This completes the setup of automatic connection to the “global network”. To use the new settings, you must restart your PC. The connection to the Internet should happen automatically.

By creating a new service

This method may seem complicated, but it is only at first glance. As in previous methods, the basis is the execution of the rasdial command. To create a new service, you must:

  1. Open a Windows command prompt window. Do this by entering the cmd command in the program launch window.
  2. Enter the command: sc create startVPN start= auto binPath= “c:\windows\system32\hidcon.exe rasdial_connection_name username password” DisplayName= “StartVPN” depend= lanmanworkstation obj= “NT AUTHORITY\LocalService”.
  3. Using the services.msc command, open the list of services that connect to Windows 7 and find the StartVPN service there.
  4. Open the service properties by double-clicking, in the startup type line, select “Automatic” from the drop-down list.

After completing the above steps, all that remains is to restart the PC and make sure that the automatic connection to the Internet has occurred.

Possible problems and solutions

If, after making the settings, automatic connection to the Internet does not occur, you need to configure it again using one of the methods described above. In this case, you should carefully check:

  • syntax for writing commands if automatic connection was configured through service creation, registry or batch file;
  • Internet properties settings if the configuration was done through the Network and Sharing Center;
  • the presence of a connection shortcut in the automatic download folder, if this method was used.

The most correct way to solve the problem is to simply change the configuration method to one of the others described above. Some will turn out to be successful.

Automatic connection network connection today is actual problem for users of Windows 7 – 10. After all, after turning on the computer, as a rule, a person immediately goes online to check mail or messages on forums, instant messengers, and social networks. If in the “seven” setting up an Internet connection was easy, then in the x64, as in the “ten”, not everyone can add a computer connection to the network to startup due to the unusual location of the settings and configuration methods. Therefore, let’s get acquainted with ways to activate the connection to the global network on Windows 10 and 7, which are the most popular operating systems. By the way, the described methods are also suitable for the “eight”, but due to its low popularity we will not dwell on it in detail.

Automatic connection to the network in seven

Setting up an existing connection can take even longer than creating a new one, so we'll start by removing the existing network connection. It works the same way for Windows 10 and 7.

  • In the “Control Panel”, call up the “Network and Sharing Center”.

You can also access the network settings using the context menu of the network connection activity icon located in the tray.

  • Go to “Adapter Settings” through the menu located in the right frame of the window, turn off the Internet connection and delete it.
  • We return to the “Network Control Center” and create a new connection to the Internet.

  • Select a connection option.

  • Specify your connection type.
  • We enter the login and password received from the provider and call the connection.

As a rule, the user remembers this data or can find it in the contract concluded with the company providing the Internet access service.

If the computer is used by several people on different accounts, we allow other users to use the connection. This will eliminate the need to configure a network connection on each account.

  • We close the window.
  • We visit “Changing parameters network adapter", where the created connection will be configured.

  • Call up “Properties” of the active network that you just created, and click “Properties” again.

  • In the “Options” tab, check “Request a password...” and click “OK”.

  • We close all windows, agreeing that the settings will be applied after the reboot.

Actually, now we will activate automatic connection after Windows 7 starts.

  • Call “Browser Options” in the network settings.

  • In the “Connections” tab, move the switch to the position as in the screenshot so that the created connection is used by default.

  • In the same window, click “Settings” and check the “Automatic detection of parameters” option.
  • Apply the changes and restart the computer.

  • If all instructions are properly followed, the following window will appear, where we put a checkbox next to the only option and click “Connect”.

Automatic connection to the global network in the top ten

Automatic connection to the Internet in the “top ten” is carried out using an alternative method, with the exception of adding a network connection shortcut to the “Startup” directory.

  • Open the search engine Windows string 10 and enter “regedit” to launch the system registry editor.

You can also call it by entering the same command into the “Run” window launched via Win + R.

  • We go through the registry branches in the following order:

If only the current user needs to automatically connect to the Internet, instead of HKLM, follow the suggested path in the HKCU section.

  • Open the “Run” branch, where the keys with the paths and names of most applications launched with Windows 10 are located.

  • We create a string parameter by calling context menu key-free area of ​​the window.

  • Double click on the new object Windows registry 10 and give it any name in the first line of P “Parameter”.
  • In the “Value” form, enter the following commands: rasdial “Name” login password.

The command should look like this: rasdial “ByFly” 32f3f 34g4 – the connection name must be enclosed in double quotes.

You can always find out the connection name in network connections.

  • Click “OK” to apply the changes.
  • Close the application and restart Windows 10 to check whether the auto-connection to the Internet is working.


At starting Windows 10 a small window will appear while the connection is being established; after a few seconds of display, it will disappear spontaneously.

(Visited 38,632 times, 1 visits today)

Almost every user sooner or later wonders how to enable automatic Internet connection in Windows 7.

This instruction is intended to answer all possible questions related to this topic. We hope you find it useful.

All actions, examples and screenshots in this material are relevant for Windows 7, as it remains the most popular today. But most of the operations, taking into account minor amendments, are also applicable to Windows 8 and 10.

Why start the Internet automatically

This setting greatly simplifies the process of using your PC. Precious time is not wasted on unnecessary actions. Plus, there are often situations when a person can miss important messages or letters for a rather annoying reason - he forgot about the Internet when turning on the computer.

Of course, installing a router will solve all these problems. The advantage of this solution is that after this not only desktop devices, but also other mobile gadgets will be combined into single network. All logins, passwords and other information are recorded in the memory of the router itself. In this case, even when changing a PC, most often there is no need to change anything.

Creation methods

There are many installation options. Still, the seventh and subsequent versions of the OS have a lot of different settings that allow you to adapt them to the most popular requirements.

Of course, everyone decides for themselves which method to choose. The user proceeds from his requests and capabilities. Also, a lot depends on the version of the update and the installed software. These factors can also influence the choice of option. But in any case, any of the methods listed below will work for you.

Video: Setting up automatic connection

Using Network Connections

Before starting all actions, check that your names are written in Latin letters. In any case, it is undesirable to use the Cyrillic alphabet in everything related to network settings. It’s better to fix everything right away and rename it than to later wonder why something doesn’t function as it should.

To check, open Network and Sharing Center. Next – “Changing adapter parameters”. To rename the desired connection, click on it twice, but with some interval.

Photo: the name is attributed to the Latin alphabet

All actions assume that you have already created a working connection.

If not yet, then the following steps will be useful to you:


File with extension .bat

It’s quite easy and quick to set up everything using a special bat file placed in “Startup”, which will perform all the actions for automatic connection.

For this:


Write the name of your file in any Latin letters without spaces and change its extension to “.bat”. You should end up with something like "internet_autostart.bat".

If you cannot change the extension, then follow these steps:


Please note that if you search for this folder manually, some of your names may be translated into Russian and, accordingly, look slightly different.

You need to move your bat file here. Be sure to reboot and check if this method works. If something doesn't work, then simply delete the file and try another option. The fact is that it does not work on all computers.

Network Sharing Center

Using only the “Network Sharing Center” you can achieve the desired result, but with one caveat. In this case, the computer will connect only at the moment when an application requests it. But, as practice shows, this suits the average user quite well.

So, go to “Change adapter settings” and open the properties of our connection. In the “Dialing Options” we put only one checkbox – “Request name, password, certificate, etc.”, and uncheck the rest.

Then it is advisable to make the following changes:


Some time after the reboot, a window will pop up asking you to select the desired action. Check the “Connect automatically” checkbox here. And the problem should be solved. If you want more advanced methods, then read on.

Setting up an automatic Internet connection in Windows 7 with Task Scheduler

Before creating a task in the scheduler:


Actually, after this you can move on to the next step - open the “Task Scheduler”.

You can do this in two ways:


That's basically it. Try restarting your computer. If you did everything correctly, the computer will connect automatically.

Autorun using Registry Editor

Alternatively, you can set up an automatic Internet connection in Windows 7 through the registry.

To start:

We hope that in this article you found the information you were looking for. In fact, there is nothing complicated here; even a novice user can easily figure it out.

Do not miss a single point, read carefully all the notes and comments, and then the result of your work will please you without errors or failures for a long time.

The widespread Internet connection technology PPPOE requires user authorization when connecting to the provider. Using a router makes this procedure invisible. Once configured, the connection occurs without user intervention. With a direct connection, you have to perform the operation yourself. You can bypass this procedure by setting up automatic Internet connection in Windows.

High-speed connections, which include PPPOE, are made in Windows from the Network and Sharing Center. IN different versions it has minor differences in the interface design, but the setup procedure has not changed.

Universal method

This method is suitable for all versions of Windows. Call up the “Run” dialog box and enter the command shown in the screenshot into it.

Starts classic panel management. Find and open Network and Sharing Center.

A menu of connection options opens. Select the top item and click the “Next” button to continue.

In the next window, we are immediately prompted to configure the desired connection type. If you put a check mark in the place marked with an arrow, all available options will open.

Filling in the parameters is the most important step when creating a new connection. Enter the name and password received from the provider. Place a checkmark in the save box. We set a short name for the connection in Latin. We will need this in the future when we set up an automatic connection to the Internet. In the fifth paragraph, check the box as desired. If there is only one user on the PC, it is not needed. When you decide to create separate profiles for yourself, your wife and children, it is necessary. We complete the work by clicking on the “Connect” button.

Using the entered parameters, the system establishes a connection with the provider’s server.

The connection is complete, you can go online.

The next time you turn on your PC, the connection can be activated from the system tray.

On Windows 10, the operation will take longer. You need to call up the notification menu. Select a network connection.

In the expanded menu, open the created PPPOE connection.

Activate the connection in the system settings area.

In Windows 10, the main disadvantage of this type of connection is revealed in all its glory. The Internet does not connect automatically, and the number of steps required to enable the connection has increased.

Automation

As we can see, users of new OS versions experience the most inconvenience. Therefore, as an example, we will consider auto-connecting the Internet in Windows 10.

The most simple option is to use a BAT batch file that controls the OS command interpreter. To create it we need text editor Notepad, included with all versions of Windows. Opening a new document, copy the following lines into it:

cd %systemroot%\system32

startrasdial

For 64-bit versions, replace “system32” with “sysWOW64”. In the second line we enter the data of the connection used, separating them with spaces:

skynetivanovpassword

The result should be the text shown in the following screenshot.

Open the “File” menu and select the marked item.

Save the file with the BAT extension to your desktop so that it is at hand.

Opening system folder startup by copying the following path into the Run menu:

%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup

Move the created BAT file from the desktop to the folder that opens. The system will ask you to confirm your authority to perform this operation.

The created batch file will be processed at the time the OS boots, starting an automatic PPPOE connection.

Task Manager

Using the Windows system scheduler allows you to create a rule in the system for processing recurring events. Let's use it to implement automatic switching on Internet connection when starting the PC.

We activate the scheduler with the command entered in the “Run” dialog box.

In the window that opens, select the Simple Task Creation Wizard and follow its instructions.

Set the process name, optionally filling in the description.

Select start when you turn on the computer.

As an action, mark the launch of the program.

Using the button indicated by the arrow, select the file “rasdial.exe”. We determine the location directory based on the bit depth of the OS, as when creating a BAT file. In the arguments field we indicate the connection name, login and password separated by a space.

Let's look at the summary. At this point, you can go back to change the settings. We complete the work by clicking on the “Finish” button.

In the above configuration, autostart of the high-speed connection will be performed for the current user. Adjust Extra options tasks can be done by opening the scheduler library.

Creating an Additional Service

Using the command line interface, you can create your own service, which will start when the PC boots, along with the system ones. Launch the CMD shell with administrator rights and enter into it:

sc create Skynet start= auto binPath= “rasdial skynet ivanov password” DisplayName= “Skynet” depend= lanmanworkstation obj= “NT AUTHORITY\LocalService”

Having received a notification that a new service has been successfully created, open the service console.

We look for the created service by the given name. Call the context menu to manually edit parameters.

On the first tab, change the startup type as shown in the screenshot and activate the service.

On the “Recovery” tab, we change the parameters of actions in case of failure, switching them to restart mode. Apply the changes made and close the parameters window by clicking on the “OK” button.

When the created service is no longer needed, you can delete it using the command "sc delete Skynet".

Windows 10 users who use PowerShell by default will also have to use the Command Prompt to avoid problems with command syntax.

Registry Editor

Direct changes to the system registry can also achieve the desired effect. To set up an automatic connection to the Internet, you will need to create an additional key yourself. Open the registry editor using the command shown in the screenshot.

In order for the created key to work for any PC user, open the HKLM branch and follow the designated path to the “Run” section. Call the context menu, expand it and select creating a string parameter. Give it the name “Skynet”.

Open the key for editing. Enter the connection name, login and password in the “Value” field. Enter the data in a continuous line without spaces.

As a result, the key should take the following form.

The created settings will take effect after the computer is restarted. Log in to your account and make sure there is a working network.

Finally

By choosing the appropriate method, you can implement automatic Internet connection in Windows 7 and higher without resorting to the help of third-party programs.

Connecting to the network manually every time you log in is tedious and quickly becomes boring. Therefore, it is important for the user to know that in all Windows versions There are methods that allow you to configure your computer so that it automatically connects to the Internet.

Why activate auto-connection

The only reason why you should activate an automatic connection to the Internet is to speed up the process of transitioning to working with the network. It's possible that some programs you use start when you turn on your computer and require an Internet connection to continue working. Auto-connection will allow them to immediately access the network rather than waiting for it to be activated manually.

Please note that if your traffic is limited, then automatic connection may negatively affect its consumption. For example, if you turn on your computer, a connection is established, and some program starts downloading the components it needs without notifying you about it.

Activating automatic connection

There are several ways to force the system to establish a connection automatically every time it starts. The instructions below will work as Windows users 7 and Windows 10 users. Some steps may differ, but any discrepancies will be noted.

Using task scheduling

  1. Expand Task Scheduler. You can find it through the system search bar.

    Find and open the task scheduler to begin activation

  2. Proceed to create a simple task by selecting the appropriate item in the list of actions.

    Click on the “Create a simple task...” button to start the process of the same name

  3. Write any name in the appropriate box. It will be better if it describes the action that is performed by this task.

    Set the task name (it is better if it describes the action that is performed by this task)

  4. In the "Task Trigger" stage, select the start time "When you log on to Windows."

    We indicate that the task is executed when Windows startup by checking the appropriate box

  5. At the action selection step, select “Run program”.

    We indicate that the task launches the program by selecting the item of the same name

  6. In the script name line, write rasdial. In the argument field, enter the sequence as follows: “Network name” login password. The name must be enclosed in quotation marks, all values ​​separated by spaces.

    In the script field we enter the string rasdial, and in the arguments we indicate the network name, login and password

  7. Check that all data has been entered correctly and complete the procedure. Done, you can restart your computer, and when you log in, the Internet will connect automatically.

    We check whether the data is specified correctly and complete the creation of the task

Creating a bat file

In any folder, create a normal Text Document and write the following lines into it:

  • cd %systemroot%\system32;
  • start rasdial *connection_name* *username* *password.

Create a text file and enter the command to convert it into a bat file

The network name, login and password are written without quotes, but with spaces.

Change the name of the resulting file to “Network name_autostart”, but it must end in .bat. That is, you should change the file format from txt to bat. After that, copy it to the final StartUp subfolder using the following path:

  • C:\ProgramData;
  • Microsoft;
  • Windows;
  • Start Menu;
  • Programs;
  • StartUp.

Move the bat file with the command to the StartUp folder to activate automatic connection

Changing the registry


Video: activating auto-connection in Windows 7, 10

Starting the service

  1. Use system search to find command line, right-click on it to open the context menu and select run as administrator.

    By calling the context menu with the right mouse button, open a command prompt with administrator rights

  2. Run the command: sc create startVPN start= auto binPath= “rasdial *connection_name* *username* *password*” DisplayName= “StartVPN” depend= lanmanworkstation obj= “NT AUTHORITY\LocalService”. All values ​​are indicated without asterisks, separated by spaces.

    Run the command sc create startVPN start= auto binPath= “rasdial *connection_name* *user_name* *password*” DisplayName= “StartVPN” depend= lanmanworkstation obj= “NT AUTHORITY\LocalService”

  3. Expand the “Run” window by holding down the Win+R combination, and then enter the service.msc command in it.

    Run the command service.msc to open the list of services

  4. A list of available services will open. Find the process you created and go into its properties. Set the startup type to Automatic.

    In the “Startup type” column, select the value “Automatic”

  5. In the “Recovery” tab, for all cases of failure, specify the “Restart service” function. Done, after restarting your computer, you will see that the system automatically connects to the Internet if the network you specified is available.

    We indicate that in case of any failure it is necessary to restart the service

Setting up a password-protected network and using the Startup folder

If you use PPPoE connection, L2TP or any other that requires you to enter a password every time you try to connect, you can use the following method:

  1. While in Control Panel, select the Network Connections (Windows 7) or View Network Connections (Windows 10) tab.

    Among the control panel elements, find and open the “View network connections” section

  2. By right-clicking the context menu of the connection you are using, select “Properties”, and in the window that opens, click on the “Properties” button.

    Open the connection properties and click on the “Properties” button

  3. Going to the “Options” tab, uncheck the “Request name, password...” function. Save your changes.

    Uncheck the option “Request name, password, certificate, etc.” and click OK to confirm the changes

  4. Return to the list of available networks, select the one you just configured, right-click on it and select the “Create shortcut” action.

    Place the created shortcut in the Startup folder

  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp - Windows 10;
  • C:\Users\yourname\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup - Windows 7.

Done, the shortcut is responsible for connecting to the Internet, and since it was moved to the Startup folder, the task launched by it will begin to run immediately after the user logs in.

What to do if a password-protected network does not work

If, after following the above steps, you are faced with the fact that the network is not working, that is, there is no Internet connection, you need to re-configure:

  1. With Control Panel open, go to Network and Sharing Center.

    Enter the network name, login and password

You can force your computer to connect to the network yourself in several ways: through a bat file, the registry, network management, creating a service or task. The only thing you need for this is knowledge of the connection name, as well as the login and password from account, allowing you to log in to the network.



tell friends