scripting network components options

  • Thread starter Thread starter Jack Ryan
  • Start date Start date
J

Jack Ryan

Hi there, I have searched high and low for answers to this simple problem
but so far come up blank. Is there a way to select /deselect networking
component items that you can see when you right-click your Local Area
Connection > Properties using a script?

I need to disable the security policy of my VPN client whose policy stops
*all* incoming connections to my PC including "ping" if I am not on the
corporate network subnet, like at home or on a customer site. To disable it
completely, I have to deselect the virtual VPN networking component on the
Local Area Network Connection Properties.

I have a script that stops/starts the VPN application and stops/starts the
corresponding service but the final step is to uncheck the VPN virtual
adaptor in the Local Area connection which I currently have to do manually.

So, again, is there a scriptable way to check/uncheck networking components
on the Local Area Connection > Properites > General tab?

Thanks in advance - help me save what hair I have left!
 
For online peer support, join the
microsoft.public.windows.server.scripting community on the
msnews.microsoft.com news server.
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx

| Hi there, I have searched high and low for answers to this simple
problem
| but so far come up blank. Is there a way to select /deselect
networking
| component items that you can see when you right-click your Local
Area
| Connection > Properties using a script?
|
| I need to disable the security policy of my VPN client whose policy
stops
| *all* incoming connections to my PC including "ping" if I am not on
the
| corporate network subnet, like at home or on a customer site. To
disable it
| completely, I have to deselect the virtual VPN networking component
on the
| Local Area Network Connection Properties.
|
| I have a script that stops/starts the VPN application and
stops/starts the
| corresponding service but the final step is to uncheck the VPN
virtual
| adaptor in the Local Area connection which I currently have to do
manually.
|
| So, again, is there a scriptable way to check/uncheck networking
components
| on the Local Area Connection > Properites > General tab?
|
| Thanks in advance - help me save what hair I have left!
|
|
 

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