Topic: Remove PeShell/PeCmd gui?  (Read 1887 times)

Remove PeShell/PeCmd gui?
« on: March 19, 2019, 04:42:48 PM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
Hey!

So I need to remove the Pecmd or the PeShell gui, or at least hide it somehow. Or is there any way to disable the ctrl + alt + del option to open PeShell?  :confused:

Thanks in advance :)

Re: Remove PeShell/PeCmd gui?
« Reply #1 on: March 19, 2019, 06:55:56 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Or is there any way to disable the ctrl + alt + del option to open PeShell?  :confused:
PeShell option not available on latest distributions anymore...

get latest project
http://theoven.org/index.php?topic=2594.0

:turtle:

Re: Remove PeShell/PeCmd gui?
« Reply #2 on: March 21, 2019, 12:54:12 PM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
Oh, okay not using the latest one the. Updated now so is there any way to hide PEcmd then?  :smile:

Re: Remove PeShell/PeCmd gui?
« Reply #3 on: March 21, 2019, 05:54:21 PM »

Doberman

  • Jr. Chef
  • **
  • Date Registered: Oct 2011
  • Posts: 84
pecmd.ini:

INIT IU,3000      // show tray
INIT U,3000       // hide tray

Re: Remove PeShell/PeCmd gui?
« Reply #4 on: March 22, 2019, 12:46:09 PM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
Thanks so much!  :thumbsup:

Now I just need to find a way to disable the hotkey then. Cause I'm assuming the hotkeys are built into Pecmd and not Windows right?

Re: Remove PeShell/PeCmd gui?
« Reply #5 on: March 22, 2019, 01:14:02 PM »

Doberman

  • Jr. Chef
  • **
  • Date Registered: Oct 2011
  • Posts: 84
Enable hotkeys:

HOTK Ctrl + S,PECMD.EXE SHUT   // The Shutdown button

Turn off hotkeys:

//HOTK Ctrl + S,PECMD.EXE SHUT   // The Shutdown button

Part in Windows....

Re: Remove PeShell/PeCmd gui?
« Reply #6 on: March 24, 2019, 12:04:41 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Thanks Doberman,

I will put relevant options to the plugin when I find some time...  :thumbsup:

:turtle:

Re: Remove PeShell/PeCmd gui?
« Reply #7 on: March 25, 2019, 09:25:24 AM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
Enable hotkeys:

HOTK Ctrl + S,PECMD.EXE SHUT   // The Shutdown button

Turn off hotkeys:

//HOTK Ctrl + S,PECMD.EXE SHUT   // The Shutdown button

Part in Windows....

Thanks for the info, but this seems to be just for the shutdown button not the ctrl + alt + m for opening and closing the program :/

Re: Remove PeShell/PeCmd gui?
« Reply #8 on: March 25, 2019, 12:15:38 PM »

Doberman

  • Jr. Chef
  • **
  • Date Registered: Oct 2011
  • Posts: 84
This is to Windows itself.

Re: Remove PeShell/PeCmd gui?
« Reply #9 on: March 25, 2019, 02:51:44 PM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
This is to Windows itself.

Ah okay. But that hotkey is created by WinBuilder right? Do you know if there is any way to remove it?  :smile:

Re: Remove PeShell/PeCmd gui?
« Reply #10 on: March 25, 2019, 03:02:43 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
Ah okay. But that hotkey is created by WinBuilder right? Do you know if there is any way to remove it?  :smile:

add this:

Code: [Select]
//disable default hotkey
//ctrl+alt+A W800H600B16F60
REGI $HKLM\SOFTWARE\PELOGON\RAMDATA\HOTKEY\HOTKEY1!
//ctrl+alt+m @TaskIcoMenu=2
REGI $HKLM\SOFTWARE\PELOGON\RAMDATA\HOTKEY\HOTKEY2!

tested under win10xpe & work  :thumbsup:

edit

i forget to tell you that followin this
Quote
SHEL command must be after HOTK command. Meanwhile, it can not be used in the command line, and can only be used in the configuration file.
i put theres line under "_SUB PostShell"
« Last Edit: March 25, 2019, 05:34:45 PM by cretino »

Re: Remove PeShell/PeCmd gui?
« Reply #11 on: March 25, 2019, 05:18:22 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Oven123321,

Ah okay. But that hotkey is created by WinBuilder right? Do you know if there is any way to remove it?  :smile:
no it is not created by winbuilder.

As Doberman wrote:
This is to Windows itself.

OR
"ctrl + alt + m" maybe created by loader

or maybe hotkey used by the application (program) you use
https://defkey.com/what-means/ctrl-alt-m

ps: I do not know if current loader has "ctrl + alt + m" adjustment, I will test much later.

on our case,
 loader we use today (pecmd -> pecmd.ini) may or may not override application (program) you use.


Let us know your Win10PESE test results,
 with cretino settings on pecmd.ini ? with program name you use ???


