disconnecting lan port

R

rick_od

is there a command that i can put into a batch file that will turn off and on
my lan port ??

i have a work desktop that runs a dialup program at 2am and sometimes via
the lan, it will get patches and reboot and thus turn off the program i need
to run at 2am. i have no problem with the desktop getting the patches during
the day.

any help would be greatly appreciated
 
J

Jack [MVP-Networking]

Hi
Putting the line "ipconfig /release: (with no quotation mark) will release
the Network connection.
A bat fie with ipconfig /renew will reconnect.
Jack (MS, MVP-Networking).
 
R

rick_od

Jack,
Worked great....Thanks !!!
Rick

Jack said:
Hi
Putting the line "ipconfig /release: (with no quotation mark) will release
the Network connection.
A bat fie with ipconfig /renew will reconnect.
Jack (MS, MVP-Networking).




.
 

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

Top