[윈도우] 엣지 크로미움 삭제

  1. CMD 창 실행 (관리자 권한)
  2. wmic datafile where “name=’%programfiles(x86):\=\\%\\Microsoft\\Edge\\Application\\msedge.exe'” get version /format:list 로 설치된 엣지 버전 확인
  3. cd %PROGRAMFILES(X86)%\Microsoft\Edge\Application\버전\Installer 으로 엣지 설치된 폴더로 이동
  4. setup –uninstall –force-uninstall –system-level 엣지 삭제
@echo off

FOR /F "tokens=2 delims==" %%I IN (
  'wmic datafile where "name='%programfiles(x86):\=\\%\\Microsoft\\Edge\\Application\\msedge.exe'" get version /format:list'
) DO SET "edgeversion=%%I"

IF defined edgeversion (
"%programfiles(x86)%\Microsoft\Edge\Application\%edgeversion%\Installer\setup" --uninstall --force-uninstall --system-level
)

pause & exit

Leave a Comment