Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

How can I share my Wireless Internet with an existing local network?

I don't want to create new Wireless Network Connection 2 using this command:

netsh wlan set hostednetwork mode=MODE ssid=SSID key=KEY keyusage=KEYUSAGE 

Currently I use this:

  1. Open Network Connections by clicking the Start button, clicking Control Panel, clicking Network and Internet, clicking Network and Sharing Center, and then clicking Manage network connections.

  2. Right-click the connection that you want to share, and then click Properties. Administrator permission is required. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

  3. Click the Sharing tab, and then select the Allow other network users to connect through this computer’s Internet connection check box.

That is a lot of clicks. Using the command line can speed up this process. But I don't know how to do it by command line.

In Windows XP, a user can use

netsh routing ip autodhcp install
netsh routing ip autodhcp set interface name="Local Area Connection" mode=enable
netsh routing ip autodhcp set global 192.168.0.1 255.255.255.0 11520

but in Windows 7 command netsh routing does not exist.

share|improve this question

marked as duplicate by Tog, Mokubai, Dave M, Ƭᴇcʜιᴇ007, Michael Kjörling Sep 26 '13 at 11:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
No answer yet, but a official MS site which says that netsh routing isn't available in Windows 7 - only in Windows Server 2008 (and XP). Maybe AutoHotKey can be a replacement? –  nixda Aug 5 '13 at 21:56

1 Answer 1

You can cut down on clicking by creating a quick launch button that goes directly to the wireless network connection status panel.

After creating the quick launch toolbar, go to the Start Menu and type ncpa.cpl in the search box. In the window that opens you can drag the icon for the appropriate network to the quick launch toolbar.

It seems the only alternative to this would be a software application. Virtual Router or Connectify Hotspot might meet your needs.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.