[TIP]Kaspersky Products Trial Reset KAV/KIS/PURE 2013-2014

Discussion in 'Application Software' started by CHEF-KOCH, Oct 13, 2013.

  1. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    No, as it is not batch. Especially in 2019. KRT is the only way
     
  2. aladdin2006

    aladdin2006 MDL Junior Member

    Feb 28, 2013
    97
    15
    0
    Can you please tell me why KRT is the only way and why not batch? :)
     
  3. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    Sorry, I have no in-depth knowledge, but it does MORE than just some registry entries (that can be batched), in 2019 reboot is also required, so some bits need to be changed before system loads
     
  4. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    4
    7
    0
    #144 alewaste, Apr 5, 2020
    Last edited: Apr 5, 2020
    I found a way to reset KIS with a batch file...

    I used this code, with KIS 2019:
    Code:
    if EXIST "%SYSTEMROOT%\SysWOW64" (
       SET WOW6432=\Wow6432Node
    ) else (
       SET WOW6432=
    )
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP19.0.0\Data\stor_AVP.bin" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP19.0.0\Data\stor_kis.bin" >nul 2>nul
    <nul (set/p z=) >"C:\ProgramData\Kaspersky Lab\AVP19.0.0\Data\stor_AVP.bin"
    <nul (set/p z=) >"C:\ProgramData\Kaspersky Lab\AVP19.0.0\Data\stor_kis.bin"
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\LicStrg /f
    REG DELETE HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates /f
    RD /S /Q "C:\ProgramData\Kaspersky Lab\AVP19.0.0\Report" >nul 2>nul
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP19.0.0\Data\LicCache /f
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP19.0.0\Data\LicensingActivationErrorStorageLogic /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP19.0.0\settings /v Ins_InitMode /t REG_DWORD /d 1 /f
    REG ADD HKCU\SOFTWARE\KasperskyLab\AVP19.0.0 /v LastLicenseNotificationTime /t REG_SZ /d "1800000000" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP19.0.0\settings /v EnableSelfProtection /t REG_DWORD /d 1 /f
    shutdown /r /t 1
    
    and this one, with KIS 2020:
    Code:
    if EXIST "%SYSTEMROOT%\SysWOW64" (
       SET WOW6432=\Wow6432Node
    ) else (
       SET WOW6432=
    )
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_AVP.bin" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_kis.bin" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\cat_engine*" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\certdb_*.idx" >nul 2>nul
    <nul (set/p z=) >"C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_AVP.bin"
    <nul (set/p z=) >"C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_kis.bin"
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\LicStrg /f
    REG DELETE HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates /f
    RD /S /Q "C:\ProgramData\Kaspersky Lab\AVP20.0\Report" >nul 2>nul
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data\LicCache /f
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data\LicensingActivationErrorStorageLogic /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v ShowActivateTrialOption /t REG_DWORD /d 1 /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v Ins_InitMode /t REG_DWORD /d 1 /f
    REG ADD HKCU\SOFTWARE\KasperskyLab\AVP20.0 /v LastLicenseNotificationTime /t REG_SZ /d "1800000000" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v EnableSelfProtection /t REG_DWORD /d 1 /f
    shutdown /r /t 1
    
    Reboot is mandatory!
     
  5. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    So I gave it a go on KAV 2019.
    Strangely, it did work indeed!

    Had to change just one line
    Code:
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP19.0.0\Data\stor_AVP.bin" >nul 2>nul
    
    instead of stor_kis.bin

    And I do prefer the full path: HKLM\SOFTWARE\WOW6432Node\
     
  6. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    4
    7
    0
    #146 alewaste, Apr 5, 2020
    Last edited: Apr 5, 2020
    I'm happy it's working on KAV too.
    I was wrong when I copied the code, I forgot this part:
    Code:
    if EXIST "%SYSTEMROOT%\SysWOW64" (
        SET WOW6432=\Wow6432Node
    ) else (
        SET WOW6432=
    )
    I didn't use the full path, to maintain the code compatible with both 32 and 64 bit operating system.

    I modified original post, so others can copy directly a working code for KIS.
     
  7. tongerks

    tongerks MDL Novice

    May 11, 2014
    4
    1
    0
    #147 tongerks, Apr 7, 2020
    Last edited: Apr 7, 2020
    ........................
     
  8. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    Maybe move along if you ask question like that....
     
  9. tongerks

    tongerks MDL Novice

    May 11, 2014
    4
    1
    0
    Thanks for this man its working, I remove my trial keys that's why I thought its not working :)
     
  10. Lurkerino

    Lurkerino MDL Novice

    Mar 20, 2016
    23
    1
    0
    This doesn't work for KIS 2020, I tried but it just loaded my old license.
     
  11. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    Old license being what? It only works for trial reset!
     
  12. toyo

    toyo MDL Senior Member

    Aug 14, 2009
    407
    279
    10
    I can confirm this works I gave it a shot on a Win 10x64 1909 VM, it required Safe Mode. It will reset the trial, and you can input one of those 90 days generic trial keys on the web. Used to buy Kaspersky for years, from the days the firewall was separate, but these days Defender is doing a somewhat similar job, with a worse UI but better virtualization features for those who need them.

    All in all, very good find!
     
  13. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    It does not require Safe Mode (unless you have Self-protection enabled and not un-ticked before the run). It does require a reboot
     
  14. ARMOUR17

    ARMOUR17 MDL Novice

    Dec 14, 2017
    1
    0
    0
    hi
    I don't want to use these tools.( Kaspersky_Tweak_Assistant_v20.3.26.0_Beta_by_Bambang AND RePack_KRT_CLUB_3.1.0.29_ATB_En_Final_v4)
    How do I back up my KIS 2020 license without the need for any tools?
    Which KEYs should I back up in the registry?
    please help me
    king regurds
     
  15. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    If you have legit license then you already had a key that you inputed?
     
  16. Lurkerino

    Lurkerino MDL Novice

    Mar 20, 2016
    23
    1
    0
    Let's make an example, I have 2 days left on my trial license, I use your script and when I restart I still have the old license with the very same 2 days left.
    Now when I use KRT Club (I'd rather not) after the restart my old one just disappears and I get to add another brand new 30 days license.
    Your script doesn't work as it doesn't change anything for me and it doesn't renew or replace my expiring trial, that's what I meant.
     
  17. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    6,163
    16,317
    210
    #157 LostED, May 6, 2020
    Last edited: May 6, 2020
    @Lurkerino
    just tested & worked fine (kis2020 j patch)

    steps do you follow?
     
  18. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,123
    1,907
    210
    #158 sebus, May 7, 2020
    Last edited: May 8, 2020
    If you do it on KAV (not KIS), the in the script replace refernces to kis with kav
    It also works on KAV 2020
     
  19. Lurkerino

    Lurkerino MDL Novice

    Mar 20, 2016
    23
    1
    0
    Sorry for the delay, I disable the autoprotection, close KIS completely and then run the script as administrator.
    Inside my batch file there's this:

    Code:
    if EXIST "%SYSTEMROOT%\SysWOW64" (
       SET WOW6432=\Wow6432Node
    ) else (
       SET WOW6432=
    )
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_AVP.bin" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_kis.bin" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\cat_engine*" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP20.0\Data\certdb_*.idx" >nul 2>nul
    <nul (set/p z=) >"C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_AVP.bin"
    <nul (set/p z=) >"C:\ProgramData\Kaspersky Lab\AVP20.0\Data\stor_kis.bin"
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\LicStrg /f
    REG DELETE HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates /f
    RD /S /Q "C:\ProgramData\Kaspersky Lab\AVP20.0\Report" >nul 2>nul
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data\LicCache /f
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data\LicensingActivationErrorStorageLogic /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v ShowActivateTrialOption /t REG_DWORD /d 1 /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v Ins_InitMode /t REG_DWORD /d 1 /f
    REG ADD HKCU\SOFTWARE\KasperskyLab\AVP20.0 /v LastLicenseNotificationTime /t REG_SZ /d "1800000000" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v EnableSelfProtection /t REG_DWORD /d 1 /f
    shutdown /r /t 1
     
  20. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    6,163
    16,317
    210
    @Lurkerino

    Code:
    Self-Defence OFF
    Pause protection ON
    close KIS
    
    run script