First of all, I'm sorry if this specific question has been addressed, but I couldn't find all of the details I needed in other questions.
I have Windows 10 installed on my C drive and Ubuntu LTS installed on my D drive. I want to uninstall Ubuntu LTS from my D drive as this is not my main computer anymore.
From my understanding, I believe I can delete the partition on the D drive going through disk management in Windows? However, there are also files on my D drive that I don't want to lose. How can I ensure I don't lose any important files when I uninstall Ubuntu?
Thanks for any of the help, and I apologize if this answer can be found elsewhere.
Edit: Some additional details I forgot to mention are I'm not trying to reinstall Windows onto the D drive, but just trying to delete Ubuntu off of it. Also, the D drive doesn't show up on my computer when I'm logged into Windows, but I believe it shows up under disk management as Disk 1. In disk management, there are two partitions, one that is about 250 megabytes and another that is around 370 gigabytes. I could delete the 250-megabyte partition as I believe that is the Ubuntu LTS OS? I just don't want to accidentally delete any of the other data on the drive as well.