Windows 10: Can't Delete Windows.old Solved

Page 1 of 2 12 LastLast
  1.    13 Dec 2017 #1

    Can't Delete Windows.old


    I did use cleanmgr, and attempted to remove Windows.old, but it left two files that I can't delete:
    Windows.old\WINDOWS\SysWOW64\iassam.dll
    Windows.old\WINDOWS\WinSxS\iassam.dll

    I've tried File Assassin - (says file not found)
    FilExile - (The target is not a valid file or directory)
    MoveFile.exe - it starts in a window and immediately closes, so it apparently didn't work on my system for some reason.

    EMCO MoveOnBoot - (Could not remove the Read-only attribute for the following file: 'C:\Windows.old\WINDOWS\WinSxS\x86_microsoft-windows-n..tion_service_iassam_31bf3856ad364e35_10.0.14393.0_none_4d053389b20f76b7\iassam.dll'. If the Read-only attribute is not removed, the file will not be deleted on the next Windows boot. 12/12/2017 8:53:30 PM)

    I though maybe it was a junction, ran Sysinternals Junction.exe and there was no junction found.

    I've run chkdsk /f from an elevated command prompt, no errors are found.

    I've even booted from a Mint Linux (only distro I found so far that would run and see and mount read-write my m.2 drive) USB drive and was unable to delete the files due to an error.

    Any ideas what to try next?
      My ComputerSystem Spec


  2. Posts : 2,253
    Ubuntu14.04x64 MintMate17x64 Win10Prox64
       13 Dec 2017 #2

    Rename
    Windows.old\WINDOWS\SysWOW64\iassam.dll
    Windows.old\WINDOWS\WinSxS\iassam.dll
    To
    Windows.old\WINDOWS\SysWOW64\iassam.dll.bak
    Windows.old\WINDOWS\WinSxS\iassam.dll.bak

    Reboot and try to delete again.
      My ComputerSystem Spec

  3.    13 Dec 2017 #3

    Welcome


    Welcome to the forum
    Did you try running an SFC Command to Repair System Files

    Run SFC Command in Windows 10 Performance Maintenance Tutorials

    Good luck
      My ComputerSystem Spec


  4. Posts : 976
    Windows 7/64 Professional
       13 Dec 2017 #4

    Right tick on your drive and select Properties and then select Disk Cleanup.
    Once you have run Disk Cleanup, their should be a option to remove your Windows 10 Old.
    Just put a check mark in the little box and complete the Disk Cleanup.

    jack
      My ComputersSystem Spec

  5.    13 Dec 2017 #5

    If worst comes to worst and your runtime efforts bring no joy, you can boot your system using the Windows 10 install media, a repair disk, or a third party tool like TenForums own Kyhi's Rescue Disk. Then, if you boot to repair your PC, and go into the command line interface, you can manually delete the entire folder as you see fit. Based on prior experience with this, you may have to navigate down to delete remaining individual files, then work your way up the folder structure, deleting as you go, to get rid of the whole shebang. YMMV.
    HTH,
    --Ed--
      My ComputersSystem Spec


  6. Posts : 31,226
    Triple boot - Win 10 Pro, Win 10 Pro Insider (2) - (and a sprinkling of VMs)
       13 Dec 2017 #6

    Give this a try:

    Open an Admin Command prompt (must be Admin)

    Type cd \ and press enter (that's CD space \), that will put you in the root directory C:

    Type RD /q /s windows.old and press enter

    Watch your spelling, it counts! Better to do a copy/paste of this.
      My ComputersSystem Spec

  7.    13 Dec 2017 #7

    Renaming the file and using RD were other first efforts. Can't use Disk Cleanup, already used that and it's only the two files left; the option to remove old version of Windows no longer shows up in Windows Cleanup. I was very surprised that they couldn't be deleted after booting to LINUX.

    Have not yet tried SFC yet, will try that and the Kyhi's Rescue Disk tonight.
      My ComputerSystem Spec

  8.    13 Dec 2017 #8

    Just checking, its not Windows.old(1)
      My ComputerSystem Spec

  9.    14 Dec 2017 #9

    No, not Windows.old(1), but Windows.old.

    SFC didn't find anything wrong, but Kyhi's Rescue Disk working from the command line after booting from the WinPE disk did the trick!

    Thanks very much, and solved.
      My ComputerSystem Spec


  10. Posts : 31,226
    Triple boot - Win 10 Pro, Win 10 Pro Insider (2) - (and a sprinkling of VMs)
       14 Dec 2017 #10

    TheJoker said: View Post
    No, not Windows.old(1), but Windows.old.

    SFC didn't find anything wrong, but Kyhi's Rescue Disk working from the command line after booting from the WinPE disk did the trick!

    Thanks very much, and solved.
    That's a super tool! Hang on to it. Glad to see you're fixed.
      My ComputersSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Not being able to delete. in Browsers and Email
Using Windows 10 and Windows Live Mail. I have two questions. 1. I an not able to delete some junk emails. Some junk mail delete and some don't, and those that don't delete are accompanied with an error message "An unknown error has occurred." I...
Were you one of the hundreds (thousands?) whose PC has been screwed-up by the Windows Updates this week? Heralded as fixing 36 flaws it has screwed up many many more PCs. If you're of of those please Me Too in my thread here...
This video saved my computer. I was tired of shuffling through endless amount of fixes for this problem and I can honestly say that my search is over. MY COMPUTER FINALLY SHUTS DOWN. This fix Helped me instantly and has been working for over a week...
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 20:58.
Find Us