• Display a list of all tasks and their users. If there is no DOMAIN\user or THIS_WORKSTATION\user, you can assume noone is using the machine.

    tasklist /v