Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Author:

Yang You MVP

COMMUNITY SOLUTIONS CONTENT DISCLAIMER

MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

SUMMARY

This article describes how to establish and hang up a Dial-Up connection by rasphone.exe command.

MORE INFORMATION

How to setup dial-up connection by rasphone.exe command

  1. Click Start, type rasphone -a in the Start Search box, and then press Enter key.

  2. Click Dial-up button on the How do you want to connect page.

  3. Type the telephone number and destination name(e.g. Dial-Up), on the Type the telephone number to connect to page, click Next button to continue.

  4. Type your user name and password, and make sure the Remember this password check box has been selected, on the Type your user name and password page, click Create button to continue.

  5. Click Start, type rasphone -e <destination name> in the Start Search box, and then press Enter key.
    Note: you must use the destination name which typed in step3, for example, Dial-Up. 

  6. On the Options tag of the Dial-up Properties, Clear the following selection:
    a. Prompt for name and password, certificate, etc.
    b. Include Windows logon domain.
    c. Prompt for phone number.
    then click Ok button.


How to establish a dial-up connection by rasphone.exe command

  1. Click Start, type rasphone -d <destination name> in the Start Search box, and then press Enter key.
    Note: The destination name must be same as the one you created in the How to setup Dial-up connection by rasphone.exe command section.


How to hang up a dial-up connection by rasphone.exe command

  1. Click Start, type rasphone -h <destination name> in the Start Search box, and then press Enter key.
    Note: The destination name must be same as the one you created in the How to setup Dial-up connection by rasphone.exe command section.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×