Numlock and Scrolllock turned off

After I have used Connect to PC and return to my physical computer, the numlock and scroll lock have always been disabled. I am running windows 7 professional. Is there a way to keep this from occurring or is it just a bug that I have to endure?