[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
    23
    1
    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
    5
    2
    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
    4
    7
    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
    5
    2
    0
    Nope, not working on KAV 2021
     
  5. alewaste

    alewaste MDL Novice

    Nov 9, 2014
    4
    7
    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,123
    1,907
    210
    This regex does not account for AVP19.0.0
     
  7. alesimula

    alesimula MDL Novice

    Sep 6, 2015
    5
    2
    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\"?