How to automatically open task manager performance tab summary view on startup

Mark A Gregory 96 Reputation points
2025-11-23T08:31:06.92+00:00

Simple query: How to automatically open task manager performance tab summary view on windows startup

I vaguely remember there was a way to use a mouse and keyboard recording to open apps and position them on the screen by running a script.

Yes, it was a long time ago and it was possibly a third party tool.

Windows 11 has lost a lot of functionality, one thing that remains is the Task Manager. I manually open the performance tab in summary view. Boring task when starting windows every day.

This would be a great PowerToy. Any ideas welcome.

Windows for business | Windows Server | Performance | Windows desktop and shell experience
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. VPHAN 9,760 Reputation points Independent Advisor
    2025-11-23T09:08:35.1066667+00:00

    Hi Mark A Gregory,

    Regarding your issue, I'd like to provide some details in a fairly comprehensive explanation, I hope you don't mind reading this long.

    Windows can't natively launch Task Manager directly into the Performance-Summary view. Task Manager still refuses command-line arguments for targeting specific tabs. You must recreate the state indirectly.

    If you want this to load at logon without manual clicks, you need an automation layer that can simulate the UI. AutoHotkey remains the only stable option. The old mouse-keyboard recorders were just early wrappers around the same principle.

    Create a small AutoHotkey script that waits for the shell to finish loading, launches Task Manager, switches it to Performance, collapses to Summary view, and locks its window state. The script must target controls by class and name rather than raw coordinates to avoid breakage on DPI changes. After you verify the sequence works, place the compiled script in the user Startup folder so Windows executes it at sign-in.

    PowerToys cannot handle this because it doesn't provide UI automation hooks. Task Manager provides no API for tab selection. UI automation is the only viable path.

    I hope my ideas can be some of your help. It's really appreciated of you to accept the answer if you find it useful. Should you have any questions, feel free to leave a message.

    VP

    1 person found this answer helpful.

  2. VPHAN 9,760 Reputation points Independent Advisor
    2025-11-23T09:23:49.37+00:00

    Hi Mark A Gregory,

    Of course it would be best if M could do that, in your favour, but your underlying expectation is reasonable, though the system architecture was never designed for declarative desktop replay. Everything above the window manager is app-driven, not shell-driven. Automation is therefore the only practical route until Microsoft introduces a layout API, and none exists today.

    Anyway, relying on mouse-key recorders will work, but it is fragile, because mouse and keyboard recorders that rely on absolute screen coordinates will fail under common conditions like resolution changes or DPI scaling. AutoHotkey remains the correct tool because it can target UI elements by their internal class names and control IDs, ensuring consistent execution. Write a script that includes a delay for shell stability, launches Task Manager with Ctrl+Shift+Esc, then uses Send commands to navigate: "!v" for View menu, "s" for Summary View, and additional keys to set the window state. Compile this script and place the executable in your Startup folder for automatic execution at logon.

    I hope my ideas can be some of your help. It's really appreciated of you to accept the answer if you find it useful to some extent. Thank you :)

    VP

    1 person found this answer helpful.
    0 comments No comments

  3. VPHAN 9,760 Reputation points Independent Advisor
    2025-11-24T03:55:59.9933333+00:00

    Good morning Mark A Gregory,

    If you find the information helpful to some extent, don't forget to accept it so that more people in our community would benefit too. In case you would like to discuss more, welcome :) Thank you, have a nice day!

    VP

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.