Can't Delete Windows.old folder or subfolders.

Page 1 of 2 12 LastLast

  1. Posts : 10
    Windows 10 Pro X64
       #1

    Can't Delete Windows.old folder or subfolders.


    After doing an In-place Reinstall of WIndows 10 X64 to fix update problems. I ran the Clean Windows Files Program to Delete all 'Old' Windows Folders & files. All seemed to go well until I looked at C:\ dribve and see that Windows.old still exists. I've tried everything to delete it; ven had Microsoft support log onto my PC and they couldn't delete the Directory and all sub-directories there-in. After Microsoft logged out I see now that the Directory viewed under Command Prompt shows as...
    C:\Windows.Old.{ED7BA470-8E54-465E-825C-99712043E01C}> In other If i do words, If do a change directory as C:\>cd Windows.Old I get... The System Cannot Find The Path Specified. If I do... cd Windows.old.* it changes to the long name as above??? When I open the C drive and just try to delete what's listed only as Windows.old, it says Could Not Find This Item.This is no longer located in C:\. Any ides how to delete this would be appreciated!
    UPDATE
    Just now Realize This is GOD MODE that was renamed Windows.Old Not sure how that happened so I guess the Old Windows Files did get deleted and somehow this God Mode got put in my C: drive named as Windows.old. NOW, how do I get rid of this or turn it off or whatever?


    All that happened was the Folder, sub-folders and programs withing got Properties changed to Hidden,
    Last edited by wings4kites; 19 Feb 2016 at 12:37.
      My Computer


  2. whs
    Posts : 1,935
    Windows 7
       #2
      My Computer


  3. Posts : 85
    Windows 10 Pro
       #3

    Go to properties of C:, Disk cleanup, Clean system files, apply, yeah check selected files, get a cup of coffee.......
      My Computer


  4. Posts : 5,478
    2004
       #4

    Disk cleanup will not remove a directory called C:\Windows.Old.{ED7BA470-8E54-465E-825C-99712043E01C}.

    No idea how you got in this situation. I suppose they renamed it for you my mistake.

    What you can do is take ownership. From elevated cmd prompt try this (exactly as it is, don't replace %USERPROFILE% with your name or anything).
    Code:
    takeown  /f  "C:\Windows.Old.{ED7BA470-8E54-465E-825C-99712043E01C}" /r
    icacls       "C:\Windows.Old.{ED7BA470-8E54-465E-825C-99712043E01C}" /grant "%USERDOMAIN%\%USERNAME%":(F) /t
    Then try to delete it.

    If that doesn't work (sometimes there may be driver files that are locked) you can try safe mode (go into msconfig > boot tab > select Safe boot and reboot. Then try deleting it again.

    Note you'll not be able to see the contents of the folder through file explorer. Because of the name you'll just see the god mode links. If you want to see what is in it you'll have to look through command prompt. Deleting the folder however deletes the correct contents - not all of the control panel links you see in explorer (I just tested it).
      My Computer


  5. Posts : 15,443
    Windows10
       #5

    If you create a live linux drive , by getting an iso and 'burn' it to a usb stick, using rufus, then it is easy to delete such files/folders.

    I use the tiny puppy linux drive (Download latest Puppy Linux release) for doing this sort of stuff.
      My Computer


  6. Posts : 3,367
    W10 Pro x64/W7 Ultimate x64 dual boot main - W11 Triple Boot Pending
       #6

    Hello wings4kites Welcome to the Ten Forums!

    The last two were both good posts there! Another more manual method I was using here wouldn't be the Command prompt but still taking ownership of the lower sub folders if any first to see those removed and then work backwards up to the main Windows.old folder with the rename there. By eliminating the subs you only have the main to deal with which is much easier to see removed by itself. The Take Ownership reg mod to see that option added onto the context menu is available in the guide for this. Take Ownership - Add to Context Menu in Windows 10 - Windows 10 Forums

    Now for booting live in a distro you may still run into some problems at times even when nothing in Windows is running as far as removing system created folders. Most distros may even prompt for your password in order to continue despite being in a completely different OS while this typical with Puppy, Ubuntu, Debian, Open Suse, etc. Mephis and Gentoo were always a bit smaller then Puppy Linux but not very Fat16, Fat32, NTFS friendly at all. Knoppix live for DVD as well as live ubuntu and later Linux Mint ubuntu or Debian based seeing less prepackaged features are popular choices.

    Regardless you may want to check the contents of the user account sub folder in case you missed seeing something backed up before tossing the newly renamed Windows.old folder away entirely. There's always that chance that...?
      My Computers


  7. Posts : 5,478
    2004
       #7

    Night Hawk said:
    Hello wings4kites Welcome to the Ten Forums!

    The last two were both good posts there! Another more manual method I was using here wouldn't be the Command prompt but still taking ownership of the lower sub folders if any first to see those removed and then work backwards up to the main Windows.old folder with the rename there.
    He said in the first post. The directory is called C:\Windows.old.{ED7BA470-8E54-465E-825C-99712043E01C}

    Try it - make a directory called "C:\NightHawk". Put some files and directories in it.

    Then rename it "C:\NightHawk.{ED7BA470-8E54-465E-825C-99712043E01C}"

    You will understand the problem.
      My Computer


  8. Posts : 3,367
    W10 Pro x64/W7 Ultimate x64 dual boot main - W11 Triple Boot Pending
       #8

    lx07 said:
    He said in the first post. The directory is called C:\Windows.old.{ED7BA470-8E54-465E-825C-99712043E01C}

    Try it - make a directory called "C:\NightHawk". Put some files and directories in it.

    Then rename it "C:\NightHawk.{ED7BA470-8E54-465E-825C-99712043E01C}"

    You will understand the problem.
    And that is precisely why you first have to be able to get inside of it and remove the contents being you can simply remove or change the name on it again. If you simply nuke the main you may not end up removing the contents within but simply end up hiding the renamed Windows.old! Seen that happen where the only way to nuke some folder that lost the name was to reformat the drive or partition it was on! Work on the contents first and then see the main taken care of!
      My Computers


  9. Posts : 5,478
    2004
       #9

    Night Hawk said:
    And that is precisely why you first have to be able to get inside of it and remove the contents being you can simply remove or change the name on it again. If you simply nuke the main you may not end up removing the contents within but simply end up hiding the renamed Windows.old! Seen that happen where the only way to nuke some folder that lost the name was to reformat the drive or partition it was on! Work on the contents first and then see the main taken care of!
    No, you are wrong. File explorer doesn't show what is inside. It shows what is defined by the name.

    I tested it. You (I am fairly sure) didn't.

    Try making a new folder, put some files inside and then renaming it to put ".{ED7BA470-8E54-465E-825C-99712043E01C}"on the end - you will see. You will see "God Mode" shortcuts through "file explorer" and you will see whatever you put there through dir via the command prompt.
      My Computer


  10. Posts : 3,367
    W10 Pro x64/W7 Ultimate x64 dual boot main - W11 Triple Boot Pending
       #10

    lx07 said:
    No, you are wrong. File explorer doesn't show what is inside. It shows what is defined by the name.

    I tested it. You (I am fairly sure) didn't.

    Try making a new folder, put some files inside and then renaming it to put ".{ED7BA470-8E54-465E-825C-99712043E01C}"on the end - you will see.
    Let's see first create a new Night Hawk folder inside aww yes the existing Windows.old seen on the test build's 7 side's 10 VM there that just saw the latest 14267 build upgrade over the 14257 and what happens when going to delete the new folder which was renamed after copying a bunch of wav files into it?

    Can't Delete Windows.old folder or subfolders.-folder-renamed-removal.jpg

    GONE IN A FLASH! So that isn't quite the problem the OP is seeing is it? Something else has a grip on it especially if the Control Panel icon is on it where when you click on the folder itself the Action Center opens instead?

    cereberus had a made a good suggestion as far as trying the removal while ubuntu or Debian based distros tend to be more Windows friendly at times then others and those tend to see more recommends for data recovery while Puppy Linux has also been used as well.

    The Take Ownership option has been used going back to XP while it was Vista that first saw the Windows.old folder introduced. I have had to remove a good number of them over the years manually where taking ownership simply going into the subs first saw the entire folder removed much sooner.

    Yet a fast right click to uncheck the "Read only" box and another right click to choose the delete option saw that Night Hawk folder in the Recycle Bin on the spot as well as without even doing that. So if you are unable to open the renamed folder to view the right click to uncheck that box is a fast move there to see it end up in the Recycle Bin followed by emptying that. No traces of the renamed folder to find later.

    Of course another right click to rename it back by simply removing the extension added once the read only box is unticked and applied as being done on a 10 VM at the moment as well as also having been tried on 7 as well. What are test builds for?
      My Computers


 

  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 08:25.
Find Us




Windows 10 Forums