You must be able to login to a computer in order to add it to your account, that's the only way to add it (by logging into the computer). And do note that adding it to your Microsoft account won't allow you to reset the password anyway.
If you don't know the computer's password, you can try the steps outlined here: Reset a Forgotten Windows Password