[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Scheduled Reboot Of Sonicwall

Posted on 2014-04-09
4
Medium Priority
?
5,731 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 1500 total points
ID: 39988744
Here is the SonicWALL documentation on this - Link
0
 
LVL 27

Expert Comment

by:Blue Street Tech
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

Optimal Xbox 360 connectivity requires "OPEN NAT". If you use Juniper Netscreen or SSG firewall products in a home setting, the following steps will allow you get rid of the dreaded warning screen below and achieve the best online gaming environment…
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 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