Hi Yuvrajsingh4;
I am sorry that didn't work with it, let's do another way
In order to format Windows 10, you need a DVD or flash drive, I prefer a flash drive because is faster than DVD, see the steps below:-
- Download Windows 10 ISO, See the video link below and follow the steps on how to download Windows 10 ISO
https://www.bing.com/videos/search?q=windows+10...
- Download Rufus app as portable not installer and see the video link below to follow steps on how to create a USB bootable installer Windows 10
https://www.youtube.com/watch?v=uo8ZLMgfVTE
After that reboot the machine and boot-up on a flash drive
Let me know if that works