How to create an automatic Internet connection. Automatic Internet connection on Windows

How to create an automatic Internet connection. Automatic Internet connection on Windows

13.11.2022

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, the question 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 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 login Internet access makes working at the computer more productive and comfortable.

Activating automatic connection

You can configure your computer to automatically connect to the Internet using different methods. The best option– transfer of all implementation functions to a modem or router. Most modern devices of this type 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 to automate 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 icon network connection in the taskbar located at the bottom of the screen by clicking on the appropriate 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 network connections window, find what is responsible for the Internet connection and 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 request 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 “ 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 in Windows cmd or bat files are most often found.

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 the previous methods, the basis is the execution of the rasdial command. To create a new service, you must:

  1. Open window command line Windows. 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;
  • presence of a connection shortcut in the folder automatic download, if this method was used.

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

Today we will deal with the question of how to set up the Internet on a computer or laptop. As a rule, the Internet is set up by an employee of the provider at the moment when you enter into an agreement with him for the provision of services - after all, correct access to the World Wide Web is an indicator of the completion of this service. However, later when reinstalling Windows or buying a new computer, the Internet settings may go wrong, and here we will be faced with a dilemma - call technical support or do everything ourselves. In fact, this task is not at all difficult, so by reading this article to the end, you can save money more than once.

How to set up Internet on a computer via cable?

The most common type of connection is cable - they extend a wire into your apartment with a special LAN connector at the end, which is inserted into network card in a PC case. However, depending on the provider, there are several types of network connections. How to properly set up the Internet and in what way the connection to the World Wide Web occurs should be indicated in the papers of the contract that you were given upon initial setup Internet employee. There are several of them - automatic IP, static IP, PPPoE, L2TP, with filtering by MAC address. Let's look at them in order.

Internet setup automatically

I called this type automatic, because if your provider connects you using this type, then you are lucky - you don’t have to configure anything at all. With it, the network happens “by itself” - that is, we just plug in an Ethernet cable and use the Internet. If it doesn’t work, then make sure that all configurations are reset - to do this, go to “Start > Control Panel > Network and Internet > Network and Sharing Center > Manage network connections > Change adapter settings”, right-click on “ Connection via local network" and go to "Properties > Internet Protocol version TCP/IP v.4". Here all values ​​should be set to “Automatic”, as in the picture

Connecting to the Internet on a computer with authorization

In this fairly common type, or rather types, because there are two of them, you will have to work a little and manually create a connection and enter your username and password to set up an Internet connection. If every time you access the Internet, you click on the desktop icon, a connection window opens in which you click on a button - this is your case.


PPPoE

PPPoE - connection to the provider’s servers occurs only using a login and password. If you suddenly reinstalled Windows, then to restore the ability to log out, do the following:

  1. Go to “Start > Control Panel”

  2. further in “Networks and Internet”


  3. and in the “Network and Sharing Center”


  4. Here somewhere on the page (in the left column for Windows 7 or in the main window in Windows 8 and 10) we see the menu item “Set up a connection or network” - click on it


  5. Here we select “Connect to the Internet” and click “Next”


  6. Select “High-speed (PPPoE)” and move on


  7. We enter the login and password issued by the provider - they are usually specified in the contract.


  8. After this, we return to the “Network Center” and find the “Change adapter settings” link in the menu - click on it.


  9. We find “High-speed connection” - now it is in the “Disabled” state.


  10. Double-click on it and a login window will open. Click the “Connect” button and rejoice! For convenience, this “High-speed connection” can be dragged with the mouse to the “Desktop”, creating an icon with a quick link.


L2TP

L2TP is another type of Internet setup with authorization. To activate it, we do everything the same as in the previous method, up to and including step No. 4.


Connecting a laptop to the Internet with a static IP

The next type will not ask you to enter your login and password and click on the icons to connect each time, but it does require manually entering the IP address settings to connect to the provider’s equipment. For settings, we go through the chain “Start > Control Panel > Network and Internet > Network and Sharing Center > Manage network connections > Change adapter settings”, right-click on “Local Area Connection” and go to “Properties > Protocol” Internet version TCP/IP v.4".

And enter into the IP address and DNS server fields the values ​​provided by the provider.

Filtering by MAC address

And finally, the provider can apply filtering by MAC address to any of the above types. This means that you can connect to the Internet only on the computer that is registered with the provider. Insert the cable into another one and the Internet will disappear. This problem usually appears at the moment when you bought new computer(or network card), brought it home, but the Internet does not work. To be honest, I don’t even understand why some of our “friends” do such garbage, but if this is the case, then you can only activate network access by calling the support service and saying that you bought a new PC.

That’s all for today - I’m sure that you now know exactly how to connect the Internet to your computer and can 100% do it yourself!

Automatic connection network connection today is a pressing problem for Windows users 7 – 10. 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.

  • Indicate 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 set up 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 let’s activate automatic connection after Windows startup 7.

  • 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.

  • Opening search bar Windows 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)

Many providers around the world offer their Internet services through the so-called high-speed PPPoE connection (Point-to-Point Protocol over Ethernet). To connect to the Internet via PPPoE, ISPs usually give their customers a unique username and password, which are required to connect to their networks.

