Dude thank you for this video. I was trying to enable UEFI in order to install Windows 11, and I just couldn't boot with secure boot on. This actually solved my issue, thank you so much.
GUYS, if anyone else is unable to boot to Windows even after following all the steps in the video, try this. When you get the blue screen saying that Windows was unable to repair your PC, navigate through the menu until you find advanced options and select Command Prompt, then input the following sequence of commands: diskpart list disk list volume select disk 0 list partition select partition 2 (select the partition with the biggest capacity, or the one where Windows should be installed) shrink desired=500 create partition primary size=500 format fs=ntfs quick active assign letter=H exit bcdboot E:\windows /s H: /v Basically the issue that I had was that the primary partition for Windows (50MB) was too small, so what this does is that it reallocates 500MB of the disk, creates a new partition, formats it, and then selects it as the partition to boot up Windows, and voila!
I think the hardest part is knowing exactly what to change in UEFI/BIOS, because the exact setting location(s) differ. I recommend anyone planning this coversion do some research. As you assured us, the data is safe, so it will work out okay.
I tried on different mobos so If the process supports then the mbr will be converted to gpt and if it's not supported then it will error message but it won't effect on data. Thanks.
Thank you so much for the clear explanation. I'd found much of what you explained by several hours of google searching but somehow it wasn't tied together properly and all attempts failed until I found your video which explained it accurately and concisely. The one thing I had discovered that you might have added is how to ascertain which non OS disk is identified and change that drive using this method. I also needed to change a USB drive to GPT which windows listed as drive 1 so I had to add a /disk:1 command to the string and inserted it as mbr2gpt /convert /disk:1 /allowfullos and this worked perfectly. Kudos for a truly helpful explanation.
I tried and double checked the command but this is the response i got. What is wrong? EnablePrivilege: AdjustTokenPrivileges failed (Error:0x514) ERROR: Failed to enable backup/restore privileges. Check that you are running in a process with elevated privileges.
This actually worked and got rid of the error I was getting about secure boot (after I converted mbr to gpt and made sure secure boot was on)in the windows 10->11 update. Thank you man!
hey, in cmd when i executed the mbr2gpt command just like you said, its showing an error message "Disk layout validation failed for disk 0" how can i fix that?
How can I solve this problem C:\Users\BOSS>mbr2gpt /convert /allowfullos EnablePrivilege: AdjustTokenPrivileges failed (Error:0x514) ERROR: Failed to enable backup/restore privileges. Check that you are running in a process with elevated privileges.
I am not sure if you are still reading the comments but you helped me where a PC Repair shop couldn't even help me. Thank you so much! You earned my subscribtion
Hi there .. I am hoping you still see comments on this video .. tried the instructions .. but I keep getting this error: Cannot find OS partition(s) for disk 2. I have an NvME drive (C drive) - 1TB - it has 94MB System reserved partition, a 930GB (boot, page file) partition, and an F drive partition (with 502MB). Is the way my partitions are set up the problem? Any thoughts on how to get past it? Thanks in advance. Loved your simple explanation.
The disk is currently using MBR There's enough space not occupied by partitions to store the primary and secondary GPTs: 16 KB + 2 sectors at the front of the disk 16 KB + 1 sector at the end of the disk There are at most three primary partitions in the MBR partition table One of the partitions is set as active and is the system partition The disk doesn't have any extended/logical partition The BCD store on the system partition contains a default OS entry pointing to an OS partition The volume IDs can be retrieved for each volume that has a drive letter assigned All partitions on the disk are of MBR types recognized by Windows or has a mapping specified using the /map command-line option
You absolute legend. Been trying to get this to work for months and after watching your video. Managed to nail it. The bios step especially was a great touch and sorted the job. Thanks dude.
Most of the steps were similar for me up until the bios! I have a Gigabyte z390 aorus pro wifi board, so I have the bio accordingly to it. I tried to switch Gigabytes "Other Pci devices" option (which was the only thing similar to your "Boot from PCI-E Expansion Devices" option) to Legacy, and the "Boot from storage devices" to UEFI"... Didnt boot the OS on the switched GPT drive. Tried a couple more times, still nada. Switched the "Other Pci devices" to UEFI... Didnt boot. What worked for me was I DISABLED CSM support, which then opens up more selections below to reveal "Secure boot Enable/Disable"... switched it from disabled to enabled. Voila. Booted right up.
Thank you very much for the guide! My computer WAS booting just fine but secure boot was showing as "unsupported" in windows config so something about the GPT switch made it happy. And I was glad not to brick my computer while following these instructions!
Hey when I get to the first command prompt part it does not work. It tells me this: MBR2GPT will now attempt to convert the default book disk. If conversion is successful the disk can only be booted in GPT mode. These changes cannot be undone! MBR2GPT: Attempting to convert disk 2 MBR2GPT: Retrieving layout of disk MBR2GPT: Validating layout, disk sector size is: 512 bytes Disk layout validation failed for disk 2 Please help me!!
Not sure if this helps BUT make sure you are converting the correct disk! 512 bytes is too small for anything to be stored on it. Windows is most times is on disk C
MBR2GPT: Attempting to convert disk 0 MBR2GPT: Retrieving layout of disk MBR2GPT: Validating layout, disk sector size is: 512 bytes Cannot find OS partition(s) for disk 0 help
@@TheShojibShow Sir i have similar problem. Its says "disk layout validation failed for disk 0" my disk is 1 , so i dont know select it so it can do the process for mbr2gpt. Please help.
Yeah, I agree with you. Thanks for your appreciation. Actually, lots of people are crazy about using windows 11. So I have to make it! Even another video of mine got lots of views on How to enable TPM! like 37K and another one got 38k which is how to enable Secure boot. Even lots of crazy people are there. I thought make these contents for them. after that I will make regular contents. Thanks a lot bro.
Hello, I am having trouble with the command prompt step. It is saying the Disk layout validation failed, do you have any suggestions on how to fix this? The drive I’m trying to convert is a m.2 ssd that’s my boot drive.
Thanks Man I really wanted windows 11 and always wondered why I cant get it even though my pc is more than enough for. So This really helped thank you so much
dude please help me, i am already convert my drive to gpt, and follow ur step, but not working, and now my laptop can't enter to windows, please help me
I have a problem please help me 😭 I tried installing Windows 10 but I'm stuck at windows can't be installed on drive 0 and partition 1. Please help. I'm making use of a Toshiba laptop..and I don't want to loose my data😭😭
Excellent video. I saw it after I had converted my disk, but yours showed more and better views of the diplay. Therefore it answered a question that had bothered me. No one else showed that the "old" System Reserved partition remains in place; however, in Disk Management, the (System) designation disappears after the coversion.
So happy I stumbled upon this video the very next morning after being stumped the night before. Installing Windows 11 now. Hopefully I don't run into another issue but then again it is windows..
I face this error: " MBR2GPT will now attempt to convert the default book disk. If conversion is successful the disk can only be booted in GPT mode. These changes cannot be undone! MBR2GPT: Attempting to convert disk 0 MBR2GPT: Retrieving layout of disk MBR2GPT: Validating layout, disk sector size is: 512 bytes Disk layout validation failed for disk 0 " 🙏Plz help bro.🙏
You're amazing bro!! This was so much easier than other tutorials where you LOSE your data too and now I'm getting windows 11 I should have watched a long time ago! thank you
This helped me! I watched another video first where he explained that you have to Shift+Restart to enter Command Prompt and then it just was black at my monitor. The way you did it worked perfectly! Thank you!
Bro this fucked with my head so much man i just couldnt boot windows with secure boot and i have windows 11 plus i couldnt play valorant cuz they have that requirement too and ive tried so many things and videos and nothing helped but this video is the only one that did thank u so much man ur a legend and definetly underrated even tho youre the only one on youtube that was smart enough to fix this issue xD
when i tried the cmd step it says cannot find the OS partition(s) for disk 2 (the ssd) even though there's only one partition on my ssd which i have the windows installed on.. is there a fix?
Is there any other ssd or hdd installed except the ssd that has OS? Try to do these steps, installing one ssd that has the OS. I unplugged all my hdd, only kept the OS Installed ssd and that worked.
When I try this it just says attempting to convert disk 0 and then says cannot find OS partition/s on disk 0 My OS is loaded on disk 1 but it always attempts to do disk 0... How do I get it to perform the task with disk 1?😊
dude thank you so much I installed windows 11 on mbr without converting before it and it was running on legacy mod and the secure boot was not showing, I couldn't turn it off so I could download primeos with ur help i truned it to gpt and now I can turn off the secure boot while in uefi mode. "Thank you again."
Dude thank you for this video. I was trying to enable UEFI in order to install Windows 11, and I just couldn't boot with secure boot on. This actually solved my issue, thank you so much.
I had the same issue and now it resolved
Dude Help Me How To Do Exactly
I Can't Make It Bro I Did Whatever
He's Say But My Windows Corrupted
@@therince542GG !
In the same situation, also worked for me updating to Windows 11!
GUYS, if anyone else is unable to boot to Windows even after following all the steps in the video, try this. When you get the blue screen saying that Windows was unable to repair your PC, navigate through the menu until you find advanced options and select Command Prompt, then input the following sequence of commands:
diskpart
list disk
list volume
select disk 0
list partition
select partition 2
(select the partition with the biggest capacity, or the one where Windows should be installed)
shrink desired=500
create partition primary size=500
format fs=ntfs quick
active
assign letter=H
exit
bcdboot E:\windows /s H: /v
Basically the issue that I had was that the primary partition for Windows (50MB) was too small, so what this does is that it reallocates 500MB of the disk, creates a new partition, formats it, and then selects it as the partition to boot up Windows, and voila!
There’s no way this is actually real. Everywhere says you can’t do this. THANK YOU!
Man you are a hero. Couldnt update to windows 11 for ages and thanks to this video it finally worked.
I think the hardest part is knowing exactly what to change in UEFI/BIOS, because the exact setting location(s) differ. I recommend anyone planning this coversion do some research. As you assured us, the data is safe, so it will work out okay.
I tried on different mobos so If the process supports then the mbr will be converted to gpt and if it's not supported then it will error message but it won't effect on data. Thanks.
you did not mention validating to see if it will work. What about if you get an error disk sector size is: 512 bytes?
me too bro.
Thank you so much for the clear explanation. I'd found much of what you explained by several hours of google searching but somehow it wasn't tied together properly and all attempts failed until I found your video which explained it accurately and concisely.
The one thing I had discovered that you might have added is how to ascertain which non OS disk is identified and change that drive using this method. I also needed to change a USB drive to GPT which windows listed as drive 1 so I had to add a /disk:1 command to the string and inserted it as mbr2gpt /convert /disk:1 /allowfullos and this worked perfectly.
Kudos for a truly helpful explanation.
it says validation failed for disk 1
@@zac5911 Same for me! did you find a solution?
And with that, I have gotten the last piece of the puzzle for my old B350 Mobo! Thank you my guy!
Worked perfectly, was trying to sort why i couldn't get my pc into secure boot enable for Windows 11 upgrade.
Better than any other guide
I tried and double checked the command but this is the response i got. What is wrong?
EnablePrivilege: AdjustTokenPrivileges failed (Error:0x514)
ERROR: Failed to enable backup/restore privileges.
Check that you are running in a process with elevated privileges.
My god, it's 2024, July 4th, @ 4:46 AM, & you still managed to save my life & entire PC, thank you
This actually worked and got rid of the error I was getting about secure boot (after I converted mbr to gpt and made sure secure boot was on)in the windows 10->11 update. Thank you man!
hey, in cmd when i executed the mbr2gpt command just like you said, its showing an error message "Disk layout validation failed for disk 0" how can i fix that?
Samesies
Any find ?
@@ntg-billz8955 Yes, but that was a year ago, and i don't even remember that i commented. Try fixing that through other youtube videos or Google
How can I solve this problem
C:\Users\BOSS>mbr2gpt /convert /allowfullos EnablePrivilege: AdjustTokenPrivileges failed (Error:0x514)
ERROR: Failed to enable backup/restore privileges. Check that you are running in a process with elevated privileges.
THANK YOU!
I really needed this because, I needed secure boot to install windows 11
I am not sure if you are still reading the comments but you helped me where a PC Repair shop couldn't even help me. Thank you so much! You earned my subscribtion
Hi there .. I am hoping you still see comments on this video .. tried the instructions .. but I keep getting this error: Cannot find OS partition(s) for disk 2. I have an NvME drive (C drive) - 1TB - it has 94MB System reserved partition, a 930GB (boot, page file) partition, and an F drive partition (with 502MB). Is the way my partitions are set up the problem? Any thoughts on how to get past it? Thanks in advance. Loved your simple explanation.
The disk is currently using MBR
There's enough space not occupied by partitions to store the primary and secondary GPTs:
16 KB + 2 sectors at the front of the disk
16 KB + 1 sector at the end of the disk
There are at most three primary partitions in the MBR partition table
One of the partitions is set as active and is the system partition
The disk doesn't have any extended/logical partition
The BCD store on the system partition contains a default OS entry pointing to an OS partition
The volume IDs can be retrieved for each volume that has a drive letter assigned
All partitions on the disk are of MBR types recognized by Windows or has a mapping specified using the /map command-line option
bro i got a cmd "CANNOT FIND OS PARTITION FOR DISK 0" what to do wit this
You absolute legend. Been trying to get this to work for months and after watching your video. Managed to nail it. The bios step especially was a great touch and sorted the job. Thanks dude.
Thank you, been trying to get windows 11 for a while, and this is the only video i found that worked
Most of the steps were similar for me up until the bios!
I have a Gigabyte z390 aorus pro wifi board, so I have the bio accordingly to it. I tried to switch Gigabytes "Other Pci devices" option (which was the only thing similar to your "Boot from PCI-E Expansion Devices" option) to Legacy, and the "Boot from storage devices" to UEFI"... Didnt boot the OS on the switched GPT drive.
Tried a couple more times, still nada.
Switched the "Other Pci devices" to UEFI... Didnt boot.
What worked for me was I DISABLED CSM support, which then opens up more selections below to reveal "Secure boot Enable/Disable"... switched it from disabled to enabled.
Voila. Booted right up.
I got blue screen experience and after turn off for q few "hour" start turn on again still blue screen:(( and keyboard not work
Hey this didnt work for me it says cannot find OS partition(s) for disk 0 PLEASE HELP ME
Thank you very much for the guide! My computer WAS booting just fine but secure boot was showing as "unsupported" in windows config so something about the GPT switch made it happy. And I was glad not to brick my computer while following these instructions!
When I tried it it said cannot find OS partition, how do I fix this?
Wish it worked, for me it picks the wrong drive. Chooses disk0 and not disk 1 😢
I spent hours trying to troubleshoot and you solved my problem in minutes thanks so much!
only issue is when i run the command its not choosing the right drive how do i command it to take the right 1
Your explanation is great! Step by step, not fast, so I understand all immediately. Thnx for your job! Really helpful.
Worked for me. No bluescreens experienced. I waited few days before I comment here, so far no problems.
Thanks for sharing your experience. Cheers bro
Finally! Thanks! Got Secure Boot up and running now.
I love you man, you solved the problem that a lot of videos didn’t solved! Thank you so much man
Cannot find OS partition(s) for disk 0. But I want to convert disk 1 to gpt.
Hey when I get to the first command prompt part it does not work. It tells me this:
MBR2GPT will now attempt to convert the default book disk.
If conversion is successful the disk can only be booted in GPT mode.
These changes cannot be undone!
MBR2GPT: Attempting to convert disk 2
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
Disk layout validation failed for disk 2
Please help me!!
Not sure if this helps BUT make sure you are converting the correct disk! 512 bytes is too small for anything to be stored on it. Windows is most times is on disk C
got so stressed when it wouldn't boot after the conversion but ive waited 5 minutes and now its working!
Thanks for sharing your experience. This is what I told at the last of this video.
Same was stressing out 🤣
MBR2GPT: Attempting to convert disk 0
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
Cannot find OS partition(s) for disk 0
help
did u fix it?
You saved my morning.... Had it converted in less than 10 mins.. you ROCK.. thanks for the awesome video my friend!
New sub! 100% working in my pc! Thanks man! for 2 weeks research in youtube, your videos its only trust!! Thanks a lot man!! ❤️🥰🥰
Thanks for the sub!
When trying to use the convert line in CMD, after 3 lines comes an error: Cannot find OS partition(s) for disk 0. Any help?
Try to keep the only the windows partition drive and remove all hdd and ssds. I hope this time it will work.
@@TheShojibShow Sir i have similar problem. Its says "disk layout validation failed for disk 0" my disk is 1 , so i dont know select it so it can do the process for mbr2gpt. Please help.
Did you find out how ?
Appreciete this guide really well done. But except tech enthusiast no one will bother with Windows 11 when there is a need for such a hustle.
Yeah, I agree with you. Thanks for your appreciation. Actually, lots of people are crazy about using windows 11. So I have to make it! Even another video of mine got lots of views on How to enable TPM! like 37K and another one got 38k which is how to enable Secure boot. Even lots of crazy people are there. I thought make these contents for them. after that I will make regular contents. Thanks a lot bro.
If you are running MBR, you are out of date. Should be a wake up call
Hello, I am having trouble with the command prompt step. It is saying the Disk layout validation failed, do you have any suggestions on how to fix this? The drive I’m trying to convert is a m.2 ssd that’s my boot drive.
Good video, didnt work for me tho. In CMD it tells that OS pertitions cant be found for disk 0
Thanks Man I really wanted windows 11 and always wondered why I cant get it even though my pc is more than enough for. So This really helped thank you so much
Thank you so much I’ve been searching this for months!
Wow, this really worked for me. I was about to pay someone $100 to change it from MBR to GPT and install windows 11 for me.
Thanks for the appreciation.
You are the G! All the „free“ programms want money for that what you can do urself easily! Thank you!
Disk layout validation failed for disk 0
Thanks a lot man! I was worried cause its our familly pc but everything worked and all data are where they should be.
You're welcome bro.
Excellent video, and super convenient having the same bios interface as me! Thanks for sharing.
Glad it helped!
It worked so well. Thanks to you I solved the problem that I caused with my lack of knowledge. You are a genius.
Dude I love you man I’ve been trying to upgrade to windows 11 forever thank you man thank you!!
Glad I could help!
Bro finally after 1 month i tried many time,and now its worked like a champ!Thank you so much !!Keep it up,Done subcribe,You are LEGEND !👍🏻👍🏻👍🏻🥳🥳🤩😱
Thanks for the sub
dude please help me, i am already convert my drive to gpt, and follow ur step, but not working, and now my laptop can't enter to windows, please help me
Me too
When I type the command to convert I get an error saying "Disk layout validation failed for disk 0" what can I do?
you hve to change sandidk from mbr to gpt by aomei partation assistant
This fixed my problems trying to upgrade to W11 straight away, thanks!
You are welcome.
I have a problem please help me 😭 I tried installing Windows 10 but I'm stuck at windows can't be installed on drive 0 and partition 1. Please help. I'm making use of a Toshiba laptop..and I don't want to loose my data😭😭
What if i get a fail message when i validate mbr2gpt command in cmd?
Great to the point video, much appreciated.
Dude I wish you all the best, saved my night!
Thanks Man.
my motherboard is asrock b450m steel legend how to set in bios
This was an excellent video. Everything worked as you said. You have a new subscriber! Many thanks!
Excellent video. I saw it after I had converted my disk, but yours showed more and better views of the diplay. Therefore it answered a question that had bothered me. No one else showed that the "old" System Reserved partition remains in place; however, in Disk Management, the (System) designation disappears after the coversion.
Glad it helped!
So happy I stumbled upon this video the very next morning after being stumped the night before. Installing Windows 11 now. Hopefully I don't run into another issue but then again it is windows..
Aaaand now after the update i am in a perpetual reboot.. windows👍
You are the best thanks a lot my friend i was looking for this video
Glad I could help
You earned a subscriber brother ❤️.. thanks for explaining it clearly 💙
Thanks for the sub!
I face this error:
" MBR2GPT will now attempt to convert the default book disk.
If conversion is successful the disk can only be booted in GPT mode.
These changes cannot be undone!
MBR2GPT: Attempting to convert disk 0
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
Disk layout validation failed for disk 0 "
🙏Plz help bro.🙏
i also faced the same problem
is there any fix?
same problem
@@TiTaN_WASD you have more than 2 drive. convert 2 drive and try again
@tech riot help pls
Having the same exact problem, only two drives. 0 and 1, 0 fails to convert, process stops.
Worked beautifully. Thank you bro!
Hello there is a problem when I convert mbr2gpt
It says cannot find os partition (s) for disk 0
worked flawlessly, thanks a lot!
"Cannot find OS partition(s) for disk 2" not working
Great video! This worked well and was easy to follow, thank you!
You're welcome!
Mine says cannot find OS partitions for disk 0
You're a legend. Thanks to your tutorial I can now upgrade to win11. Thanks man!
Worked for me. Great vid. Thanks so much.
Thank you my friend!! Worked fine on my side with your tutorial.
Thanks a lot bro, Please share with others. 👌
THANK YOU. NO ONE ELSE HELPED
You are welcome.
You're amazing bro!! This was so much easier than other tutorials where you LOSE your data too and now I'm getting windows 11 I should have watched a long time ago! thank you
Really, while following your video, it worked like a charm!! Thank you for your clear explanations!!
Thinks for this easy and straightforward vid I had to jump to hoops before getting here thinks a lot
You are welcome.
This helped me! I watched another video first where he explained that you have to Shift+Restart to enter Command Prompt and then it just was black at my monitor. The way you did it worked perfectly! Thank you!
You're welcome.
hey, i get an error "Disk layout validation failed for disk 0"
Bro this fucked with my head so much man i just couldnt boot windows with secure boot and i have windows 11 plus i couldnt play valorant cuz they have that requirement too and ive tried so many things and videos and nothing helped but this video is the only one that did thank u so much man ur a legend and definetly underrated even tho youre the only one on youtube that was smart enough to fix this issue xD
THANK YOU SO MUCH. I was wondering why my pc restarts everytime i enable secure boot
Do I need to convert all my storage drives from mbr to gpt, to make sure everything works, or only the drive that has my OS on it?
Thanks man, this helped loads. Super easy.
when i tried the cmd step it says cannot find the OS partition(s) for disk 2 (the ssd) even though there's only one partition on my ssd which i have the windows installed on.. is there a fix?
Is there any other ssd or hdd installed except the ssd that has OS? Try to do these steps, installing one ssd that has the OS. I unplugged all my hdd, only kept the OS Installed ssd and that worked.
Thank you so much brother this helped a lot!
It worked like a charm, thanks for the tip!
You're welcome!
It's showing can't find os partition
Amazing you earned a sub
Thanks for the sub!
Thanks man, I appreciate you.
You are the man! Thank you for the video
Glad to help!
When I try this it just says attempting to convert disk 0 and then says cannot find OS partition/s on disk 0
My OS is loaded on disk 1 but it always attempts to do disk 0...
How do I get it to perform the task with disk 1?😊
It works me!! New SUB my broski 👌😊
Thanks for the sub 😍
Thanks bro i looked at bout 100 videos and they didnt work but this worked
Glad I could help
thank you this was driving me mad over a year
dude thank you so much I installed windows 11 on mbr without converting before it and it was running on legacy mod and the secure boot was not showing, I couldn't turn it off so I could download primeos with ur help i truned it to gpt and now I can turn off the secure boot while in uefi mode.
"Thank you again."
exactly what I was looking for, thanks bro! I didn't know why my drive wasn't booting till I realized it was in MBR format -_-
thank you, this has been bordering me from upgrading to win11
It says for me disk layout validation failed for disk 1