To query who is logged into a machine, do the following from the command prompt:
query session /server:SERVERNAME
You will be given the user's ID number to boot. Take that number, and boot the person:
rwinsta /server:SERVERNAME 1
Now you can log in.