This article gives an example of how to do this via a script.
http://www.mcpmag.com/columns/articl...itorialsID=619
--
Doug Knox, MS-MVP Windows XP/ Windows Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Associate Expert
ExpertZone -
http://www.microsoft.com/windowsxp/expertzone
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.
"Brain" <(E-Mail Removed)> wrote in message
news:28d701c3a71a$71b40f80$(E-Mail Removed)...
> I am running XP Home with a DSL connection, dual
> firewalled, intrusion detection, AV and the whole nine
> yards, but am paranoid as a matter of course. What I
> would like to do is disable the Local Area Connection
> automatically when I log out and re-enable it when I log
> in so that the firewall, etc. cannot be attacked unless I
> am logged in.
>
> One can right click on the icon under "Network
> Connections" to disable/enable, so my question is what
> command(s) would allow me to do this from a script?
>
> Thanks in advance,
>
> Brain @:-)