Page 1 of 2
How to open Resources Monitor in maximized window?
Posted: 11.09.2022, 23:33
by Forez
[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
Re: How to open Resources Monitor in maximized window?
Posted: 12.09.2022, 20:21
by m-a-r-k
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.
Re: How to open Resources Monitor in maximized window?
Posted: 12.09.2022, 20:47
by Dreamer
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.
Re: How to open Resources Monitor in maximized window?
Posted: 01.01.2023, 17:52
by Forez
I might [in the end] be forced to use it in the end [which I will explain in another section]
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
Re: How to open Resources Monitor in maximized window?
Posted: 01.01.2023, 18:48
by Dreamer
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.
Re: How to open Resources Monitor in maximized window?
Posted: 01.01.2023, 21:48
by Forez
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
Re: How to open Resources Monitor in maximized window?
Posted: 09.01.2023, 15:24
by buyter
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.
Re: How to open Resources Monitor in maximized window?
Posted: 09.01.2023, 18:32
by H.Seldon
How about "start /max resmon"?
Edit:
In Favorite toolbar,
Program or folder: resmon.exe
Run: maximized
Re: How to open Resources Monitor in maximized window?
Posted: 09.01.2023, 20:01
by horst.epp
As H.Seldon said above
this works perfect here as Favorite toolbar entry.
Re: How to open Resources Monitor in maximized window?
Posted: 09.01.2023, 21:44
by Dreamer
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.
Re: How to open Resources Monitor in maximized window?
Posted: 10.01.2023, 00:03
by H.Seldon
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
Re: How to open Resources Monitor in maximized window?
Posted: 10.01.2023, 01:54
by Forez
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
Re: How to open Resources Monitor in maximized window?
Posted: 10.01.2023, 02:03
by H.Seldon
Actually, you don't need to run cmd.exe at all.
Program or folder: %windir%\sysnative\resmon.exe
Run: Maximized
Re: How to open Resources Monitor in maximized window?
Posted: 10.01.2023, 02:12
by Forez
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
Re: How to open Resources Monitor in maximized window?
Posted: 29.03.2023, 11:22
by Forez
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