Solved

Scheduled Reboot Of Sonicwall

Posted on 2014-04-09
4
4,659 Views
Last Modified: 2015-07-11
We would like to reboot our sonciwalls weekly if possible. Can this be done using GMS or through the sonicwalls themselves? We have mostly tz215s and we are using GMS 7.
Thanks
0
Comment
Question by:portillosjohn
4 Comments
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 39988688
Sonicwall does not include the functionality to restart the firewall on a schedule. you have to login and click restart.

Note: if you just pull the plug to restart it, the entries in the log are lost. We setup our Sonicwall so it sends us logs when the log reaches full capacity. Clicking the restart will send you that log if this is setup.

We have multiple TZ210W's at different clients.
0
 
LVL 11

Accepted Solution

by:
Miftaul earned 500 total points
ID: 39988744
Here is the SonicWALL documentation on this - Link
0
 
LVL 25

Expert Comment

by:Diverse IT
ID: 39989258
Nice find Miftaul!
0
 

Expert Comment

by:seg-support
ID: 40877516
After trying for weeks to figure it out, I go it to work! I thought I would share since I couldn't easily find it anywhere.

First download plink from the same site you get putty from. Put it in the C:\windows\system32 directory.

Fire up notepad and paste this in with your settings. Save it as a .vbs file and create a scheduled task on a server to run it how ever frequently you want.

Set cloner = CreateObject("WScript.Shell")
cloner.run"C:\windows\system32\Plink.exe -ssh admin@X.X.X.X"
WScript.Sleep 500

cloner.SendKeys"YourLogon"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"YourPassword"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"restart"
cloner.SendKeys("{Enter}")
WScript.Sleep 800

cloner.SendKeys"Y"
cloner.SendKeys("{Enter}")
WScript.Sleep 10000

cloner.SendKeys"Exit"
cloner.SendKeys("{Enter}")

This will restart the firewall and close the Plink.exe window. You can manipulate this to also backup settings. I will post that after some trials.

SEG - Tampa's Premier Managed Services Company
1

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Imagine you have a shopping list of items you need to get at the grocery store. You have two options: A. Take one trip to the grocery store and get everything you need for the week, or B. Take multiple trips, buying an item at a time, to achieve t…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question