Replace default taskbar web search on bing via Edge with your preference
Adjust iexplore.exe
google.com/search?q=
at the end of the long first line
reg add "HKCU\Software\Classes\WebSearchChoice\shell\open\command" /ve /d "mshta.exe \"javascript:window.close(q='%1'.split('%%3Fq%%3D')[1].split('%%26')[0],new ActiveXObject('WScript.Shell').Run('iexplore.exe google.com/search?q='+q))\"" /f 2>nul >nul
reg add "HKCU\Software\Classes\WebSearchChoice" /v "URL Protocol" /d "microsoft-edge" /f 2>nul >nul
reg add "HKCU\Software\Classes\WebSearchChoice" /ve /d "WebSearchChoice" /f 2>nul >nul
reg add "HKCU\Software\Clients\WebSearchChoice\Capabilities\UrlAssociations" /v "microsoft-edge" /d "WebSearchChoice" /f 2>nul >nul
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\microsoft-edge\OpenWithProgids" /v "URL:microsoft-edge" /t REG_NONE /f 2>nul >nul
reg add "HKCU\Software\RegisteredApplications" /v "WebSearchChoice" /d "Software\\Clients\\WebSearchChoice\\Capabilities" /f 2>nul >nul
echo.
echo OPEN Choose default apps by protocol
echo PICK Microsoft-Edge (URL:microsoft-edge)
echo PICK Microsoft (R) HTML Application host
start ms-settings:defaultapps
timeout /t -1
;
reg delete "HKCU\Software\Classes\WebSearchChoice" /f 2>nul >nul
reg delete "HKCU\Software\Clients\WebSearchChoice" /f 2>nul >nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" /v "WebSearchChoice_microsoft-edge" /f 2>nul >nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\microsoft-edge\OpenWithProgids" /v "URL:microsoft-edge" /f 2>nul >nul
reg delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\microsoft-edge\UserChoice" /f 2>nul >nul
reg delete "HKCU\Software\RegisteredApplications" /v "WebSearchChoice" /f 2>nul >nul
;