Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
November 18, 2008, 10:32:15 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
212095
Posts
24506
Topics
57678
Members
Latest Member:
rgoins
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Desktop Security Products
Comodo Firewall
Help for v2
Script to Backup CPF v2.4 firewall settings
« previous
next »
Pages:
1
...
4
5
[
6
]
7
8
...
11
Author
Topic: Script to Backup CPF v2.4 firewall settings (Read 58037 times)
AOwL
Comodo SuperHero
Global Moderator
Comodo's Hero
Offline
Posts: 2349
Comodo Firewall Pro - Be safe, use protection...
Re: Script to Backup CPF firewall settings
«
Reply #75 on:
January 11, 2007, 04:53:26 PM »
I had to repost the script... wrong version first...
Didn't create anything in "prior" folder... works now.
Logged
WinXP SP2 HE - IE7 - FF 2 - TB - CFP 2.4 - NOD32 - BoClean -ST - AMD64x2 - 3Gb Ram - 1.5Tb HD
panic
Global Moderator
Comodo's Hero
Offline
Posts: 5631
... and I say to myself, "What a wonderful world"
Re: Script to Backup CPF firewall settings
«
Reply #76 on:
January 12, 2007, 09:51:26 PM »
Quote from: panic on January 10, 2007, 08:06:08 AM
As soon as we get our hands on the next version,we'll test and post the results back here.
Cheers,
Ewen :-)
G'day,
Egemen has told me that V2.4 will have the same registry structure, so the REG file will work but, in addition to having to turn off registry protection, the firewall has to be temporarily set to "ALLOW ALL". This is the same as the current beta.
Hope this helps,
Ewen :-)
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
KPK4444
Comodo Member
Offline
Posts: 42
Re: Script to Backup CPF firewall settings
«
Reply #77 on:
January 13, 2007, 12:55:33 AM »
So what does this script back up? Will all the things in my application monitor be back, and will all my component monitor stuff be there too?
Logged
Rotty
Global Moderator
Comodo's Hero
Offline
Posts: 793
http://www.venganza.org/ - Noodly Appendage
Re: Script to Backup CPF firewall settings
«
Reply #78 on:
January 13, 2007, 12:58:23 AM »
As far as i know, everything in that registry directory holds the settings for everything to do with Comodo firewall.
Logged
The opinions expressed in my posts are my own.
They do NOT necessarily represent or reflect the views of my employer.
OldDuffer
Newbie
Offline
Posts: 3
Re: Script to Backup CPF firewall settings
«
Reply #79 on:
January 20, 2007, 07:17:33 AM »
Thanks for the script and for ensuring I did not have a major headache today.
Without the registry backup I would have had to spend time working out the settings for my network again.
p.s. What exactly is error 106, that is all I got when I try to update from V2.3.6.81.
«
Last Edit: January 20, 2007, 07:20:41 AM by OldDuffer
»
Logged
ttfn
BoB
rip_pit
Newbie
Offline
Posts: 8
Re: Script to Backup CPF firewall settings
«
Reply #80 on:
January 20, 2007, 02:01:13 PM »
i had problem today updating to latest "Final" Comodo version (from latest beta/rc to v2.4 final)
What i do is :
. Before to uninstall the latest beta, i made a backup of my settings with the script.
. I removed the beta and installed the v2.4 final (french version).
. I execute the reg file containing the saved settings (comodo was closed).
. When i open Comodo: no rules, no settings, etc... no rules were recovered, comodo was all empty and a red alert message like protection=bad...
I think the settings from the beta are not useable with final version (maybe language is the cause, coz the beta was in english and the final i use is in french ?).
Finally I did a clean install and i must configure manually all the rules.
Its bad, but its the only thing i could do...
Any idea about the script and latest version ?
Logged
panic
Global Moderator
Comodo's Hero
Offline
Posts: 5631
... and I say to myself, "What a wonderful world"
Re: Script to Backup CPF firewall settings
«
Reply #81 on:
January 20, 2007, 03:35:59 PM »
Quote from: rip_pit on January 20, 2007, 02:01:13 PM
i had problem today updating to latest "Final" Comodo version (from latest beta/rc to v2.4 final)
What i do is :
. Before to uninstall the latest beta, i made a backup of my settings with the script.
. I removed the beta and installed the v2.4 final (french version).
. I execute the reg file containing the saved settings (comodo was closed).
. When i open Comodo: no rules, no settings, etc... no rules were recovered, comodo was all empty and a red alert message like protection=bad...
I think the settings from the beta are not useable with final version (maybe language is the cause, coz the beta was in english and the final i use is in french ?).
Finally I did a clean install and i must configure manually all the rules.
Its bad, but its the only thing i could do...
Any idea about the script and latest version ?
G'day,
Sorry, but it does work with the release version, Have a look at
http://forums.comodo.com/index.php/topic,2366.msg38844.html#msg38844
where we details the two steps you have to do to import the rulesets into V2.4.
Cheers,
Ewen :-)
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
alkalvin
Newbie
Offline
Posts: 10
Re: Script to Backup CPF firewall settings
«
Reply #82 on:
January 20, 2007, 05:47:41 PM »
Do they have any plans to make it auto-update in the future ?And why doesn't it do so currently?
Logged
panic
Global Moderator
Comodo's Hero
Offline
Posts: 5631
... and I say to myself, "What a wonderful world"
Re: Script to Backup CPF firewall settings
«
Reply #83 on:
January 20, 2007, 06:10:03 PM »
Quote from: alkalvin on January 20, 2007, 05:47:41 PM
Do they have any plans to make it auto-update in the future ?And why doesn't it do so currently?
Yes, it will be built into a future release, probably version 3.
ewen :-)
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
rip_pit
Newbie
Offline
Posts: 8
Re: Script to Backup CPF firewall settings
«
Reply #84 on:
January 21, 2007, 11:02:54 AM »
Quote from: panic on January 20, 2007, 03:35:59 PM
sorry, but it does work with the release version, Have a look at
http://forums.comodo.com/index.php/topic,2366.msg38844.html#msg38844
where we details the two steps you have to do to import the rulesets into V2.4.
My firewall was closed/shutdown before I execute the regfile ... i think it should have worked ?
Logged
AOwL
Comodo SuperHero
Global Moderator
Comodo's Hero
Offline
Posts: 2349
Comodo Firewall Pro - Be safe, use protection...
Re: Script to Backup CPF firewall settings
«
Reply #85 on:
January 21, 2007, 01:42:27 PM »
Quote from: rip_pit on January 21, 2007, 11:02:54 AM
My firewall was closed/shutdown before I execute the regfile ... i think it should have worked ?
You can read the first post in this thread, where there is some new info about the script.
Normally you don't need to close the firewall.
Just these two things is needed.
NOTE: When restoring, you need to go to SECURITY - ADVANCED - MISCELLANEOUS and turn off "Protect own registry keys" before importing.
You also need to set the firewall to "allow all".
REBOOT!
«
Last Edit: January 22, 2007, 04:11:27 PM by AOwL
»
Logged
WinXP SP2 HE - IE7 - FF 2 - TB - CFP 2.4 - NOD32 - BoClean -ST - AMD64x2 - 3Gb Ram - 1.5Tb HD
Niagara43
Newbie
Offline
Posts: 22
Re: Script to Backup CPF firewall settings
«
Reply #86 on:
January 22, 2007, 02:24:44 PM »
Quote from: AOwL on January 21, 2007, 01:42:27 PM
You can read the first post in this thread, where there is some new info about the script.
Normally you don't need to close the firewall.
Just these two things is needed.
NOTE: When restoring, you need to go to SECURITY - ADVANCED - MISCELLANEOUS and turn off "Protect own registry keys" before importing.
You also need to set the firewall to "allow all".
And don't forget to reboot your machine, if not you're red !
Logged
You can catch the devil, but you can't hold it long.
MortenMacFly
Newbie
Offline
Posts: 12
Re: Script to Backup CPF firewall settings
«
Reply #87 on:
January 30, 2007, 10:02:58 AM »
GREAT SCRIPT!!! :-)
Anyway - I had to fit this script to my needs (mainly because I have a non-English Windows). I modified it in a way that there is no more duplicate code and the target folder can be setup in *one* position. Maybe other's find this useful, too.
Code:
@echo off
cls
set BACKUP_ROOT=D:\Backup\CPFBackup
echo ********************************************************
echo The settings are backed up to %BACKUP_ROOT%\CPFRUles.REG
echo Merge the "CPFrules.reg" file back, to restore settings
echo ********************************************************
echo To start press enter. To quit press the "x" button on this window
pause >nul:
if not exist "%BACKUP_ROOT%" goto DoInit
if not exist "%BACKUP_ROOT%\Prior" goto DoInit
goto DoBackup
rem -----
:DoBackup
rem -----
echo Clearing oldest and storing previous backup... please wait.
if exist "%BACKUP_ROOT%\Prior\CPFRUles.REG" del "%BACKUP_ROOT%\Prior\CPFRUles.REG" >nul:
copy "%BACKUP_ROOT%\CPFRUles.REG" "%BACKUP_ROOT%\Prior\CPFRUles.REG" >nul:
goto DoSaveReg
rem ---
:DoInit
rem ---
echo Creating backup folders (initialising)... please wait.
if not exist "%BACKUP_ROOT%" md "%BACKUP_ROOT%"
if not exist "%BACKUP_ROOT%\Prior" md "%BACKUP_ROOT%\Prior"
rem ------
:DoSaveReg
rem ------
echo Archiving current rule set... please wait.
REGEDIT /E "%BACKUP_ROOT%\CPFRUles.REG" "HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Personal Firewall"
echo DONE!
echo Press any key to end
pause >nul:
With regards, Morten.
Logged
Rotty
Global Moderator
Comodo's Hero
Offline
Posts: 793
http://www.venganza.org/ - Noodly Appendage
Re: Script to Backup CPF firewall settings
«
Reply #88 on:
February 02, 2007, 04:02:14 AM »
If you could PM myself or Panic, myself or AOwl with the lines that have changed (I'm tired and lazy ATM
) and what specific language this is for, then one of us could change the original post and give credit to MortenMacFly (If you want credit/to be mentioned some people do not for various reasons) for the specific changes.
You are highlighting the best reasons for open source software!!
Thankyou for posting your setups script!!
«
Last Edit: February 02, 2007, 04:05:56 AM by Rotty
»
Logged
The opinions expressed in my posts are my own.
They do NOT necessarily represent or reflect the views of my employer.
panic
Global Moderator
Comodo's Hero
Offline
Posts: 5631
... and I say to myself, "What a wonderful world"
Re: Script to Backup CPF firewall settings
«
Reply #89 on:
February 02, 2007, 05:27:29 AM »
G'day Morten,
Nice mods to the script. One small suggested change (shown below in red), instead of using "del" and "copy", use "move /Y". This removes a couple of lines and also ensures the folder to store the current backup is empty, prior to archiving. Also added a few comment about what needs to be done to the fireall prior to running the script.
***************************************
[ at ] echo off
cls
set BACKUP_ROOT=D:\Backup\CPFBackup
echo ********************************************************
echo The settings are backed up to %BACKUP_ROOT%\CPFRUles.REG
echo Merge the "CPFrules.reg" file back, to restore settings
echo.
echo.
echo Please ensure that you have disabled CFP's registry protection
echo and set the firewall to "Allow All" before continuing.
echo ********************************************************
echo To start press enter. To quit press the "x" button on this window
pause >nul:
if not exist "%BACKUP_ROOT%" goto DoInit
if not exist "%BACKUP_ROOT%\Prior" goto DoInit
goto DoBackup
rem -----
:DoBackup
rem -----
echo Clearing oldest and storing previous backup... please wait.
if exist "%BACKUP_ROOT%\Prior\CPFRUles.REG" move /Y "%BACKUP_ROOT%\CPFRUles.REG %BACKUP_ROOT%\Prior\CPFRUles.REG" >nul:
goto DoSaveReg
rem ---
:DoInit
rem ---
echo Creating backup folders (initialising)... please wait.
if not exist "%BACKUP_ROOT%" md "%BACKUP_ROOT%"
if not exist "%BACKUP_ROOT%\Prior" md "%BACKUP_ROOT%\Prior"
rem ------
:DoSaveReg
rem ------
echo Archiving current rule set... please wait.
REGEDIT /E "%BACKUP_ROOT%\CPFRUles.REG" "HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Personal Firewall"
echo DONE!
echo Press any key to end
pause >nul:
**************************************************
what think?
ewen :-)
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
Tags:
Pages:
1
...
4
5
[
6
]
7
8
...
11
« previous
next »
Jump to:
Please select a destination:
-----------------------------
** New to the Comodo Forum? Start Here! **
-----------------------------
=> New Member Information
-----------------------------
Want to help Comodo?
-----------------------------
=> Help Spread the Word - Official Comodo banners and logos
=> How can you help Comodo? (Please we do need you!)
===> Help spread the word! (Please read and help)
===> Comodo website issues for submitting website problems only
=> Please tell us your views and Vote here!
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Which Product do you want Comodo to develop next?
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products
-----------------------------
=> Comodo Firewall
===> Feedback/Comments/Announcements/News
===> Leak Testing/Attacks/Vulnerability Research
===> Help for v3
===> Help for v2
===> Frequently Asked Questions (FAQ) for Comodo firewall
===> Comodo Firewall Translations
===> Bug Reports
=> Comodo Internet Security - CIS
===> Overview - CIS
===> Help - CIS
=====> Anti Virus Help
=====> Firewall Help
=====> Defense+ Help
=====> Install / Setup / Configuration Help
===> FAQ - CIS
=====> Anti Virus FAQ
=====> Firewall FAQ
=====> Defense+ FAQ
=====> Install / Setup / Configuration FAQ
===> Feedback/Comments/Announcements/News - CIS
===> Guides - CIS
=====> Anti Virus Guides
=====> Firewall Guides
=====> Defense+ Guides
=====> Install / Setup / Configuration Guides
===> Wishlist - CIS
=====> Anti Virus Wishlist
=====> Firewall Wishlist
=====> Defense+ Wishlist
=====> GUI -Graphical User Interface - Wishlist
===> Bug Report - CIS
=====> Anti Virus Bugs
=====> Firewall Bugs
=====> Defense+ Bugs
=====> Other - General - GUI etc Bugs
=====> False Positive/Negative reporting - (Is this a malware that CIS has/not detected?)
===> Virus/Malware Removal Assistance
=> Comodo Anti-Viruspyware (CAVS)
===> Help for Comodo AntiVirus
===> FAQ for Comodo Anti-ViruSpyware
===> Feedback/Comments/Announcements/News about CAVS
=> Comodo BOClean Anti-Malware
===> Announcements
===> Comodo BOClean Anti-Malware FAQ
=> Comodo Instant Malware Analysis - Online (CIMA)
=> Comodo DiskShield
=> Comodo Disk Encryption
=> Comodo Secure Email (CSE) Product
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about CSE
===> Bug Reports
===> Help for Comodo SecureEmail
=> Comodo Memory Firewall(Buffer Overflow Protection)
===> Help
===> Frequently Asked Questions (Comodo Memory Firewall)
===> Feedback/Comments/Announcements/News
=> Comodo TrustConnect - Securing the Wireless world!
=> Comodo SafeSurf and (Comodo's own toolbar)
=> Backup
===> FAQ for Comodo Backup
===> Help
=> Verification Engine (allows you to verify what you see on the Internet)
=> Comodo Vulnerability Analyzer
=> AntiSpam
=> i-Vault
=> Launch Pad
=> Trusttoolbar
-----------------------------
Desktop Utilities
-----------------------------
=> Comodo Registry Cleaner
-----------------------------
Enterprise Security
-----------------------------
=> Comodo Endpoint Security Manager
-----------------------------
Compliance
-----------------------------
=> PCI DSS Compliance
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> Computer Firewalls
=> Anti Virus/Malware Products/Other Security products
=> Free Virus/Spyware/Trojan/Malware Removal by Comodo Experts
=> HIPS (Host Intrusion Prevention Systems)
=> Anti Phishing solutions
=> Digital Certificates, Encryption and Digital Signing
=> General Security Questions and Comments (not product related)
-----------------------------
Free Services for End Users
-----------------------------
=> UserTrust - First Independent Website Rating - Empowering our users!
=> User Anywhere (Remote Access product)
=> Comodo Meet (Web Conferencing Product)
=> Hacker Guardian
=> Trustfax (free Trial) (online faxing)
-----------------------------
Free Products
-----------------------------
=> Link to Free Comodo Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Nederlands / Dutch
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> По-русски / Russian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> tiếng Việt / Vietnamese
-----------------------------
Digital Certificates
-----------------------------
=> Code Signing Certificate
=> Content Verification Certificate
=> Email Certificate
=> SSL Certificate
-----------------------------
Web Server Products
-----------------------------
=> Two Factor Authentication for Web Applications
=> Trustlogo
-----------------------------
Infrastructure Products
-----------------------------
=> ZTL
=> Trustix Enterprise Firewall
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
Page created in -0.429 seconds with 20 queries.
Powered by SMF 1.1.7
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com