Skip to content

Commit

Permalink
Merge pull request #10 from WindowsRefundDay/main
Browse files Browse the repository at this point in the history
removed winget and fixed taskkill not working
  • Loading branch information
ionuttbara authored Oct 15, 2022
2 parents b658bb6 + e52b0b6 commit f0db2fd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,24 @@ Microsoft Edge Remover is helping you to remove Microsoft Edge Legacy and Chromi
Just right click the `edge-remover.bat` file and click "Open as Administrator". The file can be found in release section or in this repo.

There will be options such as to remove edge with or without restore point etc. Type the letter next to your option and press `Enter` on your keyboard.

## NOTE:
If you get the following error:
```
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package
Microsoft.MicrosoftEdgeDevToolsClient_1000.22621.1.0_neutral_neutral_8wekyb3d8bbwe from:
C:\Windows\SystemApps\Microsoft.MicrosoftEdgeDevToolsClient_8wekyb3d8bbwe failed. This app is part of Windows and
cannot be uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn
Windows Features on or off. However, it may not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] 66f1ae87-e0a9-0005-eb62-f266a9e0d801 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 66f1ae87-e0a9-0005-eb62-f266a9e0d801
At line:1 char:35
+ Get-AppxPackage *MicrosoftEdge* | Remove-AppxPackage
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Micro...l_8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
```

Try [these steps](https://answers.microsoft.com/en-us/windows/forum/all/cant-remove-w10-packages-error-0x80073cfa/c224a864-b604-42b8-a770-57049e0dc50a) mentioned on this Microsoft Issue
5 changes: 2 additions & 3 deletions edge_remover.bat
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ echo Checking if launched with administrative permissions (Needed to create syst
exit /b
)
:startmse2
echo First trying to uninstall via winget
taskkill /F /IM MicrosoftEdge.exe
winget uninstall -h Microsoft.Edge
echo KILLING MSEDGE
taskkill /F /IM msedge.exe
cd /d "%ProgramFiles(x86)%\Microsoft"
for /f "tokens=1 delims=\" %%i in ('dir /B /A:D "%ProgramFiles(x86)%\Microsoft\Edge\Application" ^| find "."') do (set "edge_chromium_package_version=%%i")
if defined edge_chromium_package_version (
Expand Down

0 comments on commit f0db2fd

Please sign in to comment.