Stuart (Tony Hale), an office loner, discovers he can manipulate the reality of his office from a magical computer. He tries to use these powers to tell the girl he loves his true feelings but his immature boss Ben (Steve Howey) gets in the way.
Stuart discovers that his computer has other magical functions. He presses Ctrl B and is empowered to confront his immature boss. But Stuart takes things too far and after being fired he tells all his co-workers what he really thinks about them. A security guard prevents Stuart from getting back to his keyboard and being able to rewind time.
Stuart finds his keyboard discarded in the trash after being kicked out of the office. By clicking CTRL Z, he's taken right back to the beginning of the day and summons the courage to tell Elizabeth how he feels about her.
Stuart shares his keyboard secret with Elizabeth. They have a lot of fun at the expense of Ben but begin to wonder what other powers the computer holds. Stuart takes it too far and copies and pastes different versions of himself around the office.
Ben is now fully aware of the keyboard's magic powers. Ben and Stuart have a confrontation while Elizabeth remains stuck in the Philippines. Stuart manages to get the keyboard from Ben and sends him to the recycle bin.