@echo off echo Delete HKEY_CURRENT_USERSoftwarePremiumSoftNavicatPremiumRegistration[version and language] for /f %%i in ('"REG QUERY "HKEY_CURRENT_USERSoftwarePremiumSoftNavicatPremium" /s | findstr /L Registration"') do ( reg delete %%i /va /f ) echo. echo Delete Info folder under HKEY_CURRENT_USERSoftwareClassesCLSID for /f %%i in ('"REG QUERY "HKEY_CURRENT_USERSoftwareClassesCLSID" /s | findstr /E Info"') do ( reg delete %%i /va /Navicat Premium 15.0.32激活f ) echo. echo Finish pause