The upgrade to Windows 8.1 went without a hitch but I am left with three empty nested folders Windows.oldWindowsPrefetch which I have found impossible to delete. I have used administrative tools/ disc cleanup/clean up system files tried it from Safe Mode but nothing works. Error 0x80070091 The directory is not empty but according to File Explorer they are all empty. Any advice would be appreciated.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Cannot delete ‘Windows.old’ in Windows 8.1
Home » Forums » AskWoody support » Windows » Windows 8.1 » Questions: Win 8.1 (and Win 8) » Cannot delete ‘Windows.old’ in Windows 8.1
- This topic has 20 replies, 12 voices, and was last updated 11 years, 6 months ago.
Viewing 18 reply threadsAuthorReplies-
WSruirib
AskWoody Lounger -
lysdexic
AskWoody Plus -
WSruirib
AskWoody LoungerNovember 8, 2013 at 3:11 am #1421815Check if options 2 and 3 here help solve your issue: http://www.eightforums.com/tutorials/2527-windows-old-folder-delete-windows-8-a.html
-
WSMedico
AskWoody LoungerNovember 8, 2013 at 6:15 am #1421822The disk cleanup has always worked for me. It is actually the method outlined by MSto delete windows.old
-
WSrmonroe36
AskWoody Lounger -
WSmaddyacca
AskWoody LoungerNovember 11, 2013 at 6:05 am #1422261Disk Cleanup with admin privileges always works, please try this method: http://techzend.com/delete-windows-old-folder-81/.
-
lysdexic
AskWoody PlusNovember 11, 2013 at 5:11 pm #1422378Thank you for your replies. I followed them all but no joy. I even restored a pre 8.1 image upgraded again and did a system file cleanup, like the first time all the files were deleted but the three empty nested folders Windows.oldWindowsPrefetch remain. I tried Puppy Linux setup but could not get it to work, it had some problem on my machine. What I need is a boot disc with a file manager included. Thank you all.
Peter
-
WSriffraff
AskWoody LoungerNovember 12, 2013 at 8:46 am #1422425Thank you for your replies. I followed them all but no joy. I even restored a pre 8.1 image upgraded again and did a system file cleanup, like the first time all the files were deleted but the three empty nested folders Windows.oldWindowsPrefetch remain. I tried Puppy Linux setup but could not get it to work, it had some problem on my machine. What I need is a boot disc with a file manager included. Thank you all.
Peter
I think the operative word here is “empty”. Personally, I would not go through this much effort to remove empty folders.
But, I have a wife who would, so I understand.
If you couldn’t get Puppy Linux to work, try Ubuntu.
If you want to stay within the Windows boot disk realm with a file manager included, you could try Ultimate Boot CD for Windows. That, however is getting long in the tooth and might not recognize SATA disks.
And if you want to continue trying, download the Windows Automated Installation Kit. Use it to create a PE disk. Boot to PE and use the command line to delete the folders.
-
WSruirib
AskWoody LoungerNovember 11, 2013 at 5:22 pm #1422379Install TakeOwnership, right click the folder, “take ownership” of it and then try the delete as if it was a normal folder:
http://www.eightforums.com/tutorials/2814-take-ownership-add-context-menu-windows-8-a.html
lysdexic
AskWoody PlusNovember 11, 2013 at 7:38 pm #1422391Have done that many times, says ‘An unexpected error is keeping you from deleting this folder. If you continue to receive this error, you can use the error code to search for help with this problem. Error 0x80070091: The directory is not empty.’ I checked that error and cannot find a fix applicable to Windows 8.1 that works.
WSruirib
AskWoody Loungerrje81849
AskWoody PlusNovember 13, 2013 at 8:42 pm #1422663It may seem like a lot of work, but this always works; remove the hard drive, then use a sata to usb adapter to attach the HD to another computer. It will show as an additional hard drive. Open the drive, find the file, and delete it that way. In cases where I’m going to format anyway, I’ve been able to delete any & all parts of the operating system like this.
If you don’t have a sata to usb adapter, all I can say is everybody should have one. It the handiest tool I’ve run across in years.Hastings Bob
AskWoody LoungerNovember 13, 2013 at 9:19 pm #1422665The following is an addition to the registry which allows you to Take Ownership of a resource by Right Clicking. Paste it into Notepad and save it as a .REG file. Then double click it and load it into the registry. To use it navigate to folder you wish to own, right click and select Take Ownership. If the folder has a lot of files then make yourself a coffee while you wait. I got these from somewhere but I can’t recall where now.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@=”Take Ownership”
“NoWorkingDirectory”=””[HKEY_CLASSES_ROOT*shellrunascommand]
@=”cmd.exe /c takeown /f “%1” && icacls “%1″ /grant administrators:F”
“IsolatedCommand”=”cmd.exe /c takeown /f “%1” && icacls “%1″ /grant administrators:F”[HKEY_CLASSES_ROOTDirectoryshellrunas]
@=”Take Ownership”
“NoWorkingDirectory”=””[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@=”cmd.exe /c takeown /f “%1” /r /d y && icacls “%1″ /grant administrators:F /t”
“IsolatedCommand”=”cmd.exe /c takeown /f “%1” /r /d y && icacls “%1″ /grant administrators:F /t”and here is the undo for the previous .REG file. It removes it from the registry.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT*shellrunas]
[-HKEY_CLASSES_ROOTDirectoryshellrunas]
lysdexic
AskWoody PlusWSruirib
AskWoody Loungerbbearren
AskWoody MVPNovember 14, 2013 at 5:59 am #1422699FWIW Department:
I’ve run into this phenomenon a number of times in my dissections and reconstructions of Windows (moving the contents of folders to another HDD, then deleting the folder(s). The method that has always worked for me is to open an elevated Command Prompt, navigate to the lowest-level “empty” folder and run the command
Del *.* /s /q
then
CD..
followed by
RD [subfoldername]
then repeat with Del *.* /s /q
and continue this sequence up the chain of subfolders until I have removed the last “empty” folder.
Often an error message “file not found” will result from the Del command, but I just continue the sequence all the way up.
This has never failed me. YMMV
Always create a fresh drive image before making system changes/Windows updates; you may need to start over!We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.We were all once "Average Users".WSJohn-O
AskWoody LoungerNovember 14, 2013 at 7:16 am #1422710Pledden…Seems that those folders had a problem with the file index or some such.
The advice about Linux and Ubuntu for this stuff is usually sound. I’m no good with these OSes, but if you make yourself a Kaspersky Rescue CD it has a file manager that can do the job, and boots on everything but some really old P4s. The Kaspersky disk is some form of Linux, and you can scan for malware if you want.
lysdexic
AskWoody PlusWSmpioso
AskWoody LoungerNovember 15, 2013 at 1:10 am #1422925WSshalomXQC
AskWoody LoungerNovember 19, 2013 at 7:41 pm #1423918Hello All
Very Thx pledden.. i had the same problems than you. In the past (from windows 7 to windows 8 update), i used the cleanup tool to delete windows.old and had no problems.
but nothing to do since i updated from windows 8 to windows 8.1. and i tried all the things you tried.. linux cd, unlocker tool, del /q /s ect ect ect ecti tried many things but notin worked
and i read you post today.. and i used checkdisk like you saidthe exact command
chkdsk /I /F /scanwindows 8.1 rebooted, scanned the disk and i was able to delete de folder/subfolder windows.old
youpiii
very nice… i tried alot of things and notin worked excep this
very thx for this info 🙂
Sincerely
MikeViewing 18 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Trump signs Take It Down Act
by
Alex5723
5 hours, 43 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
6 hours, 8 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
7 hours, 16 minutes ago -
Success Knows No End in the World of Online Slots (Awaiting moderation)
by
isobelhartmann1
7 hours, 26 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
9 hours, 2 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
14 hours, 12 minutes ago -
hibernate activation
by
e_belmont
17 hours, 58 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
21 hours, 45 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
1 day ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
1 day ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
1 minute ago -
Out of band for Windows 10
by
Susan Bradley
1 day, 5 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 12 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 20 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
6 hours, 12 minutes ago -
Auto Time Zone Adjustment
by
wadeer
2 days ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 22 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
1 day, 2 hours ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
15 hours, 20 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
21 hours, 44 minutes ago -
Apps included with macOS
by
Will Fastie
19 hours, 36 minutes ago -
Xfinity home internet
by
MrJimPhelps
16 hours, 23 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
1 day, 17 hours ago -
Debian 12.11 released
by
Alex5723
2 days, 21 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
3 days, 1 hour ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 days, 4 hours ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
8 hours, 34 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days, 18 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
3 days, 8 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 6 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.