How to open Resources Monitor in maximized window?

Discussion, questions and support.
Message
Author
User avatar
Forez
Posts: 1312
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

How to open Resources Monitor in maximized window?

#1 Post by Forez » 11.09.2022, 23:33

[To be clear: this is not a fault of FC - I am looking for workaround]

I have this shortcut on one of my Favorite Toolbars

Code: Select all

Program or folder:
C:\Windows\system32\perfmon.exe

Parameter:
/res
I opens the Resources Monitor, which is a sub-feature of Performance Monitor system tool. And that is the issue at hand: I can apply maximize window command one way or the other to Performance Monitor - but not to the Resources Monitor directly. And trying to apply it indirectly [i.e. by evoking first window of Performance Monitor in a maximized form] also does not work


And so: does anyone have any ideas for how to deal with this annoyance?

RS is listed in Details of Task Manager as perfmon.exe - just like the Performance Monitor itself


I am using FreeCommander version 861 32-bit public on Windows 10 Enterprise 20H2 19042.746 x64
Last edited by Forez on 01.01.2023, 17:11, edited 3 times in total.

m-a-r-k
Posts: 106
Joined: 03.06.2013, 20:43

Re: How to open Resources Monitor in maximized window?

#2 Post by m-a-r-k » 12.09.2022, 20:21

https://www.desksoft.com/WindowManager.htm, brilliant program can't live without it.

or use https://ritchielawrence.github.io/cmdow/ in a script to open the program full screen (as well as other things) although the learning curve here is steeper.

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: How to open Resources Monitor in maximized window?

#3 Post by Dreamer » 12.09.2022, 20:47

It does not work in 861 32-bit version, but it works in 874 64-bit - Windows 10 21H1 64-bit.

Workarounds:
- It works from the Windows taskbar.
- HotkeyP - great tool, free, it works with any keyboard shortcut, possibly in the 64-bit version only, it's easy, just use the path as command and parameter as parameters.

User avatar
Forez
Posts: 1312
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: How to open Resources Monitor in maximized window?

#4 Post by Forez » 01.01.2023, 17:52

