Error opening file for writing on windows 10

Hello friends. I can't install elastic on my Windows 10 computer. Just showing “error opening file for writing” error. I don't understand why this error is showing and how to solve this problem. Any suggestions will be appreciated.

So, I found a solution from this article after searching on Google.