New
#1
Command line to remove contents from an EFI partition
This computer has a working windows 10 professional version 1703 build 15063.296 now. Last month I had had a problem where I was unable to upgrade from windows 10 version 1607 to version 1703 with error code 0xc1900200.
To learn from this problem any information on how to use command line to remove specific folders within a partition (both hidden and not hidden is appreciated)
On this computer there were two windows 10 version 1607 clean installs in March 2017. In April 2017 there was a failed to upgrade to windows 1703.
There was a second problem that I had been working on with HP and that was about the bios UEFI hardwae diagnostic logs (extensive, loop until failure or component studies) were all disappearing from the UEFI log.
It was unclear why a clean install of 1607 had adequate partition size but not free space within its partition after a clean install. Ordinarily when HP UEFI diagnostics are run within the bios a log is saved to EFI partition. However before and after the clean installs every UEFI diagnostic study indicated that it was saved after it was completed (both automatic and manual saves) but upon reboot and return to the bios UEFI diagnostics the logs disappeared. HP had indicated that if the log was filled with results it could exceed the size of the partition. Old logs would be saved but new ones would not be able to be saved. In this case there were no retained logs at all. HP had me download and install multiple times the UEFI diagnostics:
HP PC Hardware Diagnostics | HP® Official Site
Neither one nor multiple downloads worked to fix the failure to save log files.
None of the HP reps were able to figure out what was happening. They did find one computer in their office that had a similar problem but had not troubleshooted it.
This was the disk management after bios sanitization and legacy to UEFI changes and before windows 10 1607 to 1703 upgrade failure:
C:\$Windows.~BT\Sources\Panther was used to generate log files to troubleshoot the Windows upgrade failure.
Analysis of the logs led to the report that the upgrade was seeking more free space than what was available in the EFI partition.
2017-04-06 05:03:00, Info CONX CFreeSystemPartitionDiskSpaceChecker: checked InsufficientSystemPartitionDiskSpace, found HardBlock.Not enough space on partition [\\?\GLOBALROOT\Device\HarddiskVolume2\] Required: 15 MB. Available: 6 MB.
Were the HP UEFI partition log problems and the failed Windows 10 1607 to 1703 problems related to the same partition? The EFI partition?
The size of the partition appeared okay for the upgrade specfications. It was the free space within the partition that was insufficient. Per the link below within this partition were files for foreign language, font. Possibly the UEFI diagnostics too? It was unclear how to remove items from this partition. HP suggested using command line but they did not provide information on how they planned to remove the downloaded HP UEFI diagnostics (not available to uninstall via control panel).
It was repaired using the information in this link (explorer.exe): https://support.microsoft.com/en-us/...ing-windows-10
Was there an easy method using command line to uninstall the UEFI diagnostics folder? Using diskpart?
Or was there an easy method using command line to uninstall the Microsoft language folders or font files?
Backup files are highly recommended. If files were not backed up which method is considered safer explorer.exe or command line? Another option was to leave the contents of the EFI partition but enlarge its size. It was unclear whether this would place the nearby files at risk. It remains a learning experience for me as I need more experience in these areas.