06-11-2019 12:49 PM
06-11-2019 12:49 PM
Is it safe to remove old build folders located in the appdata\Edge SxS\Application folder?
I have many in there and its about 9GB right now.
06-11-2019 01:56 PM - edited 06-11-2019 02:16 PM
For starters, try Edge web installer to avoid this mess instead of stand alone installers. :face_with_tears_of_joy: As to the cleanup, try to uninstall the last release, then use Everything Search to find the remnants and delete. Search and cleanup Registry too.
06-12-2019 05:14 AM
@sambul95 I deleted all but the current canary build version folder and I don't see any issues yet. I did find that Dev build was storing old copies in C:\Program Files (x86)\Microsoft\Edge Dev\Application so I did the same and manually deleted all but the current build version there too. Hopefully the Edge team can include a cleanup of old version automatically when doing auto updates soon
06-12-2019 05:48 AM - edited 06-12-2019 09:14 AM
Something is wrong with your setup. Edge for now is intended for Win 10. What Windows version is it? I don't see neither Edge Dev or Canary keeping old copies when updated via browser. May I suggest to export your Favorites, make Extensions list, then Uninstall all Edge copies and Cleanup disk and Registry with tools like Wise Care 365, then manually.
Also in System Disk Properties, do Cleanup-Cleanup System Files, and mark all Windows files, including Windows Update Cleanup. Run cleanup, Check Disk, reboot, then check for Windows Updates. You may also run System Files Checker upon reboot and update.
06-12-2019 09:03 AM
"%USERPROFILE%\appdata\local\temp\msedge_installer.log" file so that we can understand what has been going on. It is also safe to delete all but the latest 2 versions. I will let out support folks know to look out for this and they will be able to help you. Thank you for alerting us to this issue.
06-14-2019 05:36 AM
@Elliot Kirk Thanks I just submitted a ticket. Ill be happy to provide the file. Here are a few lines from that file that are basically repeated hundreds of times over.
*\AppData\Local\Microsoft\Edge SxS\Application\126.96.36.199\EBWebView\x64\embeddedbrowserwebview.dll: The process cannot access the file because it is being used by another process. (0x20)
[0610/083307.532:WARNING:delete_old_versions.cc(107)] Failed to delete stray directory **PII**\AppData\Local\Microsoft\Edge SxS\Application\188.8.131.52: The operation completed successfully. (0x0)
[0610/083307.533:WARNING:delete_old_versions.cc(99)] Attempting to delete stray directory **PII**\AppData\Local\Microsoft\Edge SxS\Application\184.108.40.206
[0610/083307.541:WARNING:delete_old_versions.cc(218)] Failed to delete locked file **PII**\AppData\Local\Microsoft\Edge SxS\Application\220.127.116.11\EBWebView\x64\embeddedbrowserwebview.dll: The process cannot access the file because it is being used by another process. (0x20)
[0610/083307.542:WARNING:delete_old_versions.cc(107)] Failed to delete stray directory **PII**\AppData\Local\Microsoft\Edge SxS\Application\18.104.22.168: The operation completed successfully. (0x0)
[0610/083307.542:WARNING:delete_old_versions.cc(99)] Attempting to delete stray directory **PII**\AppData\Local\Microsoft\Edge SxS\Application\22.214.171.124
[0610/083307.551:WARNING:delete_old_versions.cc(218)] Failed to delete locked file **PII**\AppData\Local\Microsoft\Edge SxS\Application\126.96.36.199\EBWebView\x64\embeddedbrowserwebview.dll: The process cannot access the file because it is being used by another process. (0x20)
[0610/083307.552:WARNING:delete_old_versions.cc(107)] Failed to delete stray directory **PII**\AppData\Local\Microsoft\Edge SxS\Application\188.8.131.52: The operation completed successfully. (0x0)
06-14-2019 06:24 AM - edited 06-14-2019 06:31 AM
06-14-2019 09:08 AM - edited 06-17-2019 01:47 PM
You might have other undetected system issues as well. If I were having such issues, what I'd do:
- switch off Antivirus. Then do full system cleanup with Wise Care 365 or such
- system disk cleanup via Disk Properties including system and update files, then Checkdisk
- in Admin Cmd run SFC / scannow
then findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >%userprofile%\Desktop\sfcdetails.txt
analyze that .txt for errors
- Do running Windows image cleanup
Dism /Online /Cleanup-Image /RestoreHealth
Dism /Online /Cleanup-Image /AnalyzeComponentStore
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
regsvr32 /u /s CsrBtProxy.dll
- reboot and try uninstalling Edge Chromium again, check the log
- find with Regedit and delete these and similar (Edge Dev, Edge SxS) Registry keys
- install current Edge Dev and try uninstalling it. Check the log
- install latest Win Update tool and check for updates
P.S. I couldn't uninstall Edge installed by a standalone installer. Edge Support was nice, but did really nothing for me, and then closed the case as I removed it. ;)
06-21-2019 09:29 AM
@BumSkull Re: the log. Sorry missed the log lines posted previously. Nonetheless getting the full log gives a history and phasing of what may be keeping the files open so if you have those to share in the future please do. But you did a nice job on honing in on what seems to be the issue -- thank you.
Looks like you're developing with WebView and that the webview app is keeping parts of edge locked. Can you confirm? Keeping these old files is not desired behavior, but is a new feature and the WebView team is still working out the kinks.