*
Please ignore any pm spam advertisement after your post around now.

Some forum members have a childish habit to spam advertise other projects after each post around,
 They appear in topics, pretend like helping, and you will get a pm of spam advertisement
   I guess with some wrong info inside...

See You around.
:turtle:

Re: Remove PeShell/PeCmd gui?
« Reply #12 on: March 25, 2019, 07:08:43 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi Hi Oven123321
 i checked the key under Win10PE_SE_2019-03-16 , they are differet compared to win10xpe ,sorry
Code: [Select]
[HKEY_LOCAL_MACHINE\SOFTWARE\PELOGON\RAMDATA.HOTKEY]
"HotKey1"="3,65,EXEC X:\windows\system32\Pecmd.exe DISP W800H600B16F60"
"HotKey2"="3,77,ENVI @@TaskIcoMenu=2"
so the line will be (in pecmd.ini under "_SUB PostShell" )
Code: [Select]
//disable default hotkey
//ctrl+alt+A W800H600B16F60
REGI $HKLM\SOFTWARE\PELOGON\RAMDATA.HOTKEY\HOTKEY1!
//ctrl+alt+m @TaskIcoMenu=2
REGI $HKLM\SOFTWARE\PELOGON\RAMDATA.HOTKEY\HOTKEY2!
tested under  Win10PE_SE_2019-03-16 (x86) ok

Re: Remove PeShell/PeCmd gui?
« Reply #13 on: March 26, 2019, 08:02:42 AM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
hi Hi Oven123321
 i checked the key under Win10PE_SE_2019-03-16 , they are differet compared to win10xpe ,sorry
Code: [Select]
[HKEY_LOCAL_MACHINE\SOFTWARE\PELOGON\RAMDATA.HOTKEY]
"HotKey1"="3,65,EXEC X:\windows\system32\Pecmd.exe DISP W800H600B16F60"
"HotKey2"="3,77,ENVI @@TaskIcoMenu=2"
so the line will be (in pecmd.ini under "_SUB PostShell" )
Code: [Select]
//disable default hotkey
//ctrl+alt+A W800H600B16F60
REGI $HKLM\SOFTWARE\PELOGON\RAMDATA.HOTKEY\HOTKEY1!
//ctrl+alt+m @TaskIcoMenu=2
REGI $HKLM\SOFTWARE\PELOGON\RAMDATA.HOTKEY\HOTKEY2!
tested under  Win10PE_SE_2019-03-16 (x86) ok

Hey cretino  I tried this and it worked perfectly! Thanks so much, this solves my problems  :lol:

Re: Remove PeShell/PeCmd gui?
« Reply #14 on: March 27, 2019, 08:52:34 AM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
Just noticed a weird site effect of disabling the hotkeys. So I had a AHK script that just ran a shutdown command, now that doesn't work anymore :/

Re: Remove PeShell/PeCmd gui?
« Reply #15 on: March 27, 2019, 08:59:33 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Oven123321,

You were informed:
on our case,
 loader we use today (pecmd -> pecmd.ini) may or may not override application (program) you use.

I learn something, pecmd override other application hotkeys.

*
Also keep in mind:
*
".script files" is generic naming and exist on different projects that are incompatible each other.
(I guess 8 active projects that use ".script files" , with inactive projects that use ".script files" number increase.
 , only 5 of them use Plugin )

We use Plugin naming to underline file that are compatible to Gena Win7PESE Win8PESE Win8.1SE Win10PESE. (today 5 , some more in future  :wink:)

Please follow the naming adjustment by projects.  :matrix:

:turtle:

Re: Remove PeShell/PeCmd gui?
« Reply #16 on: March 27, 2019, 04:46:20 PM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
Thanks for the info! Just though I would mention that I ran into this, I'm currently trying to work around it :)

Re: Remove PeShell/PeCmd gui?
« Reply #17 on: March 27, 2019, 06:43:35 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi Oven123321

Quote
So I had a AHK script that just ran a shutdown command, now that doesn't work anymore :/

mmm,you should have said from the beginning...
^!m  this is a variable that you can define, you can change it to " ^!g " or " ^!+m "..., just be careful to not use that of windows,

Code: [Select]
https://www.disabled-world.com/assistivedevices/computer/hotkeys.php
ex:
Code: [Select]
;Shutdown with Hotkey
;Win+Shift+P
#+p::Shutdown, 5

or
;ctrl+alt+shift+m
^!+m::Shutdown, 5

.....
« Last Edit: March 27, 2019, 06:43:52 PM by cretino »

Re: Remove PeShell/PeCmd gui?
« Reply #18 on: March 28, 2019, 04:38:14 PM »

Oven123321

  • Jr. Chef
  • **
  • Date Registered: Oct 2018
  • Posts: 19
Thanks!  :thumbsup: I ended up just using the built in hotkey (Ctrl + S ) and just sending that via AHK. Works great, thanks alot everyone for all your help!  :smile:

 

Powered by EzPortal