Solved

Scheduled Reboot Of Sonicwall

Posted on 2014-04-09
4
4,477 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
We sought a budget ($5,000) firewall solution that would provide all the performance we needed with no single point of failure.  Hosting a SAAS web application in our datacenter, it was critical that we find a way to keep connectivity up and inbound…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now