Its very much possible and there are API to be doing this.

Opening Task manager can be done using just launching "taskmgr.exe"