Created
October 21, 2024 04:27
-
-
Save mohamad-supangat/a5bd2f098d2af9580741bdf8d2bac296 to your computer and use it in GitHub Desktop.
Reset Navicat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Deleting HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update | |
reg delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update /f | |
echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration[version and language] | |
for /f "tokens=*" %%i in ('REG QUERY "HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium" /s ^| findstr /L "Registration"') do ( | |
reg delete "%%i" /va /f | |
) | |
echo Deleting Info and ShellFolder under HKEY_CURRENT_USER\Software\Classes\CLSID | |
for /f "tokens=*" %%k in ('reg query "HKEY_CURRENT_USER\Software\Classes\CLSID"') do ( | |
reg query "%%k" /f "Info" /s /e | findstr /i "Info" >nul && reg delete "%%k" /f | |
reg query "%%k" /f "ShellFolder" /s /e | findstr /i "ShellFolder" >nul && reg delete "%%k" /f | |
) | |
echo Finish | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment