Cannot delete remaining windows.old repository files


  1. Posts : 484
    Windows 10
       #1

    Cannot delete remaining windows.old repository files


    Since recently updating Wn 10 Pro to 20H2 I've deleted the bulk of windows.old (1909) to get more storage space. But this folder cannot be deleted:

    Cannot delete remaining windows.old repository files-filerepositorycannotdelete.jpg

    C:\Windows.old\WINDOWS\System32\DriverStore\FileRepository

    All attempts to delete it or its files gives the error shown.

    I have taken ownership of the folder and contents. And the files are duplicates of those already in \Windows. Which also prompts the side question: why should anything from the old version still be in use?

    Storage space is no longer an issue but tidiness (and curiosity) remain, so I'd much appreciate advice on removing this folder please.
      My Computer


  2. Posts : 24,160
    Win 10 Home ♦♦♦19045.4957 (x64) [22H2]
       #2

    You can just delete the entire Windows.old folder...

    How to Delete Windows.old and $Windows.~BT folders in Windows 10




    But if for some reason, you want to keep parts of Windows.old... you can use Emco Unlock It to remove that pesky folder.

    UnLock IT Free - Unlock a File or Folder Locked by the System
      My Computer


  3. Posts : 42,082
    windows 10 professional version 1607 build 14393.969 64 bit
       #3

    Please post the results for the link that Ghot posted:

    OPTION THREE
    Delete "Windows.old" Folder in a Command Prompt at Boot


    RD /S /Q "D:\Windows.old"

    (change D: to the applicable drive letter)


    When this has completed > right click on the top bar or title bar of the administrative command prompt box > left click on edit then select all > right click on the top bar again > left click on edit then copy > paste into the thread

    Use this link as needed when posting results:
    How to Change Post Editor to Source or WYSIWYG Mode at TenForums.com
      My Computer


  4. Posts : 484
    Windows 10
    Thread Starter
       #4

    After deleting by the cleanup method I still had the situation I described. I was eventually able to rename and move them to another folder; I used c:\tmp). And I could then delete the now empty subfolders and windows.old itself.

    But the files persist, as being 'in use'. In my case by various Intel stuff like Intel Dynamic Application Loader, Intel Management Engine Interface, Intel Display Audio Driver, etc.

    But at least I got rid of c:\windows.old.

    - - - Updated - - -

    After deleting by the cleanup method I still had the situation I described. I was eventually able to rename and move them to another folder; I used c:\tmp). And I could then delete the now empty subfolders and windows.old itself.

    But the files persist, as being 'in use'. In my case by various Intel stuff like Intel Dynamic Application Loader, Intel Management Engine Interface, Intel Display Audio Driver, etc.

    But at least I got rid of c:\windows.old.
      My Computer


  5. Posts : 8,341
    windows 10
       #5

    It's so simple run disk storage or disk cleanup both would have done it for you
      My Computer


  6. Posts : 18,034
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #6

    Hello @Terrypin,

    Terrypin said:
    But the files persist, as being 'in use'. In my case by various Intel stuff like Intel Dynamic Application Loader, Intel Management Engine Interface, Intel Display Audio Driver, etc.

    After deleting by the cleanup method I still had the situation I described. I was eventually able to rename and move them to another folder; I used c:\tmp). And I could then delete the now empty subfolders and windows.old itself.

    But the files persist, as being 'in use'. In my case by various Intel stuff like Intel Dynamic Application Loader, Intel Management Engine Interface, Intel Display Audio Driver, etc.

    [1] As mentioned above, running Disk Cleanup should have got rid of them.
    [2] You could try Deleting the leftover files mentioned in Safe Mode, or from the Command Prompt in Safe Mode . . .

    > How to Open a Command Prompt at Boot in Windows 10

    I hope this helps.
      My Computer


  7. Posts : 484
    Windows 10
    Thread Starter
       #7

    Samuria said:
    It's so simple run disk storage or disk cleanup both would have done it for you
    But it didn’t. And I have read many posts reporting a similar problem.

    According to this article it seems to be an obscure bug.

    Microsoft confirms undeletable 'Windows.old' folder bug on Windows 10

    - - - Updated - - -

    Thanks Paul. I’ll try that in the morning (currently on iPad), on the newly renamed and located files. But from other posts I’m not too optimistic.
    Last edited by Terrypin; 21 Mar 2021 at 17:11.
      My Computer


  8. Posts : 93
    Windows 10 pro 64 Bit Version 21H1 (OS Build 19043.844)
       #8

    Terrypin said:
    After deleting by the cleanup method I still had the situation I described. I was eventually able to rename and move them to another folder; I used c:\tmp). And I could then delete the now empty subfolders and windows.old itself.

    But the files persist, as being 'in use'. In my case by various Intel stuff like Intel Dynamic Application Loader, Intel Management Engine Interface, Intel Display Audio Driver, etc.

    But at least I got rid of c:\windows.old.

    - - - Updated - - -

    After deleting by the cleanup method I still had the situation I described. I was eventually able to rename and move them to another folder; I used c:\tmp). And I could then delete the now empty subfolders and windows.old itself.

    But the files persist, as being 'in use'. In my case by various Intel stuff like Intel Dynamic Application Loader, Intel Management Engine Interface, Intel Display Audio Driver, etc.

    But at least I got rid of c:\windows.old.
    A big mistake people make is by using file explorer to goto the Windows.old location and trying to delete it. It leaves remnants which are stuck bound to another program, which in reality it is not but after corrupting the file this way your stuck trying to delete it a million different ways. The ONLY true and error free way to delete the Windows.old file is by using windows "disk cleanup" tool found in the start menu under the folder Windows Administrative Tools.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:15.
Find Us




Windows 10 Forums