Hi Dhruv,
I believe that you may find the solution to your problem by using this link.
If you have W10 Pro, scroll down to the Group Policy procedure.
If you do not have Pro, scroll on down to the Registry Edit procedure.
Choose the "Enable" option for either.
https://www.maketecheasier.com/disable-smartscreen-filter-windows10/
Any questions, please reply.
Good luck, Glen