Internet Connection Sharing command

  • Thread starter Thread starter mygoogleac
  • Start date Start date
M

mygoogleac

Is there a way to enable and disable Internet Connection Sharing from
the command prompt as oppose to doing it manually via the dialog
boxes?

Thanks,
SLS
 
Hi,
I don't believe that there is a command that will
actually 'enable' and 'disable' ICS. However, if you set
the service to manual you can then use cmd prompt to
start and stop the service. To stop the service enter the
following cmd into the run box:

net stop "Internet Connection Firewall (ICF) / Internet
Connection Sharing (ICS)" /y

To start the service enter:

net start "Internet Connection Firewall (ICF) / Internet
Connection Sharing (ICS)" /y

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top