REG DELETE "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeCore" /F /VA 2>nul
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeCore" /F /VA 2>nul
REG DELETE "HKLM\SOFTWARE\Microsoft\EdgeCore" /F /VA 2>nul
REG DELETE "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeCore" /F /VA 2>nul
REG DELETE "HKLM\SOFTWARE\Clients\StartMenuInternet\Microsoft EdgeCore" /F 2>nul
REG DELETE "HKCU\SOFTWARE\Clients\StartMenuInternet\Microsoft EdgeCore" /F 2>nul
REG DELETE "HKCR\microsoft-edgecore" /F 2>nul
REG DELETE "HKCR\EdgeCoreHTM" /F 2>nul
REG DELETE "HKCR\Microsoft EdgeCore" /F 2>nul
REG DELETE "HKCR\ms-edgecore" /F 2>nul
REG DELETE "HKCR\microsoft-edgecore" /F 2>nul
REG DELETE "HKLM\SOFTWARE\RegisteredApplications" /V "Microsoft EdgeCore" /F 2>nul
REG DELETE "HKCU\SOFTWARE\RegisteredApplications" /V "Microsoft EdgeCore" /F 2>nul
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedgecore.exe" /F 2>nul
REG DELETE "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedgecore.exe" /F 2>nul
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone\NonPackaged\C:#Program Files (x86)#Microsoft#EdgeCore#Application#msedgecore.exe" /F 2>nul
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam\NonPackaged\C:#Program Files (x86)#Microsoft#EdgeCore#Application#msedgecore.exe" /F 2>nul
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedgecore.exe" /F 2>nul
REG DELETE "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedgecore.exe" /F 2>nul
REG DELETE "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\{65C8C639-56A9-4E2F-9E48-5E6D9F6B9C3A}" /F 2>nul
REG DELETE "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{65C8C639-56A9-4E2F-9E48-5E6D9F6B9C3A}" /F 2>nul

IF EXIST "%ProgramFiles(x86)%\Microsoft\EdgeCore" (((TAKEOWN /R /A /F "%ProgramFiles(x86)%\Microsoft\EdgeCore" /D Y)&(ICACLS "\\?\%ProgramFiles(x86)%\Microsoft\EdgeCore" /RESET /T /C /L /Q)) >nul 2>&1)
((IF EXIST "%SystemRoot%\System32\%SDEL_EXT_%.EXE" %SDEL_EXT_% -ACCEPTEULA -Q -R -S -NOBANNER "\\?\%ProgramFiles(x86)%\Microsoft\EdgeCore")&(IF NOT EXIST "%SystemRoot%\System32\%SDEL_EXT_%.EXE" RMDIR /S /Q "\\?\%ProgramFiles(x86)%\Microsoft\EdgeCore" 2> nul))