password connection

At home I start my PC and Teamviewer. Make a note of ID and PassWord. Then I go to my friend and want to log in on my computer. It saya password is wrong. When I come home I see that the pasword is different from the one I wrote down in a note. This happenes every time. What can I do?