Home All Groups Group Topic Archive Search About

Use "Scheduled Tasks" to turn on/off Local Area Connection?

Author
26 Aug 2006 5:48 PM
vasilemj
Is it possible to use the "Scheduled Tasks" feature of windows to my local
area connection on and off?  I am willing to leave my computer on during the
day while I am at work but I don't want to have to be connnected to my router
and the internet other than during specific time frams?

Is this possible, and if so, could someone help me out with setting this up?

Thanks,
Mark V.

Author
27 Aug 2006 12:24 AM
Robert L [MS-MVP]
You may create a batch file including netsh command.

windows tools Using Netsh command to troubleshoot NAT issue Why I can't get print spooler when typing net start art print spooler? What's Netsh? Management Utilities ...
      www.chicagotech.net/wintools.htm 


Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
  "vasilemj" <vasil***@discussions.microsoft.com> wrote in message news:35BDA86C-E7F9-41F2-88AE-F1CC22A0079A@microsoft.com...
  Is it possible to use the "Scheduled Tasks" feature of windows to my local
  area connection on and off?  I am willing to leave my computer on during the
  day while I am at work but I don't want to have to be connnected to my router
  and the internet other than during specific time frams?

  Is this possible, and if so, could someone help me out with setting this up?

  Thanks,
  Mark V.
Author
28 Aug 2006 3:43 AM
vasilemj
Thanks Robert.  I did some research on NETSH but couldn't find sytax that
would enable or disable my local area connection.  I hate to ask this but
would it be possible for you to compose a small script that I could use?  I
may be overlooking a simple command but I can't seem to find it or understand
which helper DLL to use in this situation.

Thanks,
Mark V.

Show quoteHide quote
"Robert L [MS-MVP]" wrote:

> You may create a batch file including netsh command.
>
> windows tools Using Netsh command to troubleshoot NAT issue Why I can't get print spooler when typing net start art print spooler? What's Netsh? Management Utilities ...
>       www.chicagotech.net/wintools.htm 
>
>
> Bob Lin, MS-MVP, MCSE & CNE
> Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
> How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
>   "vasilemj" <vasil***@discussions.microsoft.com> wrote in message news:35BDA86C-E7F9-41F2-88AE-F1CC22A0079A@microsoft.com...
>   Is it possible to use the "Scheduled Tasks" feature of windows to my local
>   area connection on and off?  I am willing to leave my computer on during the
>   day while I am at work but I don't want to have to be connnected to my router
>   and the internet other than during specific time frams?
>
>   Is this possible, and if so, could someone help me out with setting this up?
>
>   Thanks,
>   Mark V
Author
29 Aug 2006 2:49 AM
vasilemj
I found a way to do this using DEVCON but thanks for the help Robert.

Show quoteHide quote
"vasilemj" wrote:

> Thanks Robert.  I did some research on NETSH but couldn't find sytax that
> would enable or disable my local area connection.  I hate to ask this but
> would it be possible for you to compose a small script that I could use?  I
> may be overlooking a simple command but I can't seem to find it or understand
> which helper DLL to use in this situation.
>
> Thanks,
> Mark V.
>
> "Robert L [MS-MVP]" wrote:
>
> > You may create a batch file including netsh command.
> >
> > windows tools Using Netsh command to troubleshoot NAT issue Why I can't get print spooler when typing net start art print spooler? What's Netsh? Management Utilities ...
> >       www.chicagotech.net/wintools.htm 
> >
> >
> > Bob Lin, MS-MVP, MCSE & CNE
> > Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
> > How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
> >   "vasilemj" <vasil***@discussions.microsoft.com> wrote in message news:35BDA86C-E7F9-41F2-88AE-F1CC22A0079A@microsoft.com...
> >   Is it possible to use the "Scheduled Tasks" feature of windows to my local
> >   area connection on and off?  I am willing to leave my computer on during the
> >   day while I am at work but I don't want to have to be connnected to my router
> >   and the internet other than during specific time frams?
> >
> >   Is this possible, and if so, could someone help me out with setting this up?
> >
> >   Thanks,
> >   Mark V
Author
29 Aug 2006 3:56 AM
Robert L [MS-MVP]
Thank you for the feedback.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
  "vasilemj" <vasil***@discussions.microsoft.com> wrote in message news:E471C241-4F90-429C-8E68-1EB3B69B6A44@microsoft.com...
  I found a way to do this using DEVCON but thanks for the help Robert.

Show quoteHide quote
  "vasilemj" wrote:

  > Thanks Robert.  I did some research on NETSH but couldn't find sytax that
  > would enable or disable my local area connection.  I hate to ask this but
  > would it be possible for you to compose a small script that I could use?  I
  > may be overlooking a simple command but I can't seem to find it or understand
  > which helper DLL to use in this situation.
  >
  > Thanks,
  > Mark V.
  >
  > "Robert L [MS-MVP]" wrote:
  >
  > > You may create a batch file including netsh command.
  > >
  > > windows tools Using Netsh command to troubleshoot NAT issue Why I can't get print spooler when typing net start art print spooler? What's Netsh? Management Utilities ...
  > >       www.chicagotech.net/wintools.htm 
  > >
  > >
  > > Bob Lin, MS-MVP, MCSE & CNE
  > > Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
  > > How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
  > >   "vasilemj" <vasil***@discussions.microsoft.com> wrote in message news:35BDA86C-E7F9-41F2-88AE-F1CC22A0079A@microsoft.com...
  > >   Is it possible to use the "Scheduled Tasks" feature of windows to my local
  > >   area connection on and off?  I am willing to leave my computer on during the
  > >   day while I am at work but I don't want to have to be connnected to my router
  > >   and the internet other than during specific time frams?
  > >
  > >   Is this possible, and if so, could someone help me out with setting this up?
  > >
  > >   Thanks,
  > >   Mark V