How to Fix: Can't Delete 'C:\System Recovery' Folder
Infopackets Reader Barry P. writes:
" Dear Dennis,
I have an HP computer running Windows 10 (previously upgraded from Windows 8), and it's running very slow. I'd like to reinstall Windows - but before I do that, I want to back everything up onto external hard drive. I want to keep the backup as small as possible - as such, I noticed that I have a 'C:\System Recovery' folder with 'C:\System Recovery\Repair' and 'C:\System Recovery\Repair\Backup' subfolders. The 'C:\System Recovery' folder is taking up 40GB of data and I'd like to know if it's safe to delete. I have another machine here and I don't have a 'C:\System Recovery' folder on it. Can you help? "
From my initial research, it appeared that the "C:\System Recovery" folder may be specific to HP computers, as these folders are not typically found on the majority of Windows installations I've come across. Some posts online suggested that the "C:\System Recovery" folder is used in conjunction with "HP Recovery Manager," which is used to reinstall hardware drivers and software programs that originally came with HP computers. At any rate, I asked Barry if he would like me to connect to his system using my remote desktop support service in order to have a closer look, and he agreed.
After a bit of looking around (and some more research) I came across a few posts online which suggested clearing out System Restore points would help shrink the "C:\System Recovery" folder; unfortunately, this had no change on the folder size. It was also suggested that deleting this folder is safe, though it may break any function associated with this folder. Barry understood the risks and as willing to delete it, since he had no intention of recovering anything from this folder or the backups contained within it.
Unfortunately, simply deleting the "C:\System Recovery" folder will result in an "Access denied" error, as the folder and its contents are protected with special access permissions. The only way to make it deletable is to have the current user (with administrative access) take ownership of the files and its subfolders, then everything contained within "C:\System Recovery" can safely be deleted. Below I'll explain how to delete the "C:\System Recovery" folder, in case anyone else is interested.
How to Fix: Can't Delete 'C:\System Recovery' Folder
- The first thing you will need to do is open up an administrative command prompt. This will allow you to reset the permissions on the files and subfolders contained within "C:\System Recovery". To do so: click Start, then type in "cmd" (no quotes); wait for "CMD.EXE" or "Command Prompt" to appear in the list, then right click it and select "Run as Administrator".
- Use your mouse to highlight the text below:
takeown /f "c:\system recovery" /r /d y >out.txt
icacls "c:\system recovery" /reset /T >out2.txt
rmdir /q /s "c:\system recovery"
echo this is a dummy line
- Right click over top of the highlighted text above, then select "Copy" from the dialogue menu.
- This step will delete the "C:\System Recovery" folder - take note that deleting this folder will break any function associated with it. With that said: if you are running Windows 8 or 10, it is still possible to "Reset" or "Refresh" Windows which is effectively the same as "Restoring," so to speak. If those features don't work (for whatever reason), another option is to reinstall Windows using install media
(which can be downloaded free from Microsoft using the Media Creation Tool
for Windows 8 or 10) - which is what Barry intended to do.
With that out of the way: to delete the "C:\System Restore" folder, right click in the middle of the administrative command prompt and select "Paste" from the dialogue menu. The text you copied in Step #2 above should now be output to the command line and the "C:\System Restore" folder will be deleted.
I hope that helps.
Got a Computer Question or Problem? Ask Dennis!
I need more computer questions. If you have a computer question -- or even a computer problem that needs fixing - please email me with your question so that I can write more articles like this one. I can't promise I'll respond to all the messages I receive (depending on the volume), but I'll do my best.
About the author: Dennis Faas is the owner and operator of Infopackets.com. With over 30 years of computing experience, Dennis' areas of expertise are a broad range and include PC hardware, Microsoft Windows, Linux, network administration, and virtualization. Dennis holds a Bachelors degree in Computer Science (1999) and has authored 6 books on the topics of MS Windows and PC Security. If you like the advice you received on this page, please up-vote / Like this page and share it with friends. For technical support inquiries, Dennis can be reached via Live chat online this site using the Zopim Chat service (currently located at the bottom left of the screen); optionally, you can contact Dennis through the website contact form.
Infopackets Top Windows 10 FAQs
How to Upgrade from Windows 10 32-bit to 64-bit
How to Fix: Windows 10 Antivirus Missing, Not Compatible
How to Fix: Windows 10 Display Shifted; Screen Fuzzy
How to Upgrade Windows 7, 8 32-bit to Windows 10 64-bit
to Downgrade from Windows 10
- How to Fix: Windows 10 Upgrade Failed Error C1900208
- How to Fix: Windows 10 Upgrade Failed Error 80240020
- Can I Cancel my Windows 10 Reservation and Reserve Later?
- How to Clean Install Windows 10 using Windows 7, 8 License
- Will Windows 10 Install Automatically?
- Windows 10 Upgrade: Do I have to Reinstall Programs?
- Windows 10 Upgrade: Can I choose 32-bit or 64-bit?
- Which Version of Windows 10 Will I Get (Home or Pro)?
- How to Reserve Windows 10 Upgrade (Free)
- How to Fix: CPU Not Compatible with Windows 10 Error
- Windows 10 Upgrade: Can I keep my Old Windows Install?
- How to Cancel Windows 10 Reservation (Properly)
- Download Windows 10 .ISO (DVD) for Clean Install?
- Microsoft: Windows 10 Will Be The Last Version
- Does Windows 10 require the CPU to support PAE?
- Windows 10: Can I Upgrade or do I need a Clean Install?
Click here for more Windows 10 articles.