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? "
My response:
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:
c:
cd \
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.
Most popular articles
- Which Processor is Better: Intel or AMD? - Explained
- How to Prevent Ransomware in 2018 - 10 Steps
- 5 Best Anti Ransomware Software Free
- How to Fix: Computer / Network Infected with Ransomware (10 Steps)
- How to Fix: Your Computer is Infected, Call This Number (Scam)
- Scammed by Informatico Experts? Here's What to Do
- Scammed by Smart PC Experts? Here's What to Do
- Scammed by Right PC Experts? Here's What to Do
- Scammed by PC / Web Network Experts? Here's What to Do
- How to Fix: Windows Update Won't Update
- Explained: Do I need a VPN? Are VPNs Safe for Online Banking?
- Explained: VPN vs Proxy; What's the Difference?
- Explained: Difference Between VPN Server and VPN (Service)
- Forgot Password? How to: Reset Any Password: Windows Vista, 7, 8, 10
- How to: Use a Firewall to Block Full Screen Ads on Android
- Explained: Absolute Best way to Limit Data on Android
- Explained: Difference Between Dark Web, Deep Net, Darknet and More
- Explained: If I Reset Windows 10 will it Remove Malware?
My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited
We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.
Comments
Thanks a lot for this article
Thanks a lot for this article. I had no idea what that particular recovery folder was (since it seemed to be completely unrelated to system restore) and your solution helped me recover 15GB of presumably wasted space.