Make sure you have Git installed on your computer. Open Git Bash as Administrator and enter the command:
Git
Git Bash
ssh-agent bash
Now you can run command ssh-add and it will work:
ssh-add
ssh-add "C:\Users\<username>\.ssh\id_rsa"