Connect on startup - Windows

In many applications, it is necessary for the modem to start as soon as Windows starts. To do this, follow the steps below:

This instruction applies when using the modem via USB with Windows 10 operating system.

Step-1: Go to Network & Internet:

  • In the Settings window, click on "Network & Internet."
  • In the Network & Internet settings, select "Network and Sharing Center" from the menu.
  • In the Network & Internet settings, select "Network and Sharing Center" from the menu.

AM-201 autoconnect

Step-2: Set Up a New Connection:

  • Click on "Set up a new connection or network."
  • The "Set up a connection or network" wizard will open. Choose "Connect to the Internet" and click "Next."
  • Select "Set up a dial-up connection" and click "Next."

AM-201 autoconnect dialup

  • Select “Dial-up” connect.

AM-201 autoconnect dialup connect

  • Enter the phone number provided by your Internet Service Provider (ISP) into the "Dial-up phone number" field.

AM-201 autoconnect dialup credentials

  • Enter "Connection name" for your reference to connect network. Here, enter “Dial-up Connection”
  • If required, Enter the username and password provided by your ISP.
  • Check the box to remember your credentials if you don't want to enter them every time you connect.
  • Click "Connect" to finish setting up the connection.

AM-201 autoconnect dialup connect

  • In case of a successful connection to the internet you will be presented with the option to browse the internet now.
  • Now, you can see your new connection if you click on the network icon located on the task bar.

AM-201 autoconnection dialup connected

Step-3: Creating a batch file for auto connect at startup:

  • Create New text document and name it as you given name in connection name.
  • You need to change the extension of the file. Change it to .bat which will convert the file into a system batch file from which windows can execute commands. Here, create a file name as Dial-up Connection.bat.

AM-201 autoconnect connection.bat

  • Now, Edit the batch file and write below code:

AM-201 autoconnect connection code

  • Change yourusername and yourpassword with your actual username and password for the connection. You could also change Dial-up Connection with name of the connection name you created.If not required username and password then not need to write here.
  • Save the file and exit from file.
  • Now, double click the bat file and see if the connection is established or not.

AM-201 autoconnect connection prompt

Step-4: Setting the batch file to run automatically 

  • To do this, first you have to lunch the Run prompt. By clicking, window+R.
  • Type shell:common startup – for opening the startup folder. This will only work if the network connection you created has been available to all users.

AM-201 autoconnection shell run

  • To enable the bat file automatic startup, copy the created bat file in this folder.

AM-201 autoconnection script path

  • You can check that the bat file that you have placed in the startup folder will run by lunching Task manager and going to the startup tab.
  • It’s done. Restart your system to see it works.