MVP tool problem when creating USB flash drive : "Failed to format"

I'm seeing the following problem while creating USB flash media with the MVP tool using ATI 2021.
-------------------------
[Creating USB flash drive.]
-------------------------
Enter USB flash drive letter with colon (like F:):K:
WARNING, ALL DATA ON DISK DRIVE K: WILL BE LOST!
Proceed with Format [Y,N]?Y
Formatting K:...
ERROR: Failed to format "K:"; DiskPart errorlevel -2147024809.
I have verified that the media indeed formatted - I had put files on it beforehand that are now gone, and the label was changed to WINPE. So, at the very least, the error message is in error.
The issue happens whether I use WINRE or ADK.
I have attached a few log files of the failed sessions.
Note that the resulting ISO can be burnt to a flash drive just fine using Rufus, and the flash drive then boots fine.
I'm using a Sandisk 32GB flash drive when I see this problem.
Fichier attaché | Taille |
---|---|
MVP_ATIPEBuilder_12-08-2021_00.49.45.log | 3.08 Ko |
MVP_ATIPEBuilder_12-08-2021_00.43.30.log | 3.22 Ko |
MVP_ATIPEBuilder_12-08-2021_00.36.22.log | 8.43 Ko |
MVP_ATIPEBuilder_12-08-2021_00.31.38.log | 8.57 Ko |
MVP_ATIPEBuilder_12-08-2021_00.20.11.log | 8.57 Ko |


- Se connecter pour poster des commentaires

Here is another possibility for a solution. You may need to reformat the USB drive as MBR.
WinPE ERROR: Failed to format "G:"; DiskPart errorlevel -2147024809 when creating an USB WinPE Media
- Se connecter pour poster des commentaires

Update your version of Windows ADK to match your installed Windows version. Not doing this can cause many issues especially with drivers. Some 32GB flash drives are now coming formatted as NTFS. I have found it is necessary to use Disk Management to pre-format the such drives as FAT32 to avoid issues. I am of the opinion that at times a quick format is not sufficient to change for NTFS to FAT32.
- Se connecter pour poster des commentaires

Enchantech wrote:Update your version of Windows ADK to match your installed Windows version. Not doing this can cause many issues especially with drivers. Some 32GB flash drives are now coming formatted as NTFS. I have found it is necessary to use Disk Management to pre-format the such drives as FAT32 to avoid issues. I am of the opinion that at times a quick format is not sufficient to change for NTFS to FAT32.
I'm using the most recently available ADK, which Microsoft lists as being for Windows 10 version 2004 - 20H2 or 21H1.
I'm running Windows 10 21H2. I don't think a newer ADK has been released yet. I don't know if one will be.
The drive was already formatted as FAT32. I didn't try doing a long format.
- Se connecter pour poster des commentaires

Julien, you have the latest ADK for Windows 10 but it is possible to download and install a newer version of the ADK & PE files intended primarily for Windows 11 but which work fine on Windows 10 too (I have this latest version installed but had to uninstall the older one first manually). I have used that later version to create MVP Custom PE media in the last couple of days with no issues (but only to a 4GB drive).
- Se connecter pour poster des commentaires

Steve Smith wrote:Julien, see forum topic: Failed to Format "D:"; DiskPart errorlevel -2147212243 - where another user hit the same error. I would suggest trying a different / smaller USB stick initially.
Also forum topic: Problem with MVP Advanced Tool
Thanks. It worked after I followed the instructions in your post in the thread you linked :
Preparing USB drive for use by Acronis using Diskpart
diskpart
list disk (to identify USB drive, i.e. 1)
select disk 1
clean
create partition primary
active
format fs=fat32 quick
assign
exit
I had already done the equivalent through disk manager, but somehow it didn't work with the MVP tool.
FORMAT J: (actual drive letter) did work. I'm really puzzled by this. But glad the manual disk part commands solved it.
- Se connecter pour poster des commentaires

Julien,
It is known fact that flash drives after being formatted by utilities such as Rufus will have leftover bits that survive a Quick format. The diskpart method will correct that issue every time. I not longer use Rufus for building ISO files as a consequence of this.
- Se connecter pour poster des commentaires