This is the method on the Internet:
1. Download The mbrfix tool and place it on drive C. Use a command prompt to enter the directory where the software is located. cd c:/mbrfix (a space behind CD)
2. Enter mbrfix/drive 0 fixmbr/Yes
3. Restart and find that you can directly access win 7. Now you can use win
7 disk management (if it cannot be opened, you can use win
7. format the partition where Ubuntu is located (that is, if there is no drive letter, the system will prompt data from other systems when you delete the volume ~~~
---------------------------------
It may also be that I understood it wrong. I typed the carriage return when entering the first CD C:/mbrfix, always prompting that the mbrfix is not an internal command. After multiple attempts, the correct statement is found:
Just one line: C: mbrfix/drive 0 fixmbr/Yes
Then press Enter.