This Applies to Windows 7
Sometimes it is necessary to log off another user that is logged into the PC you are using. To do this you open up Task Manager, go to the users tab, right click on the user you want to log off and select "Log Off or Disconnect"
The problem is you may get an Access Denied message even though you are an administrative user. The reason is that Task Manager needs to be running with administrative privileges.
There are two ways this can be done: