@echo off rem Registry keys for version 0.3.0 and above. reg DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SearchDeflector" /F reg DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\SearchDeflector" /F reg DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications" /V "SearchDeflector" /F rem Registry keys for version 0.3.1 and above. reg DELETE "HKEY_CURRENT_USER\SOFTWARE\Classes\SearchDeflector" /F reg DELETE "HKEY_CURRENT_USER\SOFTWARE\SearchDeflector" /F reg DELETE "HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications" /V "SearchDeflector" /F rem Registry keys for for version 0.2.3 and below. reg DELETE "HKEY_CURRENT_USER\SOFTWARE\Clients\SearchDeflector" /F reg DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\SearchDeflector" /F reg DELETE "HKEY_CLASSES_ROOT\SearchDeflector" /F rem Delete the updater task from Task Scheduler. schtasks /DELETE /F /TN "Search Deflector Updater" echo: echo Search Deflector registry keys and scheduled tasks removed. echo Note that it is normal for some operations above to fail. pause