25

I would like to always show the windows CPU usage graphic in the taskbar near the system clock as it does when the task manager is open. Is there a way to make it always show with no more intervention (such as opening task manager each time I start up)?

Also, any recommended CPU monitors that show just a nice little graphic in the taskbar of the currenct usage?

4
  • 1
    I don't want to add an answer about 3rd party software because that wasn't your question. But I see there is an answer with 3rd party software and many upvotes so I will leave this comment. superuser.com/a/1467988/490703 – User42 Aug 5 '19 at 21:09
  • 1
    @User42 I'm not sure why you see that the question doesn't ask for 3rd party software, when it says: "Also, any recommended CPU monitors..." – Ooker Oct 9 '19 at 12:28
  • I'm very surprised no one has mentioned Rainmeter yet? – Arctiic Feb 17 '20 at 3:15
  • Many other solutions are provided in this question: How can I constantly monitor my computer's RAM usage? – Ooker Jun 29 '20 at 16:17
13

you can start your pc up with task manager running minimized

  1. Right click your desktop and select New then shortcut
  2. Type in taskmgr and hit enter
  3. Hit enter again
  4. Right click the new shortcut and go to properties
  5. In the Run dropdown select "Minimized"
  6. Click Start and All Programs
  7. Find Startup and right click the folder and select Open
  8. Drag the new shortcut into that folder

Now the taskmanager will always run - minimized - when the computer boots.

2
  • some drawbacks: CPU only, not RAM or network; icon disappears when closing the window – Ooker May 28 '18 at 12:34
  • Only worked partially for me on Windows 10 (multiple machines). Task Manager starts, but needs to be maximized and minimized again manually in order to vanish into the tray. Linus' answer addresses that problem. – barfuin Aug 14 '18 at 15:41
28

I have three programs for you. All of them are free:

1. XMeters

Taskbar appearance:

Setting:

So far I'm satisfied with this program.

2. RAM CPU (+DISK) Taskbar

It turns your taskbar into a dynamic color-changing resource meter.

3. CleanMem Mini Monitor

This one actually display a floating panel and an icon in the notification area rather than in taskbar. It also has more settings than the two above.

3
  • 2
    XMeters work great. Better than the other apps and shortcuts with a good level of graphics – Posse Jul 26 '19 at 10:10
  • It is sad that XMeters can display the RAM usage only as percentage ... – Georgi Peev Jun 29 '20 at 10:54
  • @GeorgiPeev but why isn't that useful to you? – Ooker Jun 29 '20 at 16:18
4

The @Keltari solution looks good, but the 'Task Manager' icon is still displayed in the taskbar. Therefore, a better solution is to start TaskManager using a vbs script with a hidden parameter.

This is how you can do it:

  1. Ctr+R and type "shell:startup", this will open the default user folder to start programs at startup
  2. Create a file called "task_manager.vbs"
  3. Edit the file and paste the code below:

Set objShell = WScript.CreateObject("WScript.Shell")

objShell.Run "taskmgr", 0, false

  1. Save it and that's it. You can test it by double clicking the file. enter image description here

You can see there is no TaskManager icon in taskbar :)

2
  • Does TaskManager only have the one icon? Or are there multiple icons for CPU, memory, network, etc. – posfan12 Dec 7 '19 at 16:43
  • 1
    @posfan12 it shows the same icon when you open the "Task Manager", so it only shows one. – suffuko Dec 10 '19 at 0:17
4

Here's a wild hack for you: you start the Cygwin terminal and run a script in it that will set the correct terminal title. From there, you can put whatever information you want into the taskbar.

This will only work if you do not have Settings > Taskbar > "Combine taskbar buttons" set to "Always, hide labels". Because we need those labels; that's where the status information is going to go.

Install Cygwin with the python3 and procps-ng packages. (procps-ng is needed for top.) Then open a Cygwin terminal and run this python script in it:

#!/usr/bin/env python3

from time import sleep
from sys import *
from subprocess import check_output

def title(s):
    stdout.write('\033]0;' + s + '\a')
    stdout.flush()

while True:
    output = check_output('top -b -n1 -1'.split()).decode()
    lines = output.split('\n')
    title(lines[2:].join(' | '))
    sleep(2)

That runs top, gets rid of the first two lines, and prints the other lines to the title! From here, you can do pretty much whatever you want. You should check out powerline for a more powerful statusline printer.

To get even more information into your taskbar, you can increase the max tab width with this registry hack:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"MinWidth"="1000"

I know it says MinWidth, but it actually sets the max width. Well done indeed, Microsoft.

This is what mine looks like right now:

task bar

0
3

I tried the above for Windows 10, but it just did not work (Task Manager started but not minimised).

I found the possibility of putting

start /min taskmgr

into a batch file and then create a task with the Task Scheduler running this batch file at logon. (See e.g. https://social.technet.microsoft.com/Forums/windows/en-US/0065fc23-2578-4165-8f38-c22675ae33ad/run-the-task-manager-on-startup-how or https://www.youtube.com/watch?v=KkNzHnYYrm0)

However, with this method you will always have a minimised Task Manager sitting in your Windows task bar after logon, in spite of you having ticked Options->Hide when minimised in Task Manager. It will only disappear from the task bar -- with the tray icon remaining -- if you maximise it once again and minimised it manually. If this is annoying you, here is another method:

Create a .wsf file with the following content; e.g. C:\Users\Linus\AppData\taskmgr-minimised.wsf

<package>
   <job id="vbs">
      <script language="VBScript">
        set WshShell = WScript.CreateObject("WScript.Shell")
        WshShell.Run "taskmgr"
        WScript.Sleep 100
        WshShell.SendKeys "% n"
      </script>
   </job>
</package>

This is a VBScript that opens the task manager and subsequently emulates the button presses of Alt + Space + n, which minimises a window. If you want to test it, you have to run it as administrator! You may open a Command Prompt as administrator and run

cscript C:\Users\Linus\AppData\taskmgr-minimised.wsf

Now, you want this to be executed at every logon, which can again be done with the Windows Task Scheduler (similiar to the above linked batchfile method):

When creating the new task, in the General tab, make sure to tick Run with highest privileges! Task creation: General

In the Triggers tab, create a new "At log on" trigger and make sure to set Delay task for: 1 second! (1 second is not in the drop down menu, but you can just manually type it in.) Task creation: Triggers

In the Actions tab, create a new "Start a program" action and set cscript and the path to your .wsf file in the appropriate fields: Task creation: Actions

You may change the remaining tabs to your liking.

That did the trick at least on my system.

Maybe on a slower system you may have to increase the WScript.Sleep milliseconds in the wsf file or the Delay task for time. Then just try to decrease it as long as it still works.

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.