Page 1 of 2 12 LastLast
  1.    18 Feb 2016 #1
    Join Date : Feb 2016
    Posts : 10
    Windows 10 Pro X64

    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 ComputerSystem Spec
  2.    18 Feb 2016 #2
    Join Date : Oct 2013
    Posts : 1,962
    Windows 7
      My ComputerSystem Spec
  3.    19 Feb 2016 #3

    Go to properties of C:, Disk cleanup, Clean system files, apply, yeah check selected files, get a cup of coffee.......
      My ComputersSystem Spec
  4.    19 Feb 2016 #4
    Join Date : Jul 2015
    Posts : 3,694
    10 Pro

    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 ComputerSystem Spec
  5.    19 Feb 2016 #5
    Join Date : Dec 2015
    Posts : 5,882
    Windows10

    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 ComputerSystem Spec
  6.    19 Feb 2016 #6
    Join Date : Apr 2014
    Posts : 3,361
    W10 Pro x64/W7 Ultimate x64 dual boot main - W10 Pro Insider Preview/W7 Pro x64 - remote pc

    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 ComputerSystem Spec
  7.    19 Feb 2016 #7
    Join Date : Jul 2015
    Posts : 3,694
    10 Pro

    Quote Originally Posted by Night Hawk View Post
    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 ComputerSystem Spec
  8.    19 Feb 2016 #8
    Join Date : Apr 2014
    Posts : 3,361
    W10 Pro x64/W7 Ultimate x64 dual boot main - W10 Pro Insider Preview/W7 Pro x64 - remote pc

    Quote Originally Posted by lx07 View Post
    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 ComputerSystem Spec
  9.    19 Feb 2016 #9
    Join Date : Jul 2015
    Posts : 3,694
    10 Pro

    Quote Originally Posted by Night Hawk View Post
    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 ComputerSystem Spec
  10.    19 Feb 2016 #10
    Join Date : Apr 2014
    Posts : 3,361
    W10 Pro x64/W7 Ultimate x64 dual boot main - W10 Pro Insider Preview/W7 Pro x64 - remote pc

    Quote Originally Posted by lx07 View Post
    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?

    Click image for larger version. 

Name:	Folder renamed Removal.jpg 
Views:	1 
Size:	52.8 KB 
ID:	65053

    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 ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Solved Duplicate subfolders in User folder
Hi there. Have been working with Build 10074 for several days. Just realized yesterday that my main user folder has duplicate sub-folders (2 Documents, 2 Music, 2 Videos, 2 Downloads, 2 Pictures). They are the same size, have the same properties)....
General Support
Unable to delete a folder - Invalid folder name
Unable to delete a folder on an external USB HDD. Tried with take ownership. Tried Takedown, and some options on Owner of Files and Folders - Change in Windows 10 - Windows 10 Forums I booted from USB (WinPE/Paragon) and accessed command...
Performance & Maintenance
Solved How to delete C:\Windows.old(1) folder
I had problems with Windows and did a in-place upgrade which took C:\Windows.old and changed it to C:\Windows.old(1) while creating a new C:\Windows.old. Disk Cleanup got rid of C:\Windows.old but how do I get rid of C:\Windows.old(1)?
Performance & Maintenance
How to force subfolders to display parent folder's columns?
So example, I have folder named MP3. Inside this folder I have folder named FLAC. MP3 folder has Name, Title, Artist, Type, Bitrate columns. How to make FLAC folder to display the same things in the same exact arrangements? If I have...
General Support
Solved Can I delete Windows.old folder ?
Can I delete Windows.old folder ? and is it any important file inside that folder ? and where can I find my device manager ? :really:
General Support
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 15:10.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums