Write zero system drive

Hello,

So my laptop have been running slow for the past few months. I checked and there were a lot of bad sectors

To fix that, i plan on on doing a write zero format. Using WD Data LifeGuard Diagnostics, i tried to write zero but it won’t allow me to do that to the system drive.
“The selected drive is your windows system drive and must not be erased”

How do i go around this? And after the format, can i install windows by just inserting a windows 10 disk?

Thank you

Win DLG will not allow you to write zeros to your active OS drive by design. It is to prevent accidental deletion of the OS. You can run your Windows 10 installation disk and it will prompt you when it finds a current OS installed if you want to format over it and re-install.

But it means that it won’t be as effective as write zero right? I formatted my HDD that way a while ago but the bad sectors aren’t fixed. Are there any other formatting solutions?

if you have access to another computer, you can connect your OS drive as a secondary drive and write zeroes that way.