Automatically connect to the Windows 7 network. Automatically connect to the Internet on Windows. Alternative methods for automatic connection

  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 systems 7 and Windows 8, and even Windows XP. We will use little-known ones Windows features, the Rasdial team, is the one that performs automatic dialing for Microsoft clients.

Note: after successfully creating an automatic Internet connection, quit your Opera, Mozilla or Google Chrome will also launch 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 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 we write:

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

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, it is the correct way to world wide web is an indicator of the performance 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 contract papers that were given to you when the employee initially set up the Internet. 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 computer obtains an IP address on the network “by itself” - that is, we simply 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 that, 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 a 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!

This article is for those who have not yet purchased a router and are connecting to the Internet on a computer. Although nowadays, with phones and tablets with Wi-Fi, I believe that it is much easier and more convenient to have Wi-Fi router 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 have configured your own VPN server). And we want the connection to occur in automatic mode 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.

1) We need the Internet connection name to be on English language. 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 the user logs in.

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- 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 “Finish”.

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

That's it, now when you turn on the computer 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 in an arbitrary place text file. 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"

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 in the OS Windows auto connect Internet.

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 everyone Windows versions. 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 desired type connections. 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 text editor Notepad, included with all versions of Windows. Opening 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.

Created batch file will be processed when the OS boots, triggering 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. You can adjust additional task parameters by opening the scheduler library.

Creating an Additional Service

Using the interface command line, 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 on the following form.

The created settings will take effect after the computer is restarted. Login to 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 nowadays, with phones and tablets with Wi-Fi, I believe that it is much easier and more convenient to have Wi-Fi at home router 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 available model) and shift the responsibility for connecting to the Internet to it. For some time now I have preferred TP-Link and this moment I use it exactly. 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.