How to remove Ubuntu dual-boot? This article by ItsmeIT provides step-by-step instructions on how to completely remove the Ubuntu partition and uninstall Ubuntu from dual boot Windows 11 or Windows 10 on both UEFI and Legacy systems.
Note Before Removing Ubuntu from Dual Boot:
To ensure the safety of your important files and data, it is highly recommended that you back them up before proceeding with any operations to remove Ubuntu dual boot and avoid any potential data loss.
How to remove Ubuntu from dual boot Windows 11/10 for UEFI (GPT)
Note: If you want to remove Ubuntu or Linux that is dual-boot on your computer, you need to completely remove the boot menu and related partitions. The process of removing Ubuntu or Linux may differ depending on whether your system is using UEFI or Legacy mode.
Step 1. Using command restore Windows boot loader
To proceed, please download the Windows Boot Loader UEFI recovery file and extract it from the link provided at the end of the article. Once extracted, copy the “bootx64.efi” file to a designated drive, such as drive E. When using a Windows UEFI system, You need to run Command Prompt with administrator privileges to be able to remove Ubuntu dual boot Windows 10 and Windows 11.
To access the “Command Prompt”, locate “cmd” in the search bar and open it. Ensure that the Command Prompt is launched with administrative privileges by selecting “Run as administrator.” In the Command Prompt window, enter the following commands in sequence. To paste the code, either right-click and select “Paste” or press “Ctrl + V”.
mountvol W: /S
Locate the disk where the Windows Boot Loader UEFI file was previously downloaded and extracted.
E: xcopy /y bootx64.efi W:\EFI\Boot rmdir /S W:\EFI\Ubuntu
After remove Ubuntu dual boot using the commands mentioned above, the next step, demonstrated step-by-step by ItsmeIT, is to delete the Ubuntu boot files from the EFI partition in order to completely uninstall Ubuntu from dual boot Windows 11 and Windows 10.
Step 2. Using BCDEdit to remove Ubuntu dual boot
Next, it is necessary to remove the Ubuntu boot menu by identifying its UUID through the use of a specified command.
bcdedit /enum all
Enter the command “bcdedit /delete UUID” to delete the selected Ubuntu boot menu. If there are multiple UUIDs, repeat the process to remove them. Below is an example of deleting a UUID:
bcdedit /delete {d28ddd3f-6f44-11ec-bf02-800edb08da9a}
After you successfully delete the boot menu of Ubuntu, you can proceed to step 3, delete the partition containing the operating system, and completely remove Ubuntu dual boot Windows 11 and 10.
Step 3. Delete Ubuntu partition dual-boot Windows
To delete the Ubuntu partition, follow these steps on a Windows computer: right-click “This PC->Manage->Storage->Disk Management” Then proceed to delete the Ubuntu partitions, ensuring that they are indeed Ubuntu partitions, as indicated in the image below.
If you are not sure about the above method, try using the software Minitool Partition Wizard Ultimate which provides a user-friendly interface for uninstall Ubuntu from dual boot Windows 11 and Windows 10. Simply follow the software instruction to delete the Ubuntu partition.
Next, select the partition containing the Ubuntu OS and choose “Delete.” Finally, click on “Apply” to complete the remove of the dual boot of Ubuntu Windows 11 or Windows 10.
How to uninstall Ubuntu from dual boot Windows 10/11 for Legacy (MBR)
Step 1. Restore Windows Boot Loader for Windows
Download “bootice” file and extract it, then run the file “BOOTICE*.EXE”.
To restore the Windows Boot Loader in a dual boot setup with Ubuntu and Windows 10 or 11 (Legacy MBR), select the dual boot hard drive. Then, choose “Process MBR” as demonstrated in the image below.
Choose the Windows NT 5.x/6.x MBR, then select “Install/Config”. Then select “Windows NT 6.x MBR” to reinitialize the MBR to the Windows Boot Loader.
Step 2. Delete Ubuntu boot menu and Ubuntu partition
This step is similar to steps 2 and 3 when deleting Ubuntu on the UEFI standard outlined above.
This is the complete guide on how to uninstall or remove Ubuntu dual boot Windows 11 and Windows 10 for UEFI and Legacy. It is important to follow each step accurately to ensure the successful removal of Ubuntu. If you have any questions or ideas, feel free to leave a comment below.
Download tool: Windows Boot Loader (UEFI).rar | Bootice v1.3.3.2 (Legacy).rar
– Advertising –
Bài viết rất chi tiết, cảm ơn ad nha