Dec
22
2009

Kaspersky Rescue Disk Updater

Kaspersky Rescue Disk Updater is a Windows Command Script or a batch file which uses KLUpdater to update the virus definitions of the Rescue Disk ISO.

Kaspersky Rescue Disk 10 can scan and remove viruses without booting into windows.The main disadvantage of Kaspersky Rescue Disk 10 is that it is not updated regularly.

Even when it is updated there is no option to update your existing iso with the changes.You will have to download the entire iso. So if you don’t download the rescue disk regularly, the virus definitions become out of date.

Even though the rescue disk has an option to update the virus definitions from the internet, it is not very useful as the updates are saved only on that particular computer.If you use it on another computer then you will have to download all the updates again.

Kaspersky Rescue Disk Updater fixes the above problems by updating your existing Kaspersky Rescue Disk ISO with the latest virus definitions from the Kaspersky Servers.This helps in keeping your recue disk up date without having to download a lot of files, saving a lot of time and bandwidth.

Changes in the latest version

  • Supports updates from Local Kaspersky Folder if you have any Kaspersky Product Installed.
  • Newer version of KLUpdater.Supports downloading of diff.Saves lot of bandwidth.
  • Removed pauses in script
  • Fixed creation of iso
  • Two iso files are generated, rescue.iso and rescueusb.iso.This can be used to boot from USB Drives
  • Moved project to Github.com

Download Kaspersky Rescue Disk Updater

Updating the Kasperksy Rescue Disk

  1. Download Kaspersky Rescue Disk from http://rescuedisk.kaspersky-labs.com/rescuedisk/updatable/kav_rescue_10.iso
  2. Download the Updater as a zip from http://github.com/bbalegere/Kaspersky-Rescue-Disk-Updater/zipball/master and extract it to directory of your choice.
  3. Rename kav_rescue_10.iso as rescue.iso and copy it to the above directory
  4. Run diskupdt.bat
  5. After the update is done you will see two files -> rescue.iso and rescueusb.iso
  6. You can either burn rescue.iso to a CD and use it or you can boot it from a USB Drive

Booting the rescue disk from a USB Drive.

You can use the official tool to make your USB Drive bootable with Kasperksy Rescue Disk at http://support.kaspersky.com/faq/?qid=208286083

Or you can manually make your USB Drive Bootable.

  1. Format and install grub4dos on your USB Drive using a tool like RMPrepUSB
  2. Create a folder called rescue and copy rescue.iso and rescueusb.iso into that folder
  3. Copy liveusb and menu.lst to the root of your USB Drive.
  4. You can now boot the rescue disk from your USB Drive.

Please post your feedback and suggestions.

«

»

About the Author: Bharat Balegere

Bharat Balegere is a 27 year old blogger from Bengaluru. He is a technology enthusiast and loves tinkering with computers and usb drives.

