question

xeonos-3298 avatar image
0 Votes"
xeonos-3298 asked MitchBerry-7533 published

[Bug Report] One Instance mode in Process Explorer sometimes doesn't work

I enabled One Instance mode through "Options" -> "Allow Only One Instance" in Process Explorer (I'm using the latest version v16.32). I also enabled the "Replace Task Manager" so the "Ctrl + Shift + Esc" shortcut key will launch the process explorer. I'm using windows 7 64 bit.

The problem is sometimes when I press the "Ctrl + Shift + Esc", two process explorer instances will be launched instead.

It isn't straightforward to reproduce the issue, you have to press the "Ctrl+Shift+Esc" by holding it a bit and then release it. You might have to try this many times until you see two instances of process explorer being launched. But I found out by pressing "Ctrl+Shift+Esc" two times in short interval seems to have a bigger chance to produce the issue.

I had confirmed the keyboard isn't the issue as I had tested it with different keyboards which gave same results.


windows-sysinternals-procexp
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have this issue in Windows 11 64-bit.

0 Votes 0 ·

I have this issue in Windows 11 64-bit.

0 Votes 0 ·
mariora avatar image
0 Votes"
mariora answered xeonos-3298 edited

Did you disabled DDE on your system???

Most of the Sysinternals tools uses DDE to speak each other and to decide when in case like this you opted to have only one instance of the program, so if DDE is disabled they cannot talk each other and chance are high that if you continue to press CTRL+SHIFT+ESC you will end up with a huge number of Process Explorer instances..

Or may be that you were so quick that the first instance has not yet been completely initialized, so it was unable to answer to the request from the second instance and you ended up with two Procexp instances.

HTH
-mario

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What is DDE?

Or may be that you were so quick that the first instance has not yet been completely initialized, so it was unable to answer to the request from the second instance and you ended up with two Procexp instances.

Or it could be the Process Explorer instance's loading process that was too slow. I had put the EXE files in SSD drive but still doesn't solve the issue. I checked when pressing the CTRL + SHIFT +ESC key, the procexp.exe (32 bit) will run first and then it will load the procexp64.exe (64 bit), so I think this two EXE files loading kinda makes the process a bit slower which causes the one-instance detection to fail sometimes. Is there a way to make CTRL + SHIFT +ESC key to only run one procexp EXE file?



0 Votes 0 ·
mariora avatar image
0 Votes"
mariora answered xeonos-3298 commented

DDE is the Dynamic Data Exchange... an old Windows technology for interprocess communication..

Another possible reason is the Antivirus interfering with the process.

One possible solution is to expand the 64 bit version in the same folder of the 32 bit and in the registry as Taskman replacement point directly to the 64 bits version..

No longer two version starting and no longer whatsoever was going on :-)

HTH
-mario

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I set the task manager replacement to the 64 bit version of procexp in registry, it improves the situation but sometimes the second procexp process still can pop up. So I guess the process explorer's single-instance running logic still needs improvement.

0 Votes 0 ·