Solved

Scheduled Reboot Of Sonicwall

Posted on 2014-04-09
4
4,968 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VPN tunnel up, but no pings or remote resource access 13 154
jump server vs push server 6 191
Opening Ports 18 116
Fortigate: access IPSEC remote site over ssl-vpn 4 19
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 article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 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