The disadvantage of PPPoE is that you have to manually start the connection every time you turn on the computer. This is an annoying inconvenience that many users would like to forget about once and for all. In this article, I will talk about the settings with which a computer with such a connection will connect to the Internet automatically during startup.

1. Launch the task scheduler

First of all, we need to launch the regular task scheduler. The simplest and quick way to do this is to use the system search window. Enter the first few letters of your keyword and then click on “Task Scheduler” in the search results.

In Windows 10, Task Scheduler can also be launched from the Start menu: All Applications\Administration ToolsWindows.

In the control panel it is located at the following path: Control Panel\System and Security\Administration.

Regardless of the chosen method, you will see the following window as a result:

2. Schedule automatic connection upon login

Now we need to schedule an automatic connection to the Internet every time we log in.

In the task scheduler window on the right, click “Create a simple task.”

In the task creation wizard window, enter a name for the task, for example, “Auto dial”. You can also enter a description, but this is not necessary. Click “Next”.

Next, we need to choose when exactly our task should be performed. Since our goal is for the PPPoE connection to automatically connect to the Internet every time we log in, we select “When I log on to Windows.” Click “Next”.

The penultimate stage of creating a task is choosing an action. We need the PPPoE connection to start automatically with Windows. Accordingly, select “Run program”. Click “Next”.

Now the most important part of the process is setting up a script that will be executed automatically.

In order for the system to automatically connect to the Internet via PPPoE, you must enter the following information:

  • In the Program or Script field, enter the command rasdial.
  • The "Add arguments (optional)" field must contain the connection name (in quotes) and the username and password preceded by a hyphen. For example, let's say your PPPoE connection is called WWW, and to connect to it you use the username Ivan and password 123456 . In this case, you need to add the following arguments: " WWW"Ivan 123456.

Field " Work folder» leave blank.

At the final stage you will see short description created task. Click “Finish”.

After closing the wizard, you will be returned to the main Task Scheduler window, where you will see that your task has been added to the list of other scheduled tasks.

3. Restart the computer and check

Finally, restart your computer to check the results of your actions. If all steps were completed correctly, the system should connect to the Internet automatically after rebooting. Please note that from now on, each time you log in, a console window will briefly appear on the screen, signaling that the connection process has started.

Have a great day!

Just ten years ago, the Internet was kind of just one of those things that we could do on our PC. After playing games and working with applications, you could connect to the Internet - find out what’s going on in the world, check your email, and look for some necessary information.

Perhaps some people still live by these rules, but for most today, accessing the network is business number one, immediately after turning on the PC.

Therefore, it would be quite logical to make the Internet connect automatically immediately after turning on the PC and loading the Windows operating system.

If this doesn’t happen to you initially, and simply moving the connection shortcut to startup doesn’t work, then this material is for you.

So let's take a look at what you've had to do manually so far.

First, you had to open the network connections menu from the system tray.

Secondly, there it was necessary to select and activate one of the connections.

And finally, thirdly, you must at least click the “connect” button in the login entry window and .

Let's start with the fact that you can get rid of the third point - the window for entering your data without any tricks, simply by turning off its display in the settings.

This is true if the connection is used only by you or those people who, for some reason, without any questions asked, can be trusted to connect to the network from the PC on which you work.

In such a situation, seeing a window in front of you every time with entering your login/password is simply pointless.

To fully make an automatic connection to the Internet, you will have to briefly look into the registry editor.

Press “Win” and “R” on your keyboard at the same time (Win is the key with the Windows logo), after which the system “Run” window will appear in front of you.

Enter “regedit” there without quotes, press “Enter”, then confirm your action for the security system.

Here is the registry editor. Follow the following path in it: HKEY_CURRENT_USER -> Software -> Microsoft -> Windows -> CurrentVersion -> Run.

Here you can find almost (see note) all those applications that launch immediately after loading the operating system.

It is through the registry editor that we need to write a command into the system that would automatically connect to the global network as soon as you turn on your PC.

To do this, right-click on any free space and select “create” -> “string parameter”.

Its name can be completely arbitrary; by default, the editor will offer you the name “New parameter #1”, which you can accept or replace with anything of your own.

Here you need to write the following sequence, consisting of four components: the “rasdial” command (it performs the procedure), the name of your connection, as well as the login and password for it.

In the end, everything should look something like this (with the only difference being that, of course, everyone has their own login/password combination):

You can always see the name of the connection in the connections menu, which is activated from the system tray. Everyone also comes up with their own name, although some, like us, agree to the default option “High-speed connection”.

Please note: in the registry this name is always written in quotation marks. If you don't install it, it won't work.

Next, click “Ok” and close the editor. After restarting your PC, you no longer have to connect manually. At the same time, so that you know that there is an Internet connection, Windows will display a special message at the very beginning, which, after appearing on the screen for a few seconds, goes away by itself.

Note. If at the very beginning you follow exactly the same path, but starting not with “HKEY_CURRENT_USER”, but with “HKEY_LOCAL_MACHINE”, then you will set up an automatic connection to the Internet not only for your Windows 7 account on this PC, but also for the accounts of other users ( if there are any, of course).

© 2024 hecc.ru - Computer technology news