m-a-r-k wrote: 12.09.2022, 20:21 https://www.desksoft.com/WindowManager.htm, brilliant program can't live without it.
I might [in the end] be forced to use it in the end [which I will explain in another section]
m-a-r-k wrote: 12.09.2022, 20:21 or use https://ritchielawrence.github.io/cmdow/ in a script to open the program full screen (as well as other things) although the learning curve here is steeper.
Looks similar to freeware NirCmd by NirSoft [http://www.nirsoft.net/utils/nircmd2.html] which I already use for few tasks

But having just tried LNK shortcuts like
"C:\Program Files Expanded\NirSoft\NirCmd\nircmd.exe" exec max "C:\Windows\system32\perfmon.exe"
"C:\Program Files Expanded\NirSoft\NirCmd\nircmd.exe" exec max "C:\Windows\system32\perfmon.exe /res"
"C:\Program Files Expanded\NirSoft\NirCmd\nircmd.exe" exec max "C:\Windows\system32\perfmon.exe" /res

and failing to produce any results with them, makes me expect that this piece of software recommended by you would also fail. Plus I do not like expanding the number of software that I am forced to use for various workarounds - but I will try it if other methods will fail

Dreamer wrote: 12.09.2022, 20:47 It does not work in 861 32-bit version, but it works in 874 64-bit - Windows 10 21H1 64-bit.
What works in a x64 version?
Dreamer wrote: 12.09.2022, 20:47 Workarounds:
- It works from the Windows taskbar.
Thanks for the advice, but reverting to shortcuts placed on Taskbar of the OS beats in my opinion the whole concept Favorite Toolbars feature of FreeCommander
Dreamer wrote: 12.09.2022, 20:47 - HotkeyP - great tool, free, it works with any keyboard shortcut, possibly in the 64-bit version only, it's easy, just use the path as command and parameter as parameters.
This falls under my tiresome category of too many workarounds / programs. But in the end I might be forced to use it

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: How to open Resources Monitor in maximized window?

#5 Post by Dreamer » 01.01.2023, 18:48

Forez wrote: 01.01.2023, 17:52What works in a x64 version?
Resources Monitor is opened in maximized window from FC favorite toolbar item.
This falls under my tiresome category of too many workarounds / programs. But in the end I might be forced to use it
It is impossible to make everything perfect. HotkeyP is not just a program for 1 purpose, it has many useful options, it can add or change the keyboard shortcuts for almost any other program, if that program doesn't support it. It is also really lightweight.

User avatar
Forez
Posts: 1312
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: How to open Resources Monitor in maximized window?

#6 Post by Forez » 01.01.2023, 21:48

Dreamer wrote: 01.01.2023, 18:48
Forez wrote: 01.01.2023, 17:52What works in a x64 version?
Resources Monitor is opened in maximized window from FC favorite toolbar item.
That is what I have suspected- it would be quicker / easier to just start using the x64 version. But here comes the interesting part in regards to 32-64 bit differences:

After relentlessly trying to come up with some some sort of combo of BAT scripts, NirCmd commands and LNK files, I finally gave up - and turned to PowerShell. And I immediately did it; kind of

Because as simple PS1 file as this one

Code: Select all

Start-Process perfmon /res -WindowStyle maximized
works A-OK when clicked / executed from within a Panel of FreeCommander. But getting it to work correctly when it is put as an icon on a Favorite Toolbar of FC is a whole different ballgame. Because as end result I always get the Resource Monitor opened not in a maximized form- PowerShell is apparently unable to push through its maximized parameter

And so: can this be fixed in or worked around somehow?

I already have tried running that PS1 file from a LNK file and by evoking it with BAT scripts, but failed seeing a maximized Resource Monitor- as apparently also with workarounds PowerShell is unable to apply the maximized parameter

buyter
Posts: 1
Joined: 08.01.2023, 15:39

Re: How to open Resources Monitor in maximized window?

#7 Post by buyter » 09.01.2023, 15:24

Hi,

when clicked or run from a Free Commander Panel, it works A-OK. However, getting it to function properly when it is added as an icon to FC's Favorite Toolbar is an entirely different matter. Because PowerShell appears to be unable to push through the maxed argument, I always wind up with the Resource Monitor opened but not in a maximum form.
So, the question is: Is there a remedy or a way to get around this?
I've already tried calling the PS1 file with BAT scripts and from an LNK file, but neither of those methods succeeded in displaying a Resource Monitor that was maximised. It appears that even with workarounds, PowerShell is unable to apply the maximized option. Thanks! also working on furniture.
Search Sources for Online Earnings https://www.grabonlinemoney.com/

User avatar
H.Seldon
Posts: 122
Joined: 06.03.2008, 03:51

Re: How to open Resources Monitor in maximized window?

#8 Post by H.Seldon » 09.01.2023, 18:32

How about "start /max resmon"?

Edit:

In Favorite toolbar,
Program or folder: resmon.exe
Run: maximized
Wenn ist das Nunstück git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: How to open Resources Monitor in maximized window?

#9 Post by horst.epp » 09.01.2023, 20:01

As H.Seldon said above
this works perfect here as Favorite toolbar entry.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: How to open Resources Monitor in maximized window?

#10 Post by Dreamer » 09.01.2023, 21:44

As I said, the program is opened maximized from 64-bit FC, but it's NOT opened maximized from 32-bit version, you can try it too.

User avatar
H.Seldon
Posts: 122
Joined: 06.03.2008, 03:51

Re: How to open Resources Monitor in maximized window?

#11 Post by H.Seldon » 10.01.2023, 00:03

You are correct. I failed to run from 32-bit FC.
However, this WILL work for Favorite toolbar entry:

Program or folder: %windir%\sysnative\cmd.exe
Parameter: /c start /max resmon

Edit:
If command prompt window annoys you, check Run: minimized
Wenn ist das Nunstück git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput.

User avatar
Forez
Posts: 1312
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: How to open Resources Monitor in maximized window?

#12 Post by Forez » 10.01.2023, 01:54

H.Seldon wrote: 10.01.2023, 00:03 [...]
However, this WILL work for Favorite toolbar entry:
[...]
Yes, it works also for me
H.Seldon wrote: 10.01.2023, 00:03 If command prompt window annoys you, check Run: minimized
I see no command prompt without minimized applied

Nevermind, big thanks for solving this annoyence

And now I am beginning a new quest: how to export and import settings of [you've guest it] Resources Monitor

User avatar
H.Seldon
Posts: 122
Joined: 06.03.2008, 03:51

Re: How to open Resources Monitor in maximized window?

#13 Post by H.Seldon » 10.01.2023, 02:03

Actually, you don't need to run cmd.exe at all.
Program or folder: %windir%\sysnative\resmon.exe
Run: Maximized
Wenn ist das Nunstück git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput.

User avatar
Forez
Posts: 1312
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: How to open Resources Monitor in maximized window?

#14 Post by Forez » 10.01.2023, 02:12

Forez wrote: 10.01.2023, 01:54 [...]
And now I am beginning a new quest: how to export and import settings of [you've guest it] Resources Monitor
Well, that was quick:

C:\Users\YOUR-USER-NAME\AppData\Local\Resmon.ResmonCfg

User avatar
Forez
Posts: 1312
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: How to open Resources Monitor in maximized window?

#15 Post by Forez » 29.03.2023, 11:22

H.Seldon wrote: 10.01.2023, 02:03 Actually, you don't need to run cmd.exe at all.
[...]
After upgrading from version 880 32-bit Public to 885 64-bit Donor Portable this method stopped working at all: https://freecommander.com/forum/viewtopic.php?t=13358

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 33 guests