Remove Grub from Windows

editorconfigJuly 15, 2025
Remove Grub from Windows
1. Run `CMD` with Administrator privileges from your windows
   ```run `cmd` in search, and right click -> open As Administrator```
2. Run `diskpart` 
   ```diskpart (can run inside opened cmd, or in search from menu, and run as Administrator)```
3. Run `list disk` to see all available disk
   ```list disk```
4. Select your boot dive (e.g: `C:\`) drive,  number from list result
    ```select disk 3```
5. after suffcesfully select disk from above, run `list vol`, to see all partitions (volumes) on the disk (the EFI volume will be formatted in FAT, others will be NTFS)
    ```list vol```
6. Select System Volume, the one with `System` label info
    ```select volume 5```
7. Assign a drive letter to Z where Z is a free (unused) drive letter, use a free and unused letter
    ```assign letter=Z:```
8. exit or move to othter cmd with admin privileges.
    ```exit```
9. move to newly created EFI drive, e.g `Z:\` from avobe
  ```Z:\```
10. Type dir to list directories on this mounted EFI partition, If you are in the right place, you should see a directory called EFI
    ```dir```
11. cd to dir called EFI
    ```cd EFI```
12. remove linux directory, other than `Boot` and `Microsoft` directory
    ```rmdir /S Manjaro```
Remove Grub from Windows - Anjar Febrianto