-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Operating System and Recovery
- Delete Files from efi system partition

Create an account on the HP Community to personalize your profile and ask a question
05-29-2017 10:17 PM - edited 05-29-2017 10:18 PM
I am trying to update to the creators update but I am getting the error of not having enough space in the system reserved partition.
I have currently mounted the volume.
mountvol y: /s
I have had a look inside and I have found that the hp folder at EFI\HP contains 61.0MB of files. Are there any files that I could delete in this directory to free up some space. Or is there any safe way to extend the size of the EFI System Partition.
Thanks
05-31-2017 07:22 AM
Hi! @lm13181, Thanks for stopping by HP forums!
I understand you are trying to upgrade to Windows 10 on your PC but you are getting an error not having enough space in the system reserved partition.
Don't worry I'd like to help you out.
Did you make any software or hardware changes on your PC?
System reserved partition is full. Microsoft says some third-party anti-virus and security apps write to the system reserved partition, which could fill the partition up.
Try the steps recommended below.
Press win+r and type diskmgmt.msc
Click on your C: drive
Below the list of drives, there will be a partition map, the first partition will be Data or some such, listed at 100MB, right click on it and go to change drive letters and paths -> add -> now choose Y: for the drive letter
Right click the CMD.EXE start menu icon and choose 'Run as Administrator'. Or, to open an admin cmd prompt, in win8 you can press win+x and choose command prompt (admin), in win7 you have to create a shortcut for cmd.exe, then go to compatibility in the shortcut properties, and choose run as admin.
Type: Y: <enter> in the cmd window
Run these commands:
takeown<space>/f<space>.<space>/r<space>/d<space>y
icacls<space>.<space>/grant<space>administrators:F<space>/t
attrib<space>-h<space>-s<space>-r<space>bootmgr
NOTE: for the icacls command you can use your username instead of administrators, to find out your username type 'whoami'
Now open explorer (win+e) go to the Y: drive under computer, Make sure hidden files and system files are visible through folder options. Then go into the Boot folder, and delete all languages other than en-US. Languages are in the form xx-XX. Make sure to shift+delete and not just delete so they don't go to the recycle bin. Empty the recycle bin afterward just in case.
now go back to the admin command prompt, and type this command:
"for win 8 "chkdsk<space>Y:<space>/F<space>/X /sdcleanup /L:5000
"for win 7"chkdsk<space>Y:<space>/F<space>/X<space>/L:5000
this truncates the NTFS log to 5MB, it can be very very big, not leaving enough space for the install. At the end of the output, it should tell you that you have at least 50MB of free space on the partition
proceed with the Windows 10 installation
once booted into 10 and set up, you can go back into diskmgmt.msc and remove the drive letter for the boot partition
Let me know if this works!
Have a great day ahead! 🙂
A4Apollo
I am an HP Employee
07-02-2017 09:49 PM
I tried following these steps after receiving the same error in Windows 10. Unfortunately, while in disk manager I clicked on the EFI partition and found my right click menu is grayed out. So I can't map a drive letter or anything. Even after mapping the drive letter in the command prompt, the Windows shell doesn't seem to recognize the mapping. So even though I can view the directories and files in the command prompt and in PowerShell, Windows Explorer says the path doesn't exist. Even if I attempt to launch Windows Explorer from the command prompt using the "start ." command, it says the Location is not available.
Perhaps there is a different fix for Windows 10? Can I just delete the whole "HP" directory in EFI? That should free up some space, right?