Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
March 21, 2010, 03:21:19 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
373371
Posts
41415
Topics
94142
Members
Latest Member:
dynam8
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Archived Boards
Discontinued 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 97860 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: 8105
substance constant, depth variable
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: 899
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: 14
rock'n'roll baby!
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: 8105
substance constant, depth variable
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: 8105
substance constant, depth variable
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: 14
rock'n'roll baby!
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: 23
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: 22
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:
[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 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: 899
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: 8105
substance constant, depth variable
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:
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Comodo.TV - Our Internet Video Channel
===> Comodo.TV - News and Announcements
===> Comodo.TV - Program Lineup
===> Audience Feedback and Suggestions
=> Which Product do you want Comodo to develop next?
=> How Can I Help Comodo? (Please We Need You!)
===> Report Comodo Forum / Web Site Issues
===> Please Tell Us Your Views and Vote Here!
===> Help Spread the Word - Banners and Logos
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products & Services
-----------------------------
=> Comodo Internet Security - CIS
===> News / Announcements / Feedback - CIS
=====> Wishlist - CIS
===> AV False Positive/Negative Detection Reporting
===> Help - CIS
=====> Guides - CIS
=====> AntiVirus Help - CIS
=======> AntiVirus FAQ - CIS
=====> Firewall Help - CIS
=======> Firewall FAQ - CIS
=====> Defense+ / Sandbox Help - CIS
=======> Defense+ / Sandbox FAQ - CIS
=====> Install / Setup / Configuration Help - CIS
=======> Install / Setup / Configuration FAQ - CIS
===> Bug Report - CIS
=> Comodo Backup - CB
===> News / Announcements / Feedback - CB
===> Comodo Online Backup - COB
===> Help - CB
=====> FAQ - CB
=> Comodo Time Machine - CTM
===> News / Announcements / Feedback - CTM
===> Help - CTM
=====> FAQ - CTM
===> Bug Reports - CTM
=> Comodo Dragon - CD
===> News / Announcements / Feedback - CD
=====> Wishlist - CD
===> Help - CD
=====> FAQ - CD
===> Bug Reports - CD
=> Comodo Disk Encryption - CDE
===> News / Announcements / Feedback - CDE
=====> Wishlist - CDE
===> Help - CDE
=====> FAQ - CDE
===> Bug Reports - CDE
===> Beta Corner - CDE
=> Comodo Secure Email - CSE
===> News / Announcements / Feedback - CSE
===> Help - CSE
=====> FAQ - CSE
===> Bug Reports - CSE
=> Comodo EasyVPN - CEVPN
===> News / Announcements / Feedback - CEVPN
===> Help - CEVPN
=====> FAQ - CEVPN
===> Bug reports - CEVPN
=> Comodo AntiSpam - CAS
=> Comodo TrustConnect - CTC
=> HopSurf - CHS
=> Comodo Instant Malware Analysis Online - CIMA
=> Verification Engine - CVE
-----------------------------
Desktop Utilities & Services
-----------------------------
=> Comodo System Cleaner - File/Registry/Privacy Cleaner - CSC
===> News / Announcements / Feedback - CSC
===> Help - CSC
=====> FAQ - CSC
=> Comodo Cloud Scanner - CCS
===> News / Announcements / Feedback - CCS
===> FAQ - CCS
=> Live PC Support
-----------------------------
Business / Enterprise Security Products & Services
-----------------------------
=> Digital Certificates
===> Code Signing Certificate
===> Content Verification Certificate
===> Email Certificate
===> SSL Certificate
=> PCI DSS Compliance
=> Comodo Endpoint Security Manager
=> Two Factor Authentication for Web Applications
=> Trustlogo
=> Hacker Guardian
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> General Security Questions and Comments
=> Virus/Malware Removal Assistance
=> Leak Testing/Attacks/Vulnerability Research
=> Digital Certificates, Encryption and Digital Signing
=> Other Security Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Česky / Czech
===> Dansk / Danish
===> Nederlands / Dutch
===> Suomi / Finnish
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> Română / Romanian
===> По-русски / Russian
===> Slovenský / Slovak
===> Slovenščina / Slovenian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> Việt / Vietnamese
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
-----------------------------
Archived Boards
-----------------------------
=> Discontinued Products
===> 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 Diskshield
===> Comodo Firewall
=====> Feedback/Comments/Announcements/News
=====> Help for v3
=====> Help for v2
=====> Frequently Asked Questions (FAQ) for Comodo firewall
=====> Comodo Firewall Translations
=====> Bug Reports
===> i-Vault
===> Launch Pad (Discontinued)
===> Comodo Meet (Web Conferencing Product) (Discontinued)
===> Comodo Memory Firewall(Buffer Overflow Protection)
=====> Comodo Memory Firewall Beta Corner
=====> Help
=====> Frequently Asked Questions (Comodo Memory Firewall)
=====> Feedback/Comments/Announcements/News
===> Safesurf
===> Trusttoolbar (Discontinued)
===> Trustfax (online faxing) (discontinued)
===> Trustix Enterprise Firewall
===> User Anywhere (Remote Access product) (Discontinued)
===> UserTrust - First Independent Website Rating - Empowering our users!
===> Comodo Vulnerability Analyzer - CVA
===> ZTL
Page created in 0.156 seconds with 19 queries.
Powered by SMF 1.1.11
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com