Forum Discussion

BumSkull's avatar
BumSkull
Iron Contributor
Jun 11, 2019

Edge SxS Folder

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.  

 

18 Replies

  • leehu's avatar
    leehu
    Former Employee

    BumSkull 

     

    Yes, it should be completely find to delete the older versions.  But before you do, if you would, please share your updater and install logs.  You can find them in the following places (some may be missing):

    • %ALLUSERSPROFILE%\Microsoft\EdgeUpdate\Log\MicrosoftEdgeUpdate.log
    • %LOCALAPPDATA%\Temp\MicrosoftEdgeUpdate.log
    • %TEMP%\msedge_installer.log
    • %SystemRoot%\TEMP\msedge_installer.log

    Thanks for trying Edge!

     

    --Lee

    • BumSkull's avatar
      BumSkull
      Iron Contributor

      leehu I had uninstalled both Dev and Canary and reinstalled as directed by support when I opened a case with them. 

       

      The only file I have is the msedge_installer.log file which I posted a few lines from that file before.  

      • leehu's avatar
        leehu
        Former Employee

        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.

         

        Thanks much,

        -- Lee

         

         

  • Hi BumSkull, This is really not right.  Can you please go to https://microsoftedgesupport.microsoft.com and open a support ticket?  You will likely be asked to send us the 

    "%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.

    • BumSkull's avatar
      BumSkull
      Iron Contributor

      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\76.0.175.0\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\76.0.175.0: 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\76.0.176.0
      [0610/083307.541:WARNING:delete_old_versions.cc(218)] Failed to delete locked file **PII**\AppData\Local\Microsoft\Edge SxS\Application\76.0.176.0\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\76.0.176.0: 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\76.0.181.0
      [0610/083307.551:WARNING:delete_old_versions.cc(218)] Failed to delete locked file **PII**\AppData\Local\Microsoft\Edge SxS\Application\76.0.181.0\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\76.0.181.0: The operation completed successfully. (0x0)

      • sambul95's avatar
        sambul95
        Iron Contributor

        BumSkull 

         

        In https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer, put embeddedbrowserwebview.dll into Find Handle or DLL menu item's Search field, and see what process uses it? Try killing that process and see if its possible to uninstall all Edge versions after that by default uninstaller or updater.

  • sambul95's avatar
    sambul95
    Iron Contributor

    BumSkull 

     

    For starters, try Edge web installer to avoid this mess instead of stand alone installers. 😂 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.

    • BumSkull's avatar
      BumSkull
      Iron Contributor

      sambul95 I have both dev and canary installed.  Both of which I downloaded and installed from the insider page and after that its just auto updated itself.  

      • sambul95's avatar
        sambul95
        Iron Contributor

        BumSkull 

         

        When you try to uninstall latest or all Canaries, what happen? Can you use Revo Uninstaller or similar? Do those folders only have User profiles? Are they in Local or Roaming?

Resources