test4321 Posted April 27, 2021 #1 Posted April 27, 2021 (edited) Howdy, After I flashed USB sticks with Xpe boot images, it would create 2 partitions on it. This creates a problem where if you delete 2 partitions through Windows Partition manager, it bricks the USB. Is there a way to recover the USB after Xpe partitions? It basically doesnt see the partition after you re-create it. ^^^ this is how it looks like in partition manager It does not show up in the explorer. I edited the USB in MiniTool Partition Manager also, but it still shows nothing. I'm not really trying to recover XPE partitions. Just trying to make the USB usable. Edited April 27, 2021 by test4321
0 jensmander Posted April 27, 2021 #2 Posted April 27, 2021 Do you intend to re-use the stick as a normal storage device? Otherwise deleting the partitions for XPE is not a good idea. To clean the stick run the CMD as Administrator: - diskpart (CMD changes to DISKPART>) - list disk (you should see a list beginning from 0 that shows all connected devices/drives and their size) - select disk X (< replace X with the number of your USB drive, be absolutely sure about this) - clean (this wipes all(!) partitions from the drive) - create partition primary - active - format fs=ntfs quick (this formats the stick with NTFS, for FAT32 change it to fs=FAT32) - assign - exit - exit 1
0 test4321 Posted April 28, 2021 Author #3 Posted April 28, 2021 On 4/26/2021 at 11:48 PM, jensmander said: Do you intend to re-use the stick as a normal storage device? Otherwise deleting the partitions for XPE is not a good idea. To clean the stick run the CMD as Administrator: - diskpart (CMD changes to DISKPART>) - list disk (you should see a list beginning from 0 that shows all connected devices/drives and their size) - select disk X (< replace X with the number of your USB drive, be absolutely sure about this) - clean (this wipes all(!) partitions from the drive) - create partition primary - active - format fs=ntfs quick (this formats the stick with NTFS, for FAT32 change it to fs=FAT32) - assign - exit - exit Thanks! It's throwing an error after "clean" command. DISKPART> clean DiskPart has encountered an error: Access is denied. See the System Event Log for more information. I looked at the event log and got this: Cannot zero sectors on disk \\?\PhysicalDrive7. Error code: 5@0101000F There is some kind of special partition formatting that must be present on USB. I found this page: https://www.pendrivelinux.com/restoring-your-usb-key-partition/ And unbricked the USB with: https://www.sdcard.org/downloads/formatter/ This worked perfectly! Thanks for helping me with this issue @jensmander !
0 Dfds Posted April 28, 2021 #4 Posted April 28, 2021 The question(s) in this topic have been answered and/or the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic.
Question
test4321
Howdy,
After I flashed USB sticks with Xpe boot images, it would create 2 partitions on it.
This creates a problem where if you delete 2 partitions through Windows Partition manager, it bricks the USB.
Is there a way to recover the USB after Xpe partitions?
It basically doesnt see the partition after you re-create it.
^^^ this is how it looks like in partition manager
It does not show up in the explorer.
I edited the USB in MiniTool Partition Manager also, but it still shows nothing.
I'm not really trying to recover XPE partitions. Just trying to make the USB usable.
Edited by test43213 answers to this question
Recommended Posts