You have to be in the root of the drive in some cases.
C:
Not a directory.
CD.. in command prompt to back out of folders each time you are in a folder till you get to the route of the drive eg C:
Then type taskmgr you dont need the .exe extention
Or your not an admin. Run Cmd as admin