Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to automate rebooting when network link is down?

02 Jun 2016   #1
prvnrk

Windows 7 Home Premium 64-bit
 
 
How to automate rebooting when network link is down?

Hello

I have no knowledge on batch programming or scripting on Windows 7. My requirement is to reboot Windows 7 Professional machine automatically when network link (wired) is down. We can also do a ping to a remote host (which is always UP) and if that fails, we can initiate a reboot.

If we can setup a batch file to perform this we can perhaps add it into the Windows scheduler to check every 5 or 10 minutes. Could anyone please provide me a full batch file for this requirement?

Many thanks!


My System SpecsSystem Spec
.
03 Jun 2016   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

I can think of some complicated ways of doing this using a batch file, but let's see what others post.

I would use a scripting tool like AutoIt. If no one posts a batch file, I'll try and put together some AutoIt code for you.
My System SpecsSystem Spec
Reply

 How to automate rebooting when network link is down?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
TP Link PCI wired network adapter problem
Hello guys, I'm new to this forum, but I've read your threads before, and it helped me alot. Well this is the thing. I've installed this LAN card (TF-3239D) in PCI slot of this motherboard (ELITEGROUP 945GCT - M2/1333 v1.0A) and I have one persistent problem, it won't get IP adress from my...
Hardware & Devices
Network link is disconnected
Hello , the problem is this: While surfing the web browser, downloading files or other network activity all okay when I go online game ( CS:GO , League of Legends , World of Tanks) ) I start to lost packets ,after that just (Connection problem)and i need to reconnect or restart my ethernet adapter,...
Network & Sharing
Is it possible to link an Ubuntu PC and a window PC over a network?
I want to know if it would be possible to have an Ubuntu PC and a Windows laptop connected to the same network, and to be able to exchange files and folders between the 2 devices?
Network & Sharing
Trying to Network a Printer on a D-Link DIR-625 A1
Hello all, I have D-Link DIR-625 which claims to have the ability to share USB devices accross a network. I have spent countless hours when I first bought the router 2 years ago and over the last few days trying to enable this feature. I'm really tired of leaving a computer on all the time w/...
Network & Sharing
Still can't link network printer
I just spent the past few days researching posts on this problem but nothing has yet to help. Based on all the posts, this must be a major issue. Like others, I have a pc running XP w/sp3 and printer attached and am attempting to print from my wireless laptop running Win7. I've tried multiple...
Network & Sharing
No Wired Network After rebooting
Hi, I have just rebooted my Laptop and Windows 7 is now telling me that there is no Internet Connection, the Cable is working fine as the router is showing a full Gigabit connection and I can connect to my NAS fine. But if I connect to the same router Wirelessly I have no problems! As I...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App