159 Comments + Add Comment

  • Very useful tips!!! Thanks a lot, will try it out.

    • Thanks Charu.
      I am glad you found it useful.

  • Very useful. Thank you!

  • Kaspersky works better than Avg or Avast antivirus. Some viruses and trojan would not be detected by AVG but they are always detected by Kaspersky.

  • This is not working. I can not update the database. Where being updated from http://dnl-eu10.kaspersky-labs.com/bases/av/kdb/i386/ or from another location? Can I get a step by step instructions without using the cmd-file and updater.EXE?

  • Hello. Can kav_rescue_2009.iso be updated in the same way? It would be nice if you could make incremental updates to the previously updated iso.

    Thanks a lot. I came here through sarducd.

    • Yes kav_rescue_2009.iso also can be updated the same way.Just rename it to kav_recue_2008.iso and run diskupdt.cmd again.
      The downloaded updates are stored in the Updates folder and this program can make incremental updates.

      • If you have a program of Kaspersky, it will be a big problem. KIS has blocked all traffic, just because an update to Kaspersky Rescue Disk Updater need to KAV8, but for KIS update can not boot, although KIS showed that the update is downloaded.
        But it was downloaded an update for KAV8. Support service Kaspersky said that the need to reinstall KIS, I had to do.

        • Specify. In support service said that it requires an update from KAV9

      • hy.first thx for share you’re wisdom.i manage to update av definitions but didn’t try it yet.the folder size which includes kav_rescue_2008.iso and other 3 folders is almost 400 mega.if i delete iso image and then try to run diskupdate will be possible?.so what file/folder is safe to delete without to be need to re-download next time when i’ll give un update.in my case i ask for that to save some space to hdd.

        • You can delete kav_rescue_2008.iso.
          Do not delete any other folder.If delete the bases folder,then the program will download all the base files again.

          • done that.then run diskupdate and ask for iso image.i have some others issue about updating av definitions in iso image.return later with more informations

  • Thank you for useful information.

  • Thanks for the batch file. I made some changes so I can use it on a bootable USB stick.
    First make your bootable USB rescue disk.
    I added an extra folder on the USB drive: ‘Update’ where I put the ‘KLUpdater’ folder from the zip file above. In the Update folder itself, I created another batch file Update.bat:

    @echo off
    cls
    Echo Updating Virus Definition Files from Kaspersky Server
    title Updating Virus Definition Files from Kaspersky Server
    pushd KLUpdater
    updater.exe -u -o ss_storage.ini -c
    popd

    Echo Copying the Updated Virus Definition Files to your Rescue Disk
    title Copying the Updated Virus Definition Files to your Rescue Disk
    copy .\KLUpdater\Updates\bases\av\kdb\i386\*.* \bases\ > nul
    copy .\KLUpdater\Updates\bases\av\kdb\i386\kdb-i386-0607g.xml \bases\kdb-0607g.xml > nul
    copy .\KLUpdater\Updates\bases\av\kdb\i386\kdb.stt \bases\stat\kdb.stt > nul
    copy .\KLUpdater\Updates\index\u0607g.xml \bases\stat\u0607g.xml > nul
    echo Successfully Copied Updated Definition Files to your Rescue Disk
    title Done
    Echo Done
    pause

    Double check the destination path of the definitions in this batch file. On mine, it’s in \base.
    Just run Update.bat and you’re done.

    Erdinc

  • Thanks for the batch script! I ran it, everything looked good, I booted to it and the database definitions are still from May 09. Suggestions?

    • Thats a bug in the program.
      If you run the updater,it will download very few definition files.
      This shows that it contains the updated definitions.

      • Good enough for me! Thanks again!

  • Nice!!! Thanks for the script file.

  • This is an excellent script, thanks, much appreciated!!!
    It “just works” :) :)

    How about if you can add a point number 13 to show howto run an update for a second time; rename kav_rescue_2009.iso to kav_rescue_2008.iso and run update again.

    OR … add the detection logic in the script that if a file kav_rescue_2009.iso exists, rename and run (with warning ofcourse) :) :)

  • Look in /bases/stat and open kdb.stt

    The date that the rescue cd see as current is after the semicolon, and currently stays at 200905131244. If you update that file right before the iso is remade, the rescue disk will not complain about outdated definitions. Make sure that the date you enter is in the same format YYYYMMDD1244, I always leave the 1244 alone, I think it is 24-hour time but I can’t remember.

  • Bharat your updater is a wonderful solution for an annoying problem which the KAV folks have ignored and I offer you my sincerest thanks for your work and for sharing it with less talented folks like me.
    In the past I have followed several guides to manually update the WinPE based disc but the results have never been consistent or very good. (This text box is too small !)

    • I have just used your updater and notice 2 things:

      1 – The created ISO is labeled with ‘2009’ now in 2010
      2 – Upon booting with the disc the program says it’s databases are obsolete with a date of 4/23/09 (and of course it cannot be updated while in use…)

      It seems your text box accepts text below it’s bottom and no scroll bar appears so I am typing this part blindly !

      • I will update the program soon.The new program will fix the “Databases are obsolete” error and the 2009 name.

        I will also fix the text box.
        Thanks for letting me know that.

  • Updates the program.
    Fixed the “Databases are obsolete” error.Thanks to Greg.
    Also the new filename is now kav_rescue_2010.iso

  • Excellent news Bharat – and sincerest thanks to you and all who make this wonderful tool possible !

    Best Wishes,

    mark

  • Updated program to work with RescueDisk 10.
    kav_rescue_10.iso

    • It wasn’t able to create a working updated version for me (your updater told me that the boot image was missing). Could you take a look into it.

      • Although you a got an error message saying the bootsector is missing,iso is created properly.You should be able to use it without any problems.
        The error message is a due to a coding mistake.I will fix it now.

        • Thank you, it is indeed working. Though I got a question. Kaspersky officially said (on the first official public Beta Release), that you could not update RescueCD 10 with the bases from KAV/KIS 2010 like you could for the previous build. Did they change something or how is it possible now?

          • Where can I find Kaspersky’s official statement on the public beta of Rescue Disk 10?

  • Thanks for this great batch file. Very simple and very usefull.
    Works fine

  • Thank for this great tool. I am using it to update the 2008 RescueCD. Nice to see that you are working on an updater vor the RescueCD 10, though it is not working for me:

    Error: kav_rescue_10.iso is not supported archive

    and on the next screen:

    Copying Virus Definition Files from your Rescue Disk to a Temporary Location
    !! The Kaspersky Rescue Disk is not a valid Disk. !!
    It does not contain the bases folder.
    Please download kav_rescue_10.iso from http://devbuilds.kaspersky-labs.com/devbu
    ilds/RescueDisk/

    • Nevermind. I did not extract the iso.dll to the correct location.

  • Updated to kasresupdten.1

    • Thank you. You could have updated 7zip to atleast version 4.42, as that is the latest version working with your script. I heard, that Kaspersky wants to update the RescueCD 10 atleast every 3 Months.

  • Hey, awesome site! Keep it up! I will be difinatley be coming back in the near future =)

  • Hey, awesome site! Keep it up! I will be difinatley be coming back in the near future =)

  • Thanks very much for writing a lot of this awesome content! Looking forward to reading more!

  • Thanks very much for posting all of the great info! I am looking forward to seeintg more!

  • Thank you for your article.Thanks Again. Awesome.

  • I have been looking everywhere for this info. The search is finally over, great post!

  • Thanks Bharat – it’s really nice that you have made your work available and shared the knowledge.

  • Cheers for this post, it was great to read.

  • Your batch is cool & so does your scripting. can you help me in completing my project (KASPERSKY OFFLINE UPDATE DUMPER) which is fully made in batch. Well actually this program dumps your KAV & KIS updates which is downloaded to your (all users\application data\).

  • Woo Hoo! You got his updated!

    Yeah, its the 10.1 (Ten.one) file for updating CD version 2005_10. It means “version 2.0.0.5 year 2010”. should of just called it 2.5.10!

    There is about 9megabytes of downloads using this script for 2005.10 august release, and these are the links for the 200 Megabyte iso that can be updated by simply using the 10.1 updater:

    These are three links I have acquired to download this iso, one from july, one from august. Which doesnt matter much as they will both need updating:

    http://agnipulse.com/2010/03/kaspersky-rescue-disk-10/

    or

    http://rescuedisk.kaspersky-labs.com/rescuedisk/updatable

    or

    http://devbuilds.kaspersky-labs.com/devbuilds/RescueDisk10/

  • Great post!!!
    can someone translate this script for using in linux – ubuntu (shell bash)? Thanks

  • Very nice thanks for this..

    Is there a way to update ALL files, my labtop with wlan cant acces internet.

    I can only update from my desktop

  • How about update krd 2010 from computer that have kaspersky 2010 installed in its? Is it possible?

    • Unfortunately I do not have krd 2010 installed on my system.I will try to install a trial version and then I will let you know if it is possible or not.
      In the meantime just check where krd 2010 stores the updated virus definition(or bases) in your system.

      • The Link provided by TZ for the Rescue CD ( http://rescuedisk.kaspersky-labs.com/rescuedisk/updatable ) is a good one. That ISO gets updated about every 1 (downloaded it today and it had signatures from yesterday). So if someone suffers from a slow download of signatures, he should maybe use a downloadmanger and download the updated cd again.

  • Updated Kaspersky Rescue Disk Updater.It now supports updates from Local Kaspersky Folder if you have installed any Kaspersky Product.It is currently working in Windows XP.Can anybody tell me the location of the updates folder in Vista or 7?

    • Hey i tried to comment on this a day after when you’ve commented but your website throwed me an error & it didn’t upload my comment. anyway

      Ya its a good idea i’ve been using this idea for updating my antivirus once when i don’t have internet connection. this is the location for vista & 7 C:\ProgramData\Kaspersky Lab\avp7 or avp8 or avp9 or you can use the same location like xp does like (c:\documents and settings\all users\Kaspersky lab\). Note: You cannot go into windows 7’s documents and settings folder but your command prompt does.
      & try this for your OS DETECTION IN BATCH :
      for /f “tokens=3*” %%i IN (‘reg query “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v ProductName ^| Find “ProductName”‘) DO set vers=%%i %%j

      • Thanks.I will try to implement os detection in the next version.

  • I want to appriciate & thanks to you for great work
    3 things I suggest (1) it should keep all updates and rescue disk content like Autopatcher works for windows, so that reworking of coping rescue content & downloading can be avoided. you can update anytime and make rescue disk. (2) it should be able to take incremental updates to avoid every time heavy download (3) it can be used as updater to local system also.

  • Thanks for sharing the useful tips. Great info.

  • can v do it for Bit defender rescue cd also…? you can find bit defender rescue cd @ http://download.bitdefender.com/rescue_cd/

    • I will check.My semester has started now and I am very busy.I will surely check BitDefender when i get time.

  • Creating the Rescue Disk ISO Image
    !! Bootsector Missing !!
    Press any key to continue . . .

    ^^ I get that error & when I press any key the CMD window just exits without any ISO being built. Any idea why this happens or how to mitigate it. I’m using kav_rescue_10.iso [version:10.0.28.1]. Thanks.

    • I received the same error as renji. Looking at diskupdt.cmd I see that it searches for .\kavrescue\boot\grub\grub_eltorito and bails if it can’t find it. Where is that file supposed to come from since it doesn’t seem to be included in the ISO image (v10.0.29.2).

      I tried editing the script to tell the mkisofs not to use the ‘-b’ (El Torito boot) option, but still had some problems. Probably a simple fix, I’m just not sure what it is.

      Otherwise… pretty nice… now I just need something similar that works on Linux (so I’ll have one handy for my friends Windows computers).

      SS

      • Same question. “Boot sector is missing” but I just downloaded the ISO moments ago.

  • Try shifting the batch programming to gui like (au3, python, java, .net, vb)

  • Awesome!! Too bad Kaspersky wasn’t able to be this clever.

  • The tool work, sort of, for me. But this still puzzles me. After I updated the ISO, and create a CD or Bootable UFD, when I boot into the rescue disk, and select scan, I always get error 80000046, Databases corrupted. As a result, scan get aborted, and in the update tab, Database Corrupted, shown in the tab. I tried USB Flash disk and CD-ROM, both have the same error. I don’t think it’s because I updated it, since the fresh ISO from Kaspersky site also have the same error.

    I tried on two system: 1. Pentium 1.8 GHz/256 MB and 2. Athlon X3 440/2GB. Both have the same error. Any help will be appreciated. Thanks in advance.

  • Just want share offline update for “Kaspersky Lab”

    1.For KIS/KAV old version download here..
    ftp://ftp.downloads1.kaspersky-labs.com/zips/

    2.For only KIS/KAV 2011 download here
    http://downloadupdate.blogspot.com/

    If you like the product of kaspersky buy here
    http://www.kaspersky.com/

    Lol.. :-D

    by igo ^_^

  • Absolutely brilliant. Thanks for the nice work and for sharing it. This was just what I was looking for.

    Just as a note, I downloaded the latest KAV_RESCUE_10.ISO and ran this and got the !!Bootsector Missing!! error message. I then took my older KAV_RESCUE_10 disc and created an ISO from it and then the script worked great. I have no idea what KAV have done but it would appear that something on the KAV ISO has changed.

    Anyway, thanks again.

  • Great work
    Keep it up guys

  • I have got a problem with erorr:
    Creating the Rescue Disk ISO Image
    !! Bootsector Missing !!
    Press any key to continue . . .
    When I press any key the ISO not built.
    I’m using kav_rescue_10.iso [version:10.0.29.2].
    How to fix it? Thanks.

    • If you’re encountering bootsector errors, change the reference of:

      \grub\grub_eltorito

      to

      \grub\i386-pc\eltorito.img

      My line 78-79 looks like this:
      if not exist .\kavrescue\boot\grub\i386-pc\eltorito.img goto bs
      .\tools\mkisofs -R -J -joliet-long -o kav_rescue_2010.iso -b boot/grub/i386-pc/eltorito.img -c boot\boot.cat -no-emul-boot -boot-info-table -V “Kaspersky Rescue Disk” -boot-load-size 4 kavrescue

      Bharat may want to update his script, but that’s what I did, got it to build a new ISO and it’s scanning a PC right now.

      Cheers,

      Allen

      • I facing some problem. Can you please explane in what script exactly i have make these changes?

  • I am extremely busy with some work due to which i have been unable to update this post.I will update this script as soon as possible.Until then you can probably refer to Allen’s comment above to build your rescue disks.

  • Thanks, Allen and Bharat. That fix worked perfectly. I pruned out the Pauses and will be adding it my weekly Scheduled Tasks.

  • I tried the edit Allen posted but it says it can’t find the eltorito.img file and creates a new iso file of like 34kb.

    Please advise.

    Thanks.

    Great job so far.

    • Slappy,

      It sounds like you fixed line 78, otherwise you would get a bootsector missing message.

      Can you check that the slashes are different between 78 and 79:
      78: kavrescue\boot\grub\i386-pc\eltorito.img
      79: boot/grub/i386-pc/eltorito.img

      What does your line 79 (starts with .\tools\mkisofs) look like?

      .\tools\mkisofs -b boot/grub/i386-pc/eltorito.img kavrescue

  • if not exist .\kavrescue\boot\grub\i386-pc\eltorito.img goto bs
    .\tools\mkisofs -b boot/grub/i386-pc/eltorito.img kavrescue -c boot\boot.cat -no-emul-boot -boot-info-table -V “Kaspersky Rescue Disk” -boot-load-size 4 kavrescue

    This also doesnot work :(
    Can someone post updated script?
    Thanks

1 2 3

Leave a comment