Yes I am aware.
Then a bootable USB drive would need to be made, or the drive can be pulled and connected to another system and checked with the same command line with alterations to the command.
chkdsk W: /r for example with the damaged drive showing in the other system as W:
I have a SATA to USB cable for doing exactly this, and it has proven to be near priceless in our business.
SATA/SSD/HDD Drive to USB 2.0 Adapter Converter Cable for 2.5 Hard Drive Top# | eBay
View attachment 1715527211