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.
Probably missing some file I also tried deleting stor_kav.bin but it doesn't show the "start trial" button after doing so
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 [email protected] /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.
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\"?
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 [email protected] /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
https://forums.mydigitallife.net/th...-kis-pure-2013-2014.49139/page-8#post-1588324 is still working for KIS 21.1.15.500(c) (with 20.0 changed to 21.1 obviously), so is there any benefit or difference in using this newer version? Also I'm curious as to why certain lines have been removed, and UPAO in particular has been added. Thanks!
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.
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.
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.
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?
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)
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