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

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

  1. Lurkerino

    Lurkerino MDL Novice

    Mar 20, 2016
    44
    6
    0
    I tried both the scripts but the only way for me to see the 30 days trial is to completely uninstall and reinstall the program, this time I used it while I still had 2 remaining days.
     
  2. alesimula

    alesimula MDL Novice

    Sep 6, 2015
    15
    5
    0
    Probably missing some file

    I also tried deleting stor_kav.bin but it doesn't show the "start trial" button after doing so
     
  3. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    7
    13
    0
    Something it changed with (l) update.
    Try this code:
    Code:
    @echo off
    
    title Trial Reset KIS 2020
    :: Controllo Diritti di amministratore
    NET session 1>NUL 2>NUL || (
        goto adminfailed
    )
    
    ::Controllo sistema 64bit
    if EXIST "%SYSTEMROOT%\SysWOW64" (
        SET WOW6432=\Wow6432Node
    ) else (
        SET WOW6432=
    )
    
    ::Controllo applicazione installata e non in funzione
    tasklist /nh /fi "imagename eq avp.exe" | find /i "avp.exe" >nul
    IF %ERRORLEVEL%==0 goto avpfound
    
    
    :trial20
    ::Controlla selfprotection abilitata
    set k="C:\ProgramData\Kaspersky Lab\AVP20.0\Report"
    echo "disableselfprotection">%k%\R0-1.txt
    if not exist %k%\R0-1.txt goto noselfprotec
    del %k%\R0-1.txt
    
    ::Trial Reset
    echo Trial Reset on progress...
    ::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
    ::DEL /F "C:\ProgramData\Kaspersky Lab\*.log" >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"
     
    ::RD /S /Q "C:\ProgramData\Kaspersky Lab\AVP20.0\Report" >nul 2>nul
    
    REG DELETE HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC /f
    
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data\LicCache /f
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data\LicensingActivationErrorStorageLogic /f
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data\UPAO /f
    
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\LicStrg /f
    
    
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v ActivationCode_kfa /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v TrialActCode_kav /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v TrialActCode_kis /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v TrialActCode_pure /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v TrialActCode_saas /t REG_SZ /d "" /f
    
    
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\environment /v ShowActivateTrialOption /t REG_SZ /d "1" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v Ins_InitMode /t REG_DWORD /d 1 /f
    
    
    ::Disable Trial Notification
    REG ADD HKCU\SOFTWARE\KasperskyLab\AVP20.0 /v LastLicenseNotificationTime /t REG_SZ /d "1800000000" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\Data /v UseKSN /t REG_DWORD /d 0 /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v EnableSocialNetworkActivity /t REG_DWORD /d 0 /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v Kaspersky_ID /t REG_SZ /d noreplay@kaspersky.com /f
    
    
    echo x=msgbox("Periodo di prova resettato. Il PC verrà riavviato", 0+64, "Successo!") >%temp%\info.vbs
    %temp%\info.vbs
    del %temp%\info.vbs
    
    
    ::enable Auto-Difesa
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP20.0\settings /v EnableSelfProtection /t REG_DWORD /d 1 /f
    ::Riavvio Sistema
    shutdown /r /t 1
    exit
    
    
    :unsuc
    echo x=msgbox("Trial Reset fallito", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :avpfound
    echo x=msgbox("Programma antivirus attivo. Chiudere Kaspersky", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :noselfprotec
    echo x=msgbox("Disabilitare autoprotezione Kaspersky", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :abort
    echo x=msgbox("Nessun prodotto compatibile rilevato", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :adminfailed
    echo x=msgbox("Avviare il Trial Reset con i diritti di amministratore", 0+16, "Errore") >%temp%\adminerror.vbs
    %temp%\adminerror.vbs
    del %temp%\adminerror.vbs
    exit
    
    It's worked for me on KIS 2020. It's necessary to restart before use KIS again.
     
  4. alesimula

    alesimula MDL Novice

    Sep 6, 2015
    15
    5
    0
    Nope, not working on KAV 2021
     
  5. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    7
    13
    0
    How did you get version 2021? I downloaded from kaspersky official website and there is only 2020.
     
  6. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    This regex does not account for AVP19.0.0
     
  7. alesimula

    alesimula MDL Novice

    Sep 6, 2015
    15
    5
    0
    Unfortunately findstr regular expressions are s**t and I cannot match groups
    Any suggestions? Or should I just get rid of the regex completely since I also look for the existance of the folder in "C:\ProgramData\Kaspersky Lab\"?
     
  8. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    7
    13
    0
    #188 alewaste, Sep 27, 2020
    Last edited: Sep 27, 2020
    I tested this code with KIS2021 v21.1.15.500(b) and it works:

    Code:
    @echo off
    
    title Trial Reset KIS 2021
    :: Controllo Diritti di amministratore
    NET session 1>NUL 2>NUL || (
        goto adminfailed
    )
    
    ::Controllo sistema 64bit
    if EXIST "%SYSTEMROOT%\SysWOW64" (
        SET WOW6432=\Wow6432Node
    ) else (
        SET WOW6432=
    )
    
    ::Controllo applicazione installata e non in funzione
    tasklist /nh /fi "imagename eq avp.exe" | find /i "avp.exe" >nul
    IF %ERRORLEVEL%==0 goto avpfound
    
    
    :trial20
    ::Controlla selfprotection abilitata
    set k="C:\ProgramData\Kaspersky Lab\AVP21.1\Report"
    echo "disableselfprotection">%k%\R0-1.txt
    if not exist %k%\R0-1.txt goto noselfprotec
    del %k%\R0-1.txt
    
    ::Trial Reset
    echo Trial Reset on progress...
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP21.1\Data\stor_kis.bin" >nul 2>nul
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP21.1\Data\cat_engine*" >nul 2>nul
    
    
    REG DELETE HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC /f
    
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\Data\LicCache /f
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\Data\LicensingActivationErrorStorageLogic /f
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\Data\UPAO /f
    
    REG DELETE HKLM\SOFTWARE%WOW6432%\KasperskyLab\LicStrg /f
    
    
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\environment /v ActivationCode_kfa /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\environment /v TrialActCode_kav /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\environment /v TrialActCode_kis /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\environment /v TrialActCode_pure /t REG_SZ /d "" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\environment /v TrialActCode_saas /t REG_SZ /d "" /f
    
    
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\environment /v ShowActivateTrialOption /t REG_SZ /d "1" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\settings /v Ins_InitMode /t REG_DWORD /d 1 /f
    
    
    ::Disable Trial Notification
    REG ADD HKCU\SOFTWARE\KasperskyLab\AVP21.1 /v LastLicenseNotificationTime /t REG_SZ /d "1800000000" /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\Data /v UseKSN /t REG_DWORD /d 0 /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\settings /v EnableSocialNetworkActivity /t REG_DWORD /d 0 /f
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\settings /v Kaspersky_ID /t REG_SZ /d noreplay@kaspersky.com /f
    
    
    echo x=msgbox("Periodo di prova resettato. Il PC verrà riavviato", 0+64, "Successo!") >%temp%\info.vbs
    %temp%\info.vbs
    del %temp%\info.vbs
    
    
    ::enable Auto-Difesa
    REG ADD HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.1\settings /v EnableSelfProtection /t REG_DWORD /d 1 /f
    ::Riavvio Sistema
    shutdown /r /t 1
    exit
    
    
    :unsuc
    echo x=msgbox("Trial Reset fallito", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :avpfound
    echo x=msgbox("Programma antivirus attivo. Chiudere Kaspersky", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :noselfprotec
    echo x=msgbox("Disabilitare autoprotezione Kaspersky", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :abort
    echo x=msgbox("Nessun prodotto compatibile rilevato", 0+16, "Errore") >%temp%\abort.vbs
    %temp%\abort.vbs
    del %temp%\abort.vbs
    exit
    
    :adminfailed
    echo x=msgbox("Avviare il Trial Reset con i diritti di amministratore", 0+16, "Errore") >%temp%\adminerror.vbs
    %temp%\adminerror.vbs
    del %temp%\adminerror.vbs
    exit
    It's the same of KIS2020, obviously you have to change "reference" with the version. Try to substitute with KAV, for example:

    Code:
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP21.1\Data\stor_kis.bin" >nul 2>nul
    with

    Code:
    DEL /F "C:\ProgramData\Kaspersky Lab\AVP21.1\Data\stor_kav.bin" >nul 2>nul
     
  9. alesimula

    alesimula MDL Novice

    Sep 6, 2015
    15
    5
    0
    #189 alesimula, Oct 15, 2020
    Last edited: Oct 15, 2020
    I just tried my trial reset on KAV 21 after the program expired and it worked...
     
  10. dfgfgsfd

    dfgfgsfd MDL Novice

    Jun 13, 2017
    6
    1
    0
    #190 dfgfgsfd, Oct 15, 2020
    Last edited: Oct 15, 2020
  11. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    7
    13
    0
    Initially, I done same thing, but doesn't worked on Kis v21.1.15.500(b) on my PC. I had problems with KIS2020 with patch (l) too.
    I made some tests and the old code started to work again only adding UPAO line.

    I supposed that something had change in new version, and I tested if others line are usefull or not.
    In my configuration, removing certain lines doesn't affect trial reset.

    It could be something different between (b) and (c) patch or I had problems with my PC configuration. Really I don't know.

    I think, if old code is still working for you, don't change nothing:).
     
  12. dfgfgsfd

    dfgfgsfd MDL Novice

    Jun 13, 2017
    6
    1
    0
    21.2.16.590 is working with the aforementioned script, just change everything to AVP21.2. Haven't tried the newer script, so you might wanna give that a test.
     
  13. chaython

    chaython MDL Novice

    Oct 2, 2011
    32
    10
    0
    I upgraded to 2021, again kaspersky is not creating a trial key, anyone have a key?
     
  14. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    7
    13
    0
    What do you mean? You must reset trial period with the "right" script and then you can activate 30 days trial like as just installed. You don't need keys.
     
  15. dzem

    dzem MDL Senior Member

    Oct 15, 2015
    274
    56
    10
    What to do with above scipt? I copied script to notepad and i am going to change parameters regarding version of KIS. What next to do and how to start this script?
     
  16. dfgfgsfd

    dfgfgsfd MDL Novice

    Jun 13, 2017
    6
    1
    0
    #196 dfgfgsfd, Dec 23, 2020
    Last edited: Jan 4, 2021
    Save with the extension .bat or .cmd

    Disable Kaspersky's Self-Defense

    Exit Kaspersky in the notification tray (confirm it's actually ended in Task Manager)

    Run the script and restart the computer

    Activate the trial in Kaspersky

    Repeat every 30 days (there used to be a 90 days trial key, but it doesn't work anymore)
     
  17. dzem

    dzem MDL Senior Member

    Oct 15, 2015
    274
    56
    10
    Thank you. I will try after trial period expire.
     
  18. angel89

    angel89 MDL Novice

    May 30, 2011
    2
    0
    0
    anyone can help with the new kaspersky trial reset ?
     
  19. dzem

    dzem MDL Senior Member

    Oct 15, 2015
    274
    56
    10
    i tested this script on my son computer and it works. Bravo for anyone who made this script.
     
  20. D64

    D64 MDL Member

    Oct 1, 2008
    115
    85
    10
    #200 D64, Mar 12, 2021
    Last edited: Mar 12, 2021
    Ty so much alewaste.

    i tested this method. install trial => Save original files => using Renew.tool per 30 day (Next post)
    KAV KIS KTS 2021 21.3.10.391 work
    next days testing W10
    1. First backup for this tool (once used but backup always good friend)
    2.Clean install KAV or KİS or K.Total Security (30 day trial version)

    (new users) Copy-paste and Save as new text file => x.bat for example backup.bat
    Run the x.bat file as an administrator

    @ECHO OFF
    COLOR 1F
    ::System check x64bit
    if EXIST "%SYSTEMROOT%\SysWOW64" (
    SET WOW6432=\Wow6432Node
    ) else (
    SET WOW6432=
    )

    @ECHO TRIAL RENEW KAV KIS KTS BACKUP C:\KBACKUP
    @ECHO OFF

    TITLE TRIAL RENEW KAV KIS KTS BACKUP
    XCOPY "C:\ProgramData\Kaspersky Lab\AVP21.3\Data\stor_kav.bin" c:\KBACKUP\ /Q
    XCOPY "C:\ProgramData\Kaspersky Lab\AVP21.3\Data\stor_kis.bin" c:\KBACKUP\ /Q
    XCOPY "C:\ProgramData\Kaspersky Lab\AVP21.3\Data\stor_pure.bin" c:\KBACKUP\ /Q
    XCOPY "C:\ProgramData\Kaspersky Lab\AVP21.3\Data\stor_saas.bin" c:\KBACKUP\ /Q
    XCOPY "C:\ProgramData\Kaspersky Lab\AVP21.3\Data\cat_engine*" c:\KBACKUP\ /Q
    REG EXPORT "HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC" c:\KBACKUP\SPC.reg
    REG EXPORT "HKLM\SOFTWARE%WOW6432%\KasperskyLab\AVP21.3\Data" c:\KBACKUP\DATA.reg
    REG EXPORT "HKLM\SOFTWARE%WOW6432%\KasperskyLab\LicStrg" c:\KBACKUP\LICSTRG.reg
    PAUSE
    EXIT