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 Lounger -
rje81849
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 Plus -
WSruirib
AskWoody Lounger -
bbearren
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 Plus -
WSmpioso
AskWoody LoungerNovember 15, 2013 at 1:10 am #1422925 -
WSshalomXQC
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
Mike
Viewing 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
-
Giving UniGetUi a test run.
by
RetiredGeek
5 hours, 42 minutes ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
13 hours, 20 minutes ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
11 hours, 18 minutes ago -
Auto Time Zone Adjustment
by
wadeer
17 hours, 49 minutes ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
15 hours, 29 minutes ago -
Manage your browsing experience with Edge
by
Mary Branscombe
4 hours, 34 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
7 hours ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
11 hours, 18 minutes ago -
Apps included with macOS
by
Will Fastie
10 hours, 55 minutes ago -
Xfinity home internet
by
MrJimPhelps
10 hours, 50 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
10 hours, 48 minutes ago -
Debian 12.11 released
by
Alex5723
1 day, 14 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
1 day, 18 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
22 hours, 5 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
14 hours, 29 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
2 days, 11 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
2 days, 1 hour ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
2 days, 14 hours ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
2 days, 6 hours ago -
Some advice for managing my wireless internet gateway
by
LHiggins
1 day, 14 hours ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
16 hours ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
2 days, 23 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
11 hours, 50 minutes ago -
Does windows update component store “self heal”?
by
Mike Cross
2 days, 10 hours ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
3 days, 13 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
1 day, 21 hours ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
1 day, 10 hours ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
3 days, 16 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
3 days, 16 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
4 hours, 36 minutes 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.