Automatic Internet connection. How to set up an automatic Internet connection via PPPoE in Windows Make the Internet not turn on automatically

  1. How to make an automatic Internet connection if I don't have a router? My computer has two operating systems, Windows 7 and Windows 8, Internet services are provided by the Beeline provider. I want the Internet to connect automatically when I turn on the computer, for example, I turn on the computer and the Internet connects itself, and I don’t need to click on any Beeline shortcuts. I myself tried numerous recommendations from the Internet, but it didn’t help: 1) Created a task using the task scheduler. 2) Created a bat file (batch file) and placed it in the "Startup" folder at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp. 3) Created a dial-up connection and everything was useless. Windows 8 is especially alarming; according to rumors, it is generally impossible to make such a connection without a router.
  2. Hello admin, please tell me, how to make an automatic internet connection when starting the Windows 8 operating system, the most important thing is that this method is simple and suitable for all existing Internet providers, for example: Beeline, Dom.ru, MTS and so on.

How to make an automatic Internet connection

Hello friends, I often have to hang around my friends and set up an automatic Internet connection after installing the operating system. In today's article I will show you how to do this if you have not yet purchased a router. In fact, there are a lot of options and a dozen instructions could be written, but almost all of them are ineffective in the new Windows 8.1 operating system.

But there is one universal, and most importantly simple, method that works with all providers and in all the most common operating systems: Windows 7 and Windows 8, and even Windows XP. We will use little-known features of Windows, the Rasdial command, it is the one that performs automatic dialing for Microsoft clients.

Note: after successfully creating an automatic Internet connection, quit and your Opera, Mozilla or Google Chrome will also start automatically!

We will create a string parameter in the registry and indicate in it the name of our provider, login and password, then reboot and automatically access the Internet.

So, before work, just in case, create a system restore point, then right-click in the lower left corner and select “Run”

Enter the command “regedit” into the input field and click OK.

We are in the registry, here we find the section responsible for autoloading

For all users:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

or for the current user:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

In my case, for the current user

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Run

Right-click on an empty space in the section and select New -> String Parameter.

ATTENTION!

The method works on 8.1 only if the connection name consists of one word.

Will work - Beeline

Will not work - Beeline Internet.

Right-click on the parameter we just created and select Edit.

then, if your provider is Beeline, in the Value field write:

rasdial space "The name of your connection in quotes, which can be viewed in the Network and Sharing Center->Change adapter settings, for example Beeline",

This problem, when the Internet does not turn on automatically when the computer starts, only affects those users who connect to the World Wide Web using a modem. Since constantly connecting the Internet manually gets boring over time, it is advisable to configure everything so that the connection occurs automatically.

First of all, you need to set the name of the Internet connection in English. In the control panel, select “Network and Internet”, then “Network connections”. If the connection has not yet been created, then you need to do this; if it already exists, then you should rename the already created connection. The name can be given, for example, VPN.
Then you need to launch the Windows task scheduling feature. To do this, launch “Control Panel”, and sequentially select “System and Security”, “Administrative Tools” and “Task Scheduler”.

Then you need to create a task through the “Action” item. First you need to enter any name and description of the task and click “Next”. At the next stage, you need to choose an option when to connect the connection. You can choose "When the computer starts" or "When you log on to Windows." On the next “Action” tab, select “Run task”.

Then, in the “Program or script” field, you need to specify the program built into Windows, which is used to work with network connections - C:/Windows/system32/rasdial.exe. And in the “Add arguments” field you must enter a command in the following form: *connection name* *login* *password*. For example, Beeline VasyaP 12345.

Finally, you need to check the box “Open properties for this task...” and click "Done". The VPN network connection settings window will open, where you need to check the boxes “Run for all users” and “Run with pending rules” and click “OK”. Now, every time you turn on your computer/laptop, the network connection will occur automatically.

An alternative way to automatically connect to the Internet

You can also set up an automatic Internet connection using the program autostart function. First you need to create a BAT file. Open notepad and fill it with the following text:
cd %systemroot%\system32
start rasdial VPN VasyaP 12345.

It is clear that you need to enter your own network name, login and password. After this, you need to save the document in Notepad and rename the file to VPN_auto.bat. If file permissions are not displayed, you can enable them through Explorer by selecting “Tools” - “Folder Options” - “View”.

Then you need to copy this file to the path C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp. You will need to restart your computer, after which the Internet should connect automatically.

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 design of the interface, but the configuration 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.

The classic control panel opens. 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 simplest option is to use a BAT batch file that controls the OS shell. To create it, we need the Notepad text editor, which is 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.

Open the system startup folder by copying the following path to 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. We use it to automatically turn on the Internet when the PC starts.

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. You can adjust additional task parameters 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 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.

