What worked for me was just going until the "clean" part, then after cleaning the SSD, I typed "convert gpt". Then "exit", and "exit" again. Now I restarted and tried to install Windows again, and it worked like a charm.
Even though this didn't entirely help me, I must say I couldn't do it without it so kudos to you man! Here's a description of what I had to do to successfully install Windows 10 on a Thinkpad E15 Gen2 (NVMe SSD) (the commands are wrapped in quotes): 1. Create a bootable USB with Windows 10 2. Launch the installer using the USB 2.0 (don’t ask why, it might work for you on 3.0+ but if not try 2.0) 3. Open Command Prompt (Shift + F10) 4. Start diskpart: "diskpart" 5. List disk: "list disk" 6. Select the disk you’d want the Windows to be installed on: "select disk 0" 7. Clean the disk (ATTENTION: this will delete all the data on the disk, make sure you have a backup of it somewhere): "clean" 8. Convert the disk to GPT. This is the new standard that replaces MBR in all new systems (Thanks to @Indigo Wyvern for this): "convert gpt" 9. Create a new primary partition and set its size (depending on your needs): "create partition primary size=50000" 10. Format the newly created partition to NTFS: "format fs=ntfs" 11. Assign a default letter to the newly created partition: "assign" 12. List all current volumes you have. At least two should be present, one being your drive in your computer and the other one the USB flash drive from where the Windows is about to be installed. Remember the letters assigned to both these drives: "list volume" 13. Exit diskpart: "exit" 14. Run the following commands to fix MBR: "bootrec /FixMbr" "bootrec /FixBoot" "bootrec /RebuildBcd" 15. Change the directory to the USB flash drive (remember the letter associated to the USB flash drive from step 12.): "cd d:" 16. Copy the install files from the USB flash drive to the drive in your computer: "xcopy d: c:/e/h/k" 17. The copying might take a while so please be patient. As soon as it’s done exit the command prompt: "exit" 18. Restart the computer. 19. The installer will launch again and you can now select the previously created partition and proceed with the installation. 20. NOTE: The installation should work now BUT in order to avoid unexpected errors during installation remove the USB flash drive from your computer. 21. The installation should finish properly and the initial Windows setup should show up.
@@zsolt_boldizsar lmao bro too late now :( , i was following your steps and suddenly i got something mbr error after that i exit two times and when i restarted my pc my screen just stuck on one place "_" this underscore on the top left corner on a black screen keep blinking and i doesnt go past this . guess i have to take it to a repair shop now since i dont know much about this stuff
You forgot to mention that ater creating new partition and copying files you must remove the USB drive and reboot into newly created partition and install windows from it.
3 years on and you are still helping people, this worked perfectly and was really easy to follow. Many, many thanks for taking the time to put this together!
Yes work. Jadi setelah setingan selesai. Lalu flashdisk dicabut komputer restart lalu masuk bios dan booting dengan hardisk (yg tempat dicopi filenya yg tadi). Install windows sampe selesai.
I was pulling my hair out trying to install windows all night till six in the morning. I wish I'd found this video earlier. You are a computer god. I may be delirious from lack of sleep :).
I don’t usually leave comments, but I can’t thank you enough for this!! Been trying to install windows 11 for 3 hours. I had gone through just about every “solution” I could find. I was about to give up, then found your video!! Thanks so much!!
Thank you very much. This worked for me with the following customization: 1. Right after the command *Clean* , enter command: *Convert GPT* (my Dell is 64 bit only) 2. After the *xcopy* command, close the Command Prompt to go back to the installation window. Exit everything to restart the computer. Remove the boot USB before the computer start to make sure that the computer will boot from the hard drive, not the USB. 3. Here is my customization. In my case, when the installation came back, the error message " _We Couldn’t Create A New Partition Or Locate An Existing One was still there_ ". So, I *deleted the partitions from within the installation interface* (not the Command Prompt). Then, I *plugged the boot USB back in* and it worked. This means that Windows setup first booted from the hard drive but then the hard drive needed to be cleaned up (unallocated) and used the installation files from the boot USB to continue the installation. Hope this helps.
WTF!!!! YOU NEED A DONATE FOR THIS TUTORIAL!!! I installed Linux and its system corrupted my hard drive and I couldn't install Windows again, but this tutorial saved my day!! Thanks ❤
I'm a little tech savvy so I figured it had to do with using a SSD I had used it as external storage before. I didn't know you could open up CMD from Windows install. Thanks dude! FYI for anyone who's installing W10, stop after "CLEAN" since all you need to do is wipe/format the drive. The install software should have done it but it doesn't succeed apparently so do this instead.
Windows 11 requires gpt format so if you are installing windows 11 please stop after clean and type convert gpt and then you will be able to install. The top most comment on this video explains this. If you are installing windows 10 or lower keep following the steps
This works like a charm but quite out date. For more details, I created bootable SSD (not USB as usual) via MACOS. And my setup is TUF x570 + 3600X + NVMe. I can manage to boot to setup page (disable secure boot, fastboot, wifi, enable CSM), but always has a lot of errors. After some search, I known the reason is windows can not install when you have multiples storage devices (I have 2, once is SSD for install windows, and one is NVMe). So what I need to do is copy all file from SSD to NVMe following this videos, and remember to `convert GPT` after the first `clean` command, and `create partition primary size=9000` because 5000MB is not enough for today windows installation. After copying, IMPORTANT thing to do is unplug the SSD. Only keep 1 storage device on mainboard. If anyone has same problem, just leave reply here.
I have the same problem and I added the convert GPT after the clean but followed the same steps exactly and this worked! I've been at this for 10+ hours over the last 2 days and was beating my head against the wall! I will add the exact instructions here to help others: diskpart list disk select disk X (X: Select the system disk you use) clean Convert GPT (This is a very important part if you have M.2 NVMe I believe and what fixed my issue - you still need to do the rest) create partition primary size=20000 (you can go less, say 9000, but I did 20000 to be safe) format fs=ntfs quick assign active list volume exit cd d: (change directory to the USB flash drive) xcopy d: c:/e /h /k (important, you may have to change the order, you are copying from source to destination drive letter) OR xcopy c: d:/e /h /k
Don't forget to remove the flash drive after you finish working on the command prompt and start installing windows again. (at minute 3:00 ) in this video. Thanks buddy, worked perfectly.
Now it says: Windows can't be installed on this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
Thanks perfect instructions except for the end I had to figure out but you got me that far at least. In case anyone wants to know, take the disk out and reboot and then install.
@@mafakasailo8355 Pretty sure you can, since clean is a really fast process, so it is not actually destroying the data, it just removes the data tree(index), but physically the data are still on the drive.
This is great, thank you! One comment for anyone where its still not working - I got tripped up on the size of the partition, a lot of modern installers exceed 5gb, and the xcopy fails silently if there isnt enough space on the partition. Its worth making sure your partition exceeds the size of the files on your boot drive!
Thanks sooo much really appreciate it ! I was installing a m2 drive and could not get windows on it. I had to add one step converting to gpt but this was very helpful thanks again
It worked. Thank you so much! I encountered some problem when upgrading to W11 so I thought I had to downgrade to W10 again, but that gave me a headache because of this error so this saved me from spending money on something that can be done this easily. I'm your new subscriber now. 😌
Thank you. I've spent the past day and a half trying to reinstall windows on one of my machines with the solid state drive and just ran into issue after issue. This took care of all of them. Thanks for sharing your knowledge.
Worked for me with some tweaking. I went through a few different steps because I was doing an install on a UEFI system. Before opening the command prompt, I had the installer create the necessary partitions, but leave about 10GB unpartitioned. I then used that space and made the partition with diskpart, copied the installer contents, then closed the installer and removed the thumbstick I was installing from. Once I started installation again (no reboot!) all worked perfectly. My method works with the 1809 update, didn't try with anything newer.
Thanks for saving me a headache. Great video! Make sure after you copy the installation files to the new drive you remove all other drives and media. Boot to the newly formatted drive and run the utility. Automatic from there.
Thanks for this. I was stuck with the part of copying the installer to the hard disk so i decided to see the comments section. Someone said you can skip the copying after making the partition and i did just that but it won't let me install it so I re-tried the whole process again taking note of your comment (convert gpt) then skipped the copy installer part. After refreshing i can now install the OS to the unallocated part. It's now at 94% getting files ready for installation. A progress indeed 🎉 thanks!
Another solution that worked for me: Disconnect all drives. Even SD Card and CD Drives if any. Make sure nothing extra shows up except for Target drive and USB INSTALLATION Drive Use Load Driver>Browse to ensure only 2 drives appear
I did the Clean and Format part and then came back to the Error Screen ( after Exit twice from the Command Prompt) and resumes the installation without restarting it again. It Worked. Thanks a lot for the help.
This seems to no longer work for a clean install of Win10 1903. All the steps followed, but now when you get the last step and try install on the remaining free space, it won't allow it because the disk has been setup as an MBR partition table, and you can't convert to GPT because of what it sees as as "CDROM" partition (the partition with installation files)
Alex Atkinson The solution I found was to partition another disk, not the one I was installing to, with the bootable partition from the thumb drive. So all the steps in this video will work, but you need another blank internal disk in addition to the one you intend for your C:/ drive. You could also use a larger external drive. Non-thumb style externals are usually coded to be recognized as an internal disk even if they connect via USB
Hi guys, For my problem, even I have tried many ways but it is still not working. Below are 2 different ways that I think you should try more. It helps me success 1. Remove all addition USB (Except USB that contain windown) 2. If you are using 2 separate hardware like: SSD and HDD. And you wanna set up windown on SSD Please unplug HDD. Best regards!
Awesom!!! I was jumping when it worked! I had to repeat it 2 times, second time I insert ‘convert gtp’ and furthere command ’active’ wasn’t necessary. Thank you.
Word of mind: don't forget to edit your boot priority in UEFI/BIOS so the Windows Setup can detect your new partition properly! I just ran into this problem and I got frustrated. I saved the boot prio this way: 1st option = your install device, e.g. a usb drive 2nd option = the new partition. It may happen that you cannot select the harddrive you partitioned, in my case because I run 2 other drives. Look up the harddrive with your new partition in the priority order, then disable everything else above it until it's in 2nd position. If I'd known how to do this earlier, I wouldn't have lost hours upon this problem. I hope this will help you
Please bro help me... I used pandrive for installing windows when i format my C Drive it goes to Unallocated space. So i can't create New Partition. And Mistakenly My pendrive data was removed by using your method. What to do now 🤐
After typing “create partition primary size=5000” I got “diskpart has encountered an error: the request could not be performed because of an I/O device error. See the system event log for more information.” Can you help please
It worked for me in 2024. I had to exit and restart my system, then remove my flash drive after I exited the cmd. That's how it worked. Thanks for the great work. I love you.
Why i get this?: " Diskpart has encountered an error: The request could not be performed because of an I/O device error. See the system event log for more information. " Please help me
You know how you had a problem and did a search and found this video? Do another search. www.google.com/search?q=+Diskpart+has+encountered+an+error%3A+The+request+could+not+be+performed+because+of+an+I%2FO+device+error.&client=tablet-android-samsung&sourceid=chrome-mobile&ie=UTF-8
It all worked but how can increase the 5000 because the installation media is about 12000 and when I enter that it says an encountered error because of an I/O device error
I have done all steps up to. Create partition primary size=5000 And the result is(disk part has encountered an error: the request could not be performed because of an I/o device error. See the system event log for more information.) Please help me to solve this error
Thanks. This helped to bypass the error message. After copying the files I removed USB stick and restarted and now I am able to proceed with installing Windows system. Great!
Thanks!! Ive been at this all day and your method worked first time!! I subbed and liked By the way if you finished all these steps but still cant do it, you need to shut down your PC, unplug the USB with windows on it, then boot up your PC again, go to the bios, select the boot menu, then select the hard drive you want windows installed on, and boot in to that, then you will be able to continue the tutorial. Again thanks!!
Omg, it worked!! I am running SSD not sure if the "extra step" that is needed to fix my entire issue. Big thanks to you man and those whom mentioned about the "convert gpt" this has save my dead pc back alive!!!! Love y'all!!!
Just sharing experience: If you using 2 memory internal either ssd or hdd, just plug in the one you will used it, and try install like the normal (if still not work then you could try like this tutorial do). On my case I using hdd and ssd (as main win), after plug out hdd and try install again. It's work.
After 3 days of trouble trying to install Windows 10 v 1803 on a second internal SSD in my iMac 2011 High Sierra. At last , thanks alot!! I used a partition on a 3rd internal SSD to write the install files from the usb stick to, and installed from there to a partition of the 2nd SSD
Hi Guys, so after looking online for a solution i finally got it to work for me... 1. Download Rufus. 2. When you setting up a boot USB using Rufus use GPT and not MBR for the Partition Scheme.
@@Romeo007sm It really depends on how old is your computer (BIOS/UEFI). Older machines use MBR as partition scheme so that won'r work on older hardware.
Thanks for the help! On a side note, why does this happen? I had ubuntu and windows installed on my disk when it suddenly wouldnt boot, then I got this error on both of my drives.
Hi, I do not now if you already solved your issue, but there is probably error with your installation media. I mean that your CD/DVD/USB from you are installing Windows is corrupted. Try another media.If you think your media is ok, so the disk drive is corrupted and you have to fix it..
i skip the create partition primary i close the cmd after that i reformat and there will be a message pop ups after that u will notice your options is disabled excluded “new” click that and declare a partition after that everything is gonna fine 😁
Timothy Basalo, Tim thank you so much, this was all that was necessary. W10 on my SSD now wooo! Such a relief. Now to pick up my bits of hair off the floor.
Don't worry guys your data is still there. you can get it back. First of all press right click on my computer icon then select manage, then select disk management from the right side. then down you will see your partition, you will find them dynamic virtual, Finally right click on them then Import forien disks.. Don't thank me ♥
Cheers bro this helped. If anyone is still encountering the same problem, make sure to boot from the local drive that you copied the installation files to.
Hey for anybody having the issue still occurring just disconnect all your hard drives except the one you’re installing windows on. Worked for me countless times
After completing the copying step ,remove the usb or cd before restarting your computer , I had spent hours together and after doing this step then it worked 👍👍👍
great job!!! One worth to leave comment though, I had to restart the PC after the process to Installer be able to start installing on unallocated space
What worked for me was just going until the "clean" part, then after cleaning the SSD, I typed "convert gpt". Then "exit", and "exit" again.
Now I restarted and tried to install Windows again, and it worked like a charm.
Thank you!!
Thank you!!!
The real mvp thank you
Ty very much
Thx man!!
Even though this didn't entirely help me, I must say I couldn't do it without it so kudos to you man!
Here's a description of what I had to do to successfully install Windows 10 on a Thinkpad E15 Gen2 (NVMe SSD) (the commands are wrapped in quotes):
1. Create a bootable USB with Windows 10
2. Launch the installer using the USB 2.0 (don’t ask why, it might work for you on 3.0+ but if not try 2.0)
3. Open Command Prompt (Shift + F10)
4. Start diskpart: "diskpart"
5. List disk: "list disk"
6. Select the disk you’d want the Windows to be installed on: "select disk 0"
7. Clean the disk (ATTENTION: this will delete all the data on the disk, make sure you have a backup of it somewhere): "clean"
8. Convert the disk to GPT. This is the new standard that replaces MBR in all new systems (Thanks to @Indigo Wyvern for this): "convert gpt"
9. Create a new primary partition and set its size (depending on your needs): "create partition primary size=50000"
10. Format the newly created partition to NTFS: "format fs=ntfs"
11. Assign a default letter to the newly created partition: "assign"
12. List all current volumes you have. At least two should be present, one being your drive in your computer and the other one the USB flash drive from where the Windows is about to be installed. Remember the letters assigned to both these drives: "list volume"
13. Exit diskpart: "exit"
14. Run the following commands to fix MBR: "bootrec /FixMbr" "bootrec /FixBoot" "bootrec /RebuildBcd"
15. Change the directory to the USB flash drive (remember the letter associated to the USB flash drive from step 12.): "cd d:"
16. Copy the install files from the USB flash drive to the drive in your computer: "xcopy d: c:/e/h/k"
17. The copying might take a while so please be patient. As soon as it’s done exit the command prompt: "exit"
18. Restart the computer.
19. The installer will launch again and you can now select the previously created partition and proceed with the installation.
20. NOTE: The installation should work now BUT in order to avoid unexpected errors during installation remove the USB flash drive from your computer.
21. The installation should finish properly and the initial Windows setup should show up.
broo
reply to this so that i know ur active right now
i have a question
Hi there, what's your question? :-)
@@zsolt_boldizsar lmao bro too late now :( , i was following your steps and suddenly i got something mbr error after that i exit two times and when i restarted my pc my screen just stuck on one place "_" this underscore on the top left corner on a black screen keep blinking and i doesnt go past this . guess i have to take it to a repair shop now since i dont know much about this stuff
You forgot to mention that ater creating new partition and copying files you must remove the USB drive and reboot into newly created partition and install windows from it.
Actuallly This is step very important remove usb flash drive and retry again
Dude you saved me
Can you try and dumb that down for me some more and explain more?
This is a crucial point op forgot to mention. Thanks 👍. Booted without usb and was able to install without any issues
dude holy fuck thank u so much
Guys, you need to remove the USB drive and restart your computer for it to work...you are now installing from the disk partition, not the USB device.
Yes, it worked. Thank you!
How ?
after you make the partition and copy the files from the stick to the new partition, reset the computer and yank out the USB drive
Mario D. Zmaj thank you
So helpful, it work for me, *thank you*
Dude. I don't really comment on tutorials but your video saved my day.
3 years on and you are still helping people, this worked perfectly and was really easy to follow. Many, many thanks for taking the time to put this together!
Bro is this 'clean' command will delete your data?
@@d3f4ult61 yes. It will completely erase your data.
@@d3f4ult61 if you dont want erase your data then disconnect your hard disk, connect to another computer then copy all its content.
@@AyushSachan2211 how can u copy data when the hard disk is removed??
@@bharathsingh6566 copy it into another computer
Yes work.
Jadi setelah setingan selesai. Lalu flashdisk dicabut komputer restart lalu masuk bios dan booting dengan hardisk (yg tempat dicopi filenya yg tadi). Install windows sampe selesai.
Terima kasih banyak
Thx bang
Thxx
Nuwun lurr ❤
I was pulling my hair out trying to install windows all night till six in the morning. I wish I'd found this video earlier. You are a computer god. I may be delirious from lack of sleep :).
Bro I've been doing the same thing for the last 10 days...
People like you makes the internet a resourceful place.
I don’t usually leave comments, but I can’t thank you enough for this!! Been trying to install windows 11 for 3 hours. I had gone through just about every “solution” I could find. I was about to give up, then found your video!! Thanks so much!!
Data loss to ni hoga
@@rightinformationnotfakevid5325hoga
Solution: If you have multiple drives, then unplug all of them, plug only one drive where you want to install windows
this is the best advice here. better than going through cmd
this is so much easier, thank you
This worked
This solution worked as of September 2024
Worked
Thank you very much. This worked for me with the following customization:
1. Right after the command *Clean* , enter command: *Convert GPT* (my Dell is 64 bit only)
2. After the *xcopy* command, close the Command Prompt to go back to the installation window. Exit everything to restart the computer. Remove the boot USB before the computer start to make sure that the computer will boot from the hard drive, not the USB.
3. Here is my customization. In my case, when the installation came back, the error message " _We Couldn’t Create A New Partition Or Locate An Existing One was still there_ ". So, I *deleted the partitions from within the installation interface* (not the Command Prompt). Then, I *plugged the boot USB back in* and it worked. This means that Windows setup first booted from the hard drive but then the hard drive needed to be cleaned up (unallocated) and used the installation files from the boot USB to continue the installation.
Hope this helps.
this was the only thing that worked for me, thanks a lot for sharing!
Thank you very much brother. It also worked for me. Thumbs up..
Hey so after you convert it to gpt format do you then follow the rest of the RUclips video as the guy shows up until the xcopy command ?
WTF!!!! YOU NEED A DONATE FOR THIS TUTORIAL!!! I installed Linux and its system corrupted my hard drive and I couldn't install Windows again, but this tutorial saved my day!! Thanks ❤
Side note for anyone having problems with their disk not being GPT try "convert gpt" after the "clean" this will resolve this
Platoon Goon Thank you! That was exactly it!
May God bless you
But why after that does it later on say that my drive is not a fixed mbr drive
I love you thanks!
Giggly Pants did you ever figure it out i need help with that too now
I'm a little tech savvy so I figured it had to do with using a SSD I had used it as external storage before. I didn't know you could open up CMD from Windows install. Thanks dude! FYI for anyone who's installing W10, stop after "CLEAN" since all you need to do is wipe/format the drive. The install software should have done it but it doesn't succeed apparently so do this instead.
OMG IT WORKED I LOVE YOU
No way
Thank you alot
Fcking life saver
Windows 11 requires gpt format so if you are installing windows 11 please stop after clean and type convert gpt and then you will be able to install. The top most comment on this video explains this. If you are installing windows 10 or lower keep following the steps
so do we not do clean? or we do clean then convert?
also do we select our main ssd or do we select the usb with windows on it?
This works like a charm but quite out date. For more details, I created bootable SSD (not USB as usual) via MACOS. And my setup is TUF x570 + 3600X + NVMe. I can manage to boot to setup page (disable secure boot, fastboot, wifi, enable CSM), but always has a lot of errors. After some search, I known the reason is windows can not install when you have multiples storage devices (I have 2, once is SSD for install windows, and one is NVMe). So what I need to do is copy all file from SSD to NVMe following this videos, and remember to `convert GPT` after the first `clean` command, and `create partition primary size=9000` because 5000MB is not enough for today windows installation. After copying, IMPORTANT thing to do is unplug the SSD. Only keep 1 storage device on mainboard. If anyone has same problem, just leave reply here.
I have the same problem and I added the convert GPT after the clean but followed the same steps exactly and this worked! I've been at this for 10+ hours over the last 2 days and was beating my head against the wall! I will add the exact instructions here to help others:
diskpart
list disk
select disk X (X: Select the system disk you use)
clean
Convert GPT (This is a very important part if you have M.2 NVMe I believe and what fixed my issue - you still need to do the rest)
create partition primary size=20000 (you can go less, say 9000, but I did 20000 to be safe)
format fs=ntfs quick
assign
active
list volume
exit
cd d: (change directory to the USB flash drive)
xcopy d: c:/e /h /k (important, you may have to change the order, you are copying from source to destination drive letter)
OR xcopy c: d:/e /h /k
@@silvel2edge thank for clarify. Convert GPT is required for UEFI mainboard. And after copy, we have to unplug usb devices and restart computer.
I tried your steps and doesn't work
this worked when no one else did and I could be more thankful
Its 1:30 in the morning... I have work tomorrow...
Don't forget to remove the flash drive after you finish working on the command prompt and start installing windows again. (at minute 3:00 ) in this video.
Thanks buddy, worked perfectly.
Thank you!
Worked great! I only needed to perform the following commands:
diskpart
list disk
select disk 0
clean
This fixed it. Thanks man
Same here
Same
Good man, thank you for the video.
Trying to install windows from yesterday untill i got crazy.😅
Thaks🎉
This actually worked! I spent ~3 hours trying to find fix. I'm so grateful right now, you have no idea. Thank you, thank you, thank you...
Now it says: Windows can't be installed on this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
you can convert the disk to GPT in diskpart with "select disk X" and then "convert gpt"
@@bestofall5168 it says disk is not convertible
@@Mitri_pod you have to clean it first
@@erikwardoyo8982 i figured it out by now😂 but thanks
It worked like Charm 😍Your are live Saviour bro.. I was so frustrated because of this issue. Thank you for Being Helpful ❤
Thanks perfect instructions except for the end I had to figure out but you got me that far at least. In case anyone wants to know, take the disk out and reboot and then install.
Great. Thank you.
This worked like a charm! God forbid a Microsoft tool works as intended lol, but glad there are always workarounds and people who know share them.
Thankyou very much!!! It's still workin till now🤩
before anyof this, unplug all other drive, and try to use usb-sata connecter to save some file before reinstall the drive.
clean = its gone.
Yes it work thanks
Can we recover once clean drive?
@@mafakasailo8355 Pretty sure you can, since clean is a really fast process, so it is not actually destroying the data, it just removes the data tree(index), but physically the data are still on the drive.
Thx ma boi
Thank you this worked
This is great, thank you! One comment for anyone where its still not working - I got tripped up on the size of the partition, a lot of modern installers exceed 5gb, and the xcopy fails silently if there isnt enough space on the partition. Its worth making sure your partition exceeds the size of the files on your boot drive!
how many size?
thank you SO MUCH! i was experiencing trouble getting xcopy to copy more than a couple files and this was the reason.
It worked like charm after removing the flash and restarting the pc.Thanks it was a helpful hack.😊
Thanks sooo much really appreciate it ! I was installing a m2 drive and could not get windows on it. I had to add one step converting to gpt but this was very helpful thanks again
nice mate
It worked. Thank you so much! I encountered some problem when upgrading to W11 so I thought I had to downgrade to W10 again, but that gave me a headache because of this error so this saved me from spending money on something that can be done this easily. I'm your new subscriber now. 😌
Yes I hope it will be work on my PC🙂
Thank you. I've spent the past day and a half trying to reinstall windows on one of my machines with the solid state drive and just ran into issue after issue. This took care of all of them. Thanks for sharing your knowledge.
Worked for me with some tweaking. I went through a few different steps because I was doing an install on a UEFI system. Before opening the command prompt, I had the installer create the necessary partitions, but leave about 10GB unpartitioned. I then used that space and made the partition with diskpart, copied the installer contents, then closed the installer and removed the thumbstick I was installing from. Once I started installation again (no reboot!) all worked perfectly. My method works with the 1809 update, didn't try with anything newer.
This helped me. Thanks
Thanks for saving me a headache. Great video! Make sure after you copy the installation files to the new drive you remove all other drives and media. Boot to the newly formatted drive and run the utility. Automatic from there.
That is
6yrs later your still helping people
Great job and information. We solved this problem, especially on systems with old bios, with your method. Appreciate it!
I just wanted to thank you! Two days gone with this issue. Also Platoon Goon's advice to "convert GPT" after clean step was the piece of the puzzle
Thanks for this. I was stuck with the part of copying the installer to the hard disk so i decided to see the comments section.
Someone said you can skip the copying after making the partition and i did just that but it won't let me install it so I re-tried the whole process again taking note of your comment (convert gpt) then skipped the copy installer part. After refreshing i can now install the OS to the unallocated part. It's now at 94% getting files ready for installation. A progress indeed 🎉 thanks!
"DiskPart has encountered an error: "A device which does not exist was specified".
hello man if you have managed to solve this problem, please send help 😢
bump
Same thing 😢
Another solution that worked for me:
Disconnect all drives.
Even SD Card and CD Drives if any.
Make sure nothing extra shows up except for Target drive and USB INSTALLATION Drive
Use Load Driver>Browse to ensure only 2 drives appear
I did the Clean and Format part and then came back to the Error Screen ( after Exit twice from the Command Prompt) and resumes the installation without restarting it again. It Worked. Thanks a lot for the help.
This seems to no longer work for a clean install of Win10 1903. All the steps followed, but now when you get the last step and try install on the remaining free space, it won't allow it because the disk has been setup as an MBR partition table, and you can't convert to GPT because of what it sees as as "CDROM" partition (the partition with installation files)
have you found a solution yet?
Alex Atkinson The solution I found was to partition another disk, not the one I was installing to, with the bootable partition from the thumb drive. So all the steps in this video will work, but you need another blank internal disk in addition to the one you intend for your C:/ drive. You could also use a larger external drive. Non-thumb style externals are usually coded to be recognized as an internal disk even if they connect via USB
@@BulllRush thanks!
You're an absolute legend, I've been running around for two days trying to work this out!
Thanks 🔥
Thank you for this video! I was ready to give up with Win10 installation and go back to Linux but this really made my day.
Hi guys,
For my problem, even I have tried many ways but it is still not working.
Below are 2 different ways that I think you should try more. It helps me success
1. Remove all addition USB (Except USB that contain windown)
2. If you are using 2 separate hardware like: SSD and HDD. And you wanna set up windown on SSD
Please unplug HDD. Best regards!
Thank you so match my pc is running now because of you🙏❤️
Great tutorial! Question, what causes that error? And Thanks 😌
Awesom!!! I was jumping when it worked! I had to repeat it 2 times, second time I insert ‘convert gtp’ and furthere command ’active’ wasn’t necessary. Thank you.
Word of mind: don't forget to edit your boot priority in UEFI/BIOS so the Windows Setup can detect your new partition properly! I just ran into this problem and I got frustrated. I saved the boot prio this way:
1st option = your install device, e.g. a usb drive
2nd option = the new partition.
It may happen that you cannot select the harddrive you partitioned, in my case because I run 2 other drives. Look up the harddrive with your new partition in the priority order, then disable everything else above it until it's in 2nd position.
If I'd known how to do this earlier, I wouldn't have lost hours upon this problem. I hope this will help you
I swear to God if this is the one thing I was doing wrong and wasted 8hours on
@@partlyblonde7332i got the same problem help
Please bro help me... I used pandrive for installing windows when i format my C Drive it goes to Unallocated space. So i can't create New Partition. And Mistakenly My pendrive data was removed by using your method. What to do now 🤐
Dude same problem happened to me have you solved it yet?
THANKS BRO!!! i was messin around with my junkbox for 6 hours now bruh, YOU HELPED ME ty so much! you just earned a sub!!!
After typing “create partition primary size=5000” I got “diskpart has encountered an error: the request could not be performed because of an I/O device error. See the system event log for more information.” Can you help please
Me too. What did you do?
Chaimae fd I ended up getting a new hard drive 😅😂
@@hazemawas1815 thank you 😊😊
Instead of 5000 try 10000 because now a days lastest windows takes 8-9gb
@HazeemAwas
I repaired it successfully.
Thank you so much! :))
It worked for me in 2024. I had to exit and restart my system, then remove my flash drive after I exited the cmd. That's how it worked. Thanks for the great work. I love you.
What is Select disk X?
Why i get this?:
" Diskpart has encountered an error: The request could not be performed because of an I/O device error.
See the system event log for more information. "
Please help me
You know how you had a problem and did a search and found this video?
Do another search.
www.google.com/search?q=+Diskpart+has+encountered+an+error%3A+The+request+could+not+be+performed+because+of+an+I%2FO+device+error.&client=tablet-android-samsung&sourceid=chrome-mobile&ie=UTF-8
I've never ran into this issue before but this is the video that got it fixed for me. Can't thank you enough dude.
It all worked but how can increase the 5000 because the installation media is about 12000 and when I enter that it says an encountered error because of an I/O device error
Ya me to
Mine says insufficient space to get it in the primary partition Idk if it's the same thing
I have done all steps up to. Create partition primary size=5000
And the result is(disk part has encountered an error: the request could not be performed because of an I/o device error. See the system event log for more information.) Please help me to solve this error
I think it means read write error but it could also mean that your hdd is bad
have you fixed it? and how? i have the same error
5 Years later you are still helping people.
2:03 I'm using a usb, what's my command line
Yo I have the same problem
You can also simply remove all drives from the motherboard and only keep the drive you want connected. Save some time! 🙌
Thanks a lot bhai love you ❤️
I have two storage ssd and hdd removed hdd and window installed without any error
you are a life saver....this video should never be deleted from u tube
when i write "create partition primary size=5000" What i get is error - "Diskpart has encountere an error: Data error (cyclic redundancy check)."
Ok i fix it guys xD just buy new hard drive :/ you have to if you cant create partition
@@bleakbikest6333 can you tell me how u fixed it pls?
@@frogzilla7638 Ohhh man 2 years hhahahah. I forgot. I think i just skipped this part, because I have ssd and I kinda dont need second disk
Im really so sad about it, my pc went crazy I cant reset I cant do anything, ne recovery no repair no boot nthg at all.
@@frogzilla7638 yeaa I think I had the same problem, try to install the windows again. Just redo everything. Should be fine.
Thanks bro.... saved me from having a hard time.
Its working?? U re not bots iam scared to try this last time its fk up my pc and i needed to buy mew one
@ hi
Thanks. This helped to bypass the error message. After copying the files I removed USB stick and restarted and now I am able to proceed with installing Windows system. Great!
Do all this but add 'convert gpt' after 'clean' if you have m.2 ssd
Thank u, that was helpful
Thanks a ton
Thank you so much!
Just fucking saved my ass dude. Love u for it 😂
Is it damage usb?
Thanks!! Ive been at this all day and your method worked first time!!
I subbed and liked
By the way if you finished all these steps but still cant do it, you need to shut down your PC, unplug the USB with windows on it, then boot up your PC again, go to the bios, select the boot menu, then select the hard drive you want windows installed on, and boot in to that, then you will be able to continue the tutorial.
Again thanks!!
Thanks.. this extra tip helped
Some hero don't talk, they create content and help those who
"Couldn't locate a partition". Thankyouuuuuu
I just did clean and it fixed my issue I didn't need to do more than that to my M.2
Did "clean". Completely erased my SSD. Will not recommend.
Corey Sorry that it deleted your SSD. There isn’t anything wrong with the tutorial, it was just awful that it tripped you up, unbeknownst.
@@corey7219 What did you expect to happen?
@@patrickkdev I must have cleaned the wrong ssd. Back then, I had a 2.5 inch ssd as well as an msata ssd
Thanks so much! I don’t know what I would do without you! Saved me completely.
How do I figure out what to put when he says to "change direction to the USB"
Any reply on that ?
Omg, it worked!! I am running SSD not sure if the "extra step" that is needed to fix my entire issue.
Big thanks to you man and those whom mentioned about the "convert gpt" this has save my dead pc back alive!!!! Love y'all!!!
very nice. Thank you! Installed new Adata SSD in Samsung chornos 7 laptop, but couldn't get win 10 to load.
PERFECT! What a brilliant help. Much appreciated.
Just sharing experience:
If you using 2 memory internal either ssd or hdd, just plug in the one you will used it, and try install like the normal (if still not work then you could try like this tutorial do).
On my case I using hdd and ssd (as main win), after plug out hdd and try install again. It's work.
you need to delete the partition you are installing windows on so it can reformat the partition to the correct formatting
Yehey! Thanks! No need to do cmd option..
Saved me to. Thanks
Damm so simple delete not format thanks 👽
So it doesn't need to create an installation drive? I just have to have an unalocated partition?
when I type any of the commands such as "clean" I just get a massive list of shit which ultimately says no...
I did Y Y Y in few option
Did you select a disk?
That happened to me, then I realized I was typing “disc” instead of “disk” 😂
After 3 days of trouble trying to install Windows 10 v 1803 on a second internal SSD in my iMac 2011 High Sierra.
At last , thanks alot!!
I used a partition on a 3rd internal SSD to write the install files from the usb stick to, and installed from there to a partition of the 2nd SSD
Not working at all.
I have tried for many times😭😭
Hi Guys, so after looking online for a solution i finally got it to work for me... 1. Download Rufus. 2. When you setting up a boot USB using Rufus use GPT and not MBR for the Partition Scheme.
@@Romeo007sm lol too late, already formatted all my drives
open the cmd, clean the disk and type "convert gpt"
@@Krvpz
i can't open cmd
@@Romeo007sm It really depends on how old is your computer (BIOS/UEFI). Older machines use MBR as partition scheme so that won'r work on older hardware.
Thanks for the help! On a side note, why does this happen? I had ubuntu and windows installed on my disk when it suddenly wouldnt boot, then I got this error on both of my drives.
Oh, I had ubuntu to, but I decided to install Windows and this error happened to me (( . Maybe Linux does some disk lock or something...
I formatted my harddisk with linux and this happened, my guess is this has something to do with file system gpt , mbr something
Thanks man. Was almost convinced that my laptop's hardware fried since nothing was working. This worked like magic.
Bro after install.win it's showing "file creation error-the file or directory is corrupted and unreadable ". What shoukd i do. Please tell me😢😢
Hi, I do not now if you already solved your issue, but there is probably error with your installation media. I mean that your CD/DVD/USB from you are installing Windows is corrupted. Try another media.If you think your media is ok, so the disk drive is corrupted and you have to fix it..
i skip the create partition primary i close the cmd after that i reformat and there will be a message pop ups after that u will notice your options is disabled excluded “new” click that and declare a partition after that everything is gonna fine 😁
Timothy Basalo, Tim thank you so much, this was all that was necessary. W10 on my SSD now wooo! Such a relief. Now to pick up my bits of hair off the floor.
this saved me a ton of extra time. Thanks man!
i love you and there's absolutely nothing you can do about it.
The only video that is really helpful ❤❤🎉
Mine got stuck on install.esd
i just waited it out
Thanks for help this really work for me but only problem my data is lost.
You can use data recovery programs (Recuva) to recover data after a drive wipe even after operating system installs
Don't worry guys your data is still there. you can get it back.
First of all press right click on my computer icon then select manage, then select disk management from the right side. then down you will see your partition, you will find them dynamic virtual, Finally right click on them then Import forien disks..
Don't thank me ♥
@max steel Why i had to lie ?
it's not my video, i just try to help
@@opestic1783 My friend , you saved me too❤❤
I had almost heart attack from losing my data but your method worked for me❤❤
Cheers bro this helped. If anyone is still encountering the same problem, make sure to boot from the local drive that you copied the installation files to.
Man, do you sometime works at Microsoft? Ahhahahaha you saved my life
In your describtion it should be /e/h/k instead of /d/h/k
Best man ! You have helped us even in 2025. YOU ARE THE BEST !
What the hell. You didn't say that this will delete all my hard disk
!!
poor you :'(
@@JD-ff4ek
Yeah 😂
WTF.. Thanks..I won't let my HDD format
My laptop burst into fire after this
You're lucky. My PC was transported to another spacetime. I'm currently filing a claim with Assurant, but it's not looking good.
Hey for anybody having the issue still occurring just disconnect all your hard drives except the one you’re installing windows on. Worked for me countless times
I had this issue and that my hard drive was failing! R.I.P
I resolved that problem by using usb connector 2.0 (black one) instead of 3.0(the blue one)
Are u the god bro? Thanks a lot
Thank you! This helped a lot!
OMG HOW ARE YOU SO GENIUS THANK YOU SO MUCH U SAVED MY TIME
Thank you worked
Lol wtf that worked lol
After completing the copying step ,remove the usb or cd before restarting your computer , I had spent hours together and after doing this step then it worked 👍👍👍
Thank you
If you can not access Shift F10 then pug in a USB Keyboard
Best help ever, thank you!
Mine has more problems now 🤦🏼♂️
great job!!! One worth to leave comment though, I had to restart the PC after the process to Installer be able to start installing on unallocated space
Thank you kub! love you
O Melhor! Este Vídeo me Ajudou muito e muito mesmo! Ganhaste um novo seguidor.
Thanks A Lot , I tried for so many days for this issue , and while looking your solution -- Its resolved...