Opening Task Manager from the Command Prompt (CMD) is a fast way to launch the Windows system utility without navigating menus or using the Ctrl+Alt+Del screen. You only need a working Windows PC and access to the command line, which is built into every version of Windows from 7 through 11. The commands below work in both the classic Command Prompt and PowerShell, and they also work when typed into the Run dialog (Win+R).
What You’ll Need
- A Windows PC (Windows 7, 8, 8.1, 10, or 11)
- Permission to open a command prompt (a standard user account works for launching Task Manager)
- Optional: Administrator rights if you plan to use advanced Task Manager features like “Run as administrator”
Step-by-Step
- Open the Command Prompt. Press Win + R, type
cmd, and press Enter. Alternatively, search for “Command Prompt” in the Start menu and click it. For a standard launch, you do not need to run it as administrator. - Type the simplest command. At the prompt, type
taskmgrand press Enter. This is the executable name for Task Manager, and it opens immediately in its default view. - Use the full path (optional). If for some reason the short command is not recognized (rare), type
C:\Windows\System32\taskmgr.exeand press Enter. This directly calls the executable file. - Launch with administrator privileges. If you need Task Manager to show processes from all users or to end elevated processes, right-click “Command Prompt” in the Start menu and choose “Run as administrator,” then type
taskmgrand press Enter. Task Manager will open with elevated rights. - Use PowerShell (alternative). If you prefer PowerShell, open it the same way (Win+R, type
powershell, Enter), then typetaskmgrand press Enter. The same command works. - Use the Run dialog directly (shortcut). Instead of opening CMD first, press Win + R, type
taskmgr, and press Enter. This achieves the same result without ever seeing a command prompt window. - Create a batch file (for repeated use). Open Notepad, type
@echo offon the first line andtaskmgron the second line, save the file astask.bat, and double-click it whenever you need Task Manager. This is handy if you want a one-click launch from your desktop.
Common Mistakes
- Typing “task manager” with a space. The command is a single word:
taskmgr. Typingtask managerwill give a “not recognized” error. - Using the wrong slash. Some users type
taskmgr.exewith a forward slash instead of a backslash in the full path. UseC:\Windows\System32\taskmgr.exewith backslashes. - Expecting the old Windows 7 layout. On Windows 10 and 11, Task Manager opens in a compact mode showing only running apps. Click “More details” at the bottom to see the full tabs (Processes, Performance, App history, Startup, Users, Details, Services).
- Running without admin when you need it. If you cannot end a process or see all users’ processes, you likely launched Task Manager without administrator rights. Close it, open CMD as administrator, and run
taskmgragain.
Tips
- Use keyboard shortcuts as an alternative. The fastest way to open Task Manager is still Ctrl + Shift + Esc. The CMD method is best when you are already in a terminal or scripting a task.
- Create a symbolic link (advanced). If you want a shorter command like
tm, you can create a symbolic link in a folder that is in your PATH. For example, run as administrator:mklink C:\Windows\System32\tm.exe C:\Windows\System32\taskmgr.exe. Then typingtmopens Task Manager. This is optional and not needed for most users. - Use it in scripts. You can include
start taskmgrin a batch file to open Task Manager after other setup steps. Thestartcommand is not required, but it prevents the script from waiting for Task Manager to close before continuing. - Check the Startup tab. Once Task Manager is open, the Startup tab (Windows 8 and later) shows which programs launch at boot. This is a common reason people open Task Manager from CMD when troubleshooting slow boot times.
Troubleshooting
- “‘taskmgr’ is not recognized as an internal or external command” – This usually means the System32 folder is not in your PATH environment variable, which is extremely rare on standard Windows installs. Try the full path
C:\Windows\System32\taskmgr.exe. If that also fails, your Windows installation may be corrupted; runsfc /scannowin an elevated CMD to repair system files. - Task Manager opens but shows a blank window or crashes – Close it and restart your computer. If the problem persists, run
DISM /Online /Cleanup-Image /RestoreHealthin an elevated CMD, then runsfc /scannowagain. This repairs Windows component store issues that can affect built-in utilities. - Task Manager opens but you cannot see the tabs – Click “More details” at the bottom of the window. Windows 10 and 11 hide the full interface by default when you open Task Manager for the first time in a session.
- You get an “Access denied” error when running the command – This happens if your user account does not have permission to execute files in System32, which is uncommon. Log in as an administrator or use a different account with administrative rights.
- Task Manager opens but processes are not visible – Go to the “Details” tab (Windows 8 and later) to see all processes including background ones. The “Processes” tab groups them by app, which can hide system processes under collapsed categories.
Frequently Asked Questions
Q: What is the exact command to open Task Manager from CMD?
A: Type taskmgr and press Enter. That is the entire command.
Q: Can I open Task Manager as administrator from CMD?
A: Yes. Open CMD as administrator (right-click Command Prompt, choose “Run as administrator”), then type taskmgr. Task Manager will run with elevated privileges.
Q: Does this work in PowerShell too?
A: Yes. PowerShell accepts the same taskmgr command. You can also type Start-Process taskmgr if you prefer the PowerShell cmdlet syntax.
Q: Why does Task Manager open in a small window without tabs?
A: That is the default compact view in Windows 10 and 11. Click “More details” at the bottom to expand it to the full interface with all tabs.
Q: Is there a way to open Task Manager directly to a specific tab?
A: Not with a simple command-line switch. Task Manager does not support command-line arguments to preselect a tab. You can open it and click the tab you need.
Q: What if the command prompt is not available because of a virus or policy?
A: Try the Run dialog (Win+R) and type taskmgr. If that is also blocked, use Ctrl + Shift + Esc directly. If all three are blocked, your system may have a group policy that disables Task Manager; contact your system administrator.
Q: Can I close Task Manager from CMD?
A: Yes, type taskkill /IM taskmgr.exe /F and press Enter. This force-closes Task Manager if it is running.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Cool Down an Overheating Laptop
- Good Password: How to Create One
- Remove Write Protection on External Hard Drive
- How to Disable Chkdsk at Windows Startup
- Restore WiFi and Secure Your Netgear Router After Reset
- Fix Error 0x80004005: Top Easy Ways That Work