At the request of one of the site visitors, I am writing this article. It concerns those of us who have not yet bought a router and connect to the Internet on a computer. Although in our time, with phones and tablets with Wi-Fi, I believe that it is much simpler and more convenient to have a Wi-Fi router at home and have an automatic connection to the Internet on it. But situations are different, and we will not go into details.

So, in fact, we have an Internet connection through technologies such as VPN, L2TP, PPPoe (This can also be used if you). And we want the connection to occur automatically when the computer starts, even before the user logs in. In principle, there is nothing complicated yet, so let’s move on to the instructions. In general, I think that now it’s easier to buy a router (from Ogo.ru, Mvideo or Tekhnosila, since the choice of prices allows you to choose an affordable model) and shift the responsibility for connecting to the Internet to it. For some time now, I have preferred TP-Link and am currently using it. A router is convenient because it allows you to connect any device with Wi-Fi to the network (phones, smartphones, laptops, tablets).

1) We need the name of the Internet connection to be in English. Rename it or set the correct name when creating the connection. I will use VPN.

2) This step applies to owners of Windows 7. Open the properties of the network connection, go to the “Settings” tab and uncheck the “Display connection progress”, “Prompt for name, password” and “Include Windows login domain”.

3) Next, open the Windows Task Scheduler. To do this, go to: Control Panel → “System and Security” group → “Administration” → “Task Scheduler” (or click Win+R and enter taskschd.msc ).

4) Select “Action” → “Create a simple task”:

5) The “Create a Simple Task Wizard” will open. Enter a custom name and description. Click next.

6) Place a dot next to “When the computer starts.” If desired, you can select “When you log on to Windows”, and the connection will be automatically created after logging in as a user.

7) Select “Run program”:

8) Now the fun part:
1) In the “Program or script” field, enter the program: C:\Windows\system32\rasdial.exe
rasdial.exe is a utility that has been built into Windows for a very long time and is used to work with network connections.
2) In the “Add arguments” field, write a command in the following form:

*connection_name* *user_name* *password*

where “username and password” is the username and password provided by your ISP.
In my case it will look like this (the data is fictitious):

VPN qazxderfv zxcvnzx

9) Check the box next to “Open properties for this task after clicking the “Finish” button and click “Done”.

10) Switch the point to “Run for all users”. We check the box next to “Run with highest rights” and in the “Configure for:” item, select our operating system. Click OK.

That’s it, now when you turn on the computer, the network connection should turn on on its own.

Alternative ways to enable automatic Internet start:

I. Using the program autorun function.

I believe that this article will not be complete if I do not add several alternative methods. And the first one will be about creating and using a BAT file.

1) So, first of all, of course, we need to create a BAT file that will connect to the Internet. To do this, create a text file in a random location. And fill it with text in the following format:

Cd %systemroot%\system32 start rasdial *connection_name* *username* *password*

2) Rename the file to VPN_autostart.bat. In order to change the file extension, you need to enable their display in the folder properties. In Windows 7, press the button Alt in Explorer and select “Tools” - “Folder Options”. In Windows 8 and 8.1, switch to the “View” tab in Explorer, select “Options” - “Change folder and search options.” There, on the “View” tab, look for the item “Hide extensions for registered file types” and uncheck the box. Click OK.

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"and copy the file into it.

This completes the first alternative method. It seems to be very simple, but for some reason it doesn’t always work.

II) Automatic start of the Internet through a registry entry.

The second alternative method is based on creating an additional parameter to start the network connection.

1) Open the registry by pressing the key combination Win+R and entering regedit , in the window that opens.

2) Open the following thread if you want to enable autorun for all users on the computer:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

If you want to enable autorun only for the current one, then you need this branch:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

I will create for all users.

3) Create a new string parameter with the name StartVPN and give it the format value:

Rasdial *connection_name* *username* *password*

Don’t forget that the VPN connection name should not contain Cyrillic characters. The next time you start your computer, your computer should automatically connect to the Internet.

III) Autostart the Internet by creating a new service.

This is another method that should automatically connect to the Internet before the user logs in.

Sc create startVPN start= auto binPath= "rasdial *connection_name* *username* *password*" DisplayName= "StartVPN" depend= lanmanworkstation obj= "NT AUTHORITY\LocalService"

This will create a new service that will run after all system services have started. In my case it will look like this:

Sc create startVPN start= auto binPath= "rasdial VPN qazxderfv zxcvnzx" DisplayName= "StartVPN" depend= lanmanworkstation obj= "NT AUTHORITY\LocalService"

In the console services.msc A new service should appear; if it does not appear, check the command syntax.

Open the service properties and change the parameter Startup type on " Automatic (delayed start)»

And go to the “Recovery” tab. And switch all three action items to “Restart the service”.

Now the connection will be made after starting the computer with automatic reconnection in case of an error.

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 the operating system boots.

It is through the registry editor that we need to enter 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).