Lack of respect for your Window’s machine’s feelings. That’s where this all really started from. It has a superiority complex which needs constant attention and throwing it in with the open source crowd makes it fell itchy all over like it’s got lice. Hen, never pollute your windows computers with Linux dual boot arrangements again. Still, your Linux distro is present there. The window is restored and has overridden GRUB. Now enter this command one by one bootrec /fixboot bootrec /fixmbr. If not that, burn the drive and use this as your opportunity to move up to ssd. If prompted select OS, then in system recovery option choose command prompt.
#Command prompt to remove grub windows 10 install
I’m assuming you’ve moved on to better things by now but if you’re still trying, maybe use the latest win 10 install media and run the command from the partition you intend to boot too. I rebooted, saw windows take over and soiled myself. I ran it against an ancient original install and it warned about the same access problem my previous attempts encountered but then just did the job anyway. I ran the command provided at the top from the E: prompt (where C ends up after booting from a Windows 10 install thumb drive). It actually provides another layer of recovery possibilities. I didn’t read all the comments above so I apologize if I’m rehashing or missing the point but I left Grub on computers long after Grub had any use. GRUB should be gone from MBR, restart and confirm. If your drive is C:\ this command will be C:\> bootsect /nt60 C: /mbr In Command Prompt (Administrator) C:\> bootsect /nt60 : /mbr Simply type in the following command to remove GRUB bootloader from bootsector on MBR and revert back to Windows bootloader. Step 3: Fix MBR bootsector from Windows 10 Don’t use Powershell as PS doesn’t work for few commands. On Windows 10, Windows 8.1 and Windows 7 search for command and simply right-click Command Prompt shortcut from the search results and select Run as administrator. If you’re doing this step, it’s safe to do a restart after you’ve done that. Then you can increase the disk size on your primary partition (i.e. Step 1(optional): Use diskpart to clean diskįormat your Linux partition using Windows disk management tool. I have Secure boot disabled and I am using Legacy boot on BIOS.įollow steps below to remove GRUB from Windows 10. I’ve used it so far 2/3 times since last year on my laptop running Windows 10 multiple times, never failed.
#Command prompt to remove grub windows 10 how to
I needed to remove GRUB safely without breaking anything else and the following method on how to remove GRUB bootloader from Windows 10 worked for me. I removed both Kali and Ubuntu partitions including SWAP but GRUB was till there. My Razer 2016 laptop had Windows 10, Kali and Ubuntu installed but after a Windows update Linux partitions became inaccessible.