It was some time back when I had dual booted my laptop (Lenovo g50-30) with Ubuntu 17.10, which used to have Windows 10. After some time, I deleted Ubuntu to only have windows 10.
Also, I was trying to fix a bootloader problem, and in doing that I made a mistake and now I am unable to boot into windows.
However, I just realized that my BIOS settings are not saving, which was cause due to the Ubuntu 17.10 bug which I was unaware of, and no bootable usb can be detected by it too.
I can't think of any way to recover my machine, as I can't boot into any OS, and BIOS isn't working for me as well. Please help guys.
Edit: Hey guys, thanks for the response. I managed to find a solution to my problem and am typing now from my laptop. Luckily, there was still an ubuntu entry in my boot menu, and on launching that, I reached minimal Bash. I used chainloader from there to boot lubuntu which was on a usb. With this I managed to edit my rEFInd conf file and managed to enable it to detect all efi files, which I had disabled for some reason. rEFInd managed to detect my windows recovery media, and was able to fix my windows. Now I have to just fix my bios :).