@echo off
setlocal enabledelayedexpansion
set "FileName="C:\Program Files (x86)\Microsoft\Edge\Application\""
for /f "tokens=* delims=, " %%a in ('dir /a /s /b %FileName%\setup.exe ') do (
echo "%%a"
call "%%a" --uninstall --system-level --verbose-logging --force-uninstall
)
del "C:\Program Files (x86)\Microsoft\" /f /s /q
rd "C:\Program Files (x86)\Microsoft\" /s /q
@echo 在注册表中关闭资讯和兴趣功能
@reg add HKLM\Software\Policies\Microsoft\Windows\Windows Feeds /v "EnableFeeds" /t REG_DWORD /f /d 0
@reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Feeds /v "ShellFeedsTaskbarViewMode" /t REG_DWORD /f /d 2
exit
可用于一键卸载win10和win11系统内置EDGE浏览器