Help Winpe

Page 2 of 5 FirstFirst 1234 ... LastLast

  1. Posts : 4,614
    several
       #11

    no.
      My Computer


  2. Posts : 61
    windows 10
    Thread Starter
       #12

    SIW2 said:
    no.
    ah, the programs open, but it does not appear in the menu
    Help Winpe-bug.png
      My Computer


  3. Posts : 4,614
    several
       #13

    the programs open, but it does not appear in the menu
    what do you mean ?

    what is expected to happen "in the menu"
      My Computer


  4. Posts : 61
    windows 10
    Thread Starter
       #14

    SIW2 said:
    what do you mean ?

    what is expected to happen "in the menu"
    maybe the translator didn't know how to express what I wanted to say, it's not supposed to appear in the menu, but to appear on the screen, but the menu is on top, so the programs don't appear

    in the taskbar you can see that the programs are open but they are not displayed
      My Computer


  5. Posts : 4,614
    several
       #15

    you mean they are starting minimized ?

    I dont know why.

    perhaps you have done something wrong when trying to cobble together that menu and programs with win10xpe.
      My Computer


  6. Posts : 61
    windows 10
    Thread Starter
       #16

    SIW2 said:
    you mean they are starting minimized ?

    I dont know why.

    perhaps you have done something wrong when trying to cobble together that menu and programs with win10xpe.
    redid everything again and this bug continues, my programs are outside boot.wim, wouldn't that be the reason?

    the programs are opening, but they are kind of in the background, my menu.wcs is on top of the program

    I'm going to break my head a little here, I believe the bug is coming from pecmd

    thank you so far bro

    - - - Updated - - -

    this is funny

    //DISP W1024 H768 B32 F60
    EXEC %windir%\system32\winpeshl.exe

    FORX !Sources\MBOOTMGR_64.wcs,Script,1,%SystemRoot%\System32\PECMD.EXE LOAD %Script%

    when I put this top command the menu appears and the programs open but the background is black

    //DISP W1024 H768 B32 F60
    LOGO %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
    EXEC !=%windir%\system32\winpeshl.exe
    FORX !Sources\MBOOTMGR_64.wcs,Script,1,%SystemRoot%\System32\PECMD.EXE LOAD %Script%

    and when I put this command from above the menu does not appear, but the background image appears

    //DISP W1024 H768 B32 F60
    LOGO %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
    EXEC %windir%\system32\winpeshl.exe

    SEND PECMD=PECMD.EXE
    SUBMIT EDIT=notepad
    REGI $HKCR\.wcs\=wcsfile
    REGI $HKCR\wcsfile\=WCS File
    REGI $HKCR\wcsfile\DefaultIcon\=%SystemRoot%\SYSTEM32\%PECMD%,0
    REGI $HKCR\wcsfile\shell\open\command\=%PECMD% LOAD %L
    REGI $HKCR\wcsfile\shell\Edit\command\=%EDIT% %L
    REGI $HKCR\inifile\shell\PECMD\=PECMD load
    REGI $HKCR\inifile\shell\PECMD\command\=%PECMD% "LOAD %L"
    REGI $HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT=.COM;.EXE;.NTR;.NTE;.NTX;.BAT;.CMD;.VBS;.VBE;.JS;.JSE; .WSF;.WSH;.WCS;.WC E;.WCX;.WCZ
    wait 1000

    FORX !sources\mbootmgr_64.wcs,script,1,LOAD %script%

    When I put this command above that you sent me, the background image and the menu appear, but the programs do not open
    Last edited by keketoco00; 10 Mar 2023 at 21:16.
      My Computer


  7. Posts : 4,614
    several
       #17

    Code:
    LOGO %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
    EXEC %windir%\system32\winpeshl.exe
    INIT IU,3000
    NUMK 1
    ENVI PECMD=PECMD.EXE
    ENVI EDIT=notepad
    REGI $HKCR\.wcs\=wcsfile
    REGI $HKCR\wcsfile\=WCS File
    REGI $HKCR\wcsfile\DefaultIcon\=%SystemRoot%\SYSTEM32\%PECMD%,0
    REGI $HKCR\wcsfile\shell\open\command\=%PECMD% LOAD %L
    REGI $HKCR\wcsfile\shell\Edit\command\=%EDIT% %L
    REGI $HKCR\inifile\shell\PECMD\=PECMD load
    REGI $HKCR\inifile\shell\PECMD\command\=%PECMD% "LOAD %L"
    REGI $HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT=.COM;.EXE;.NTR;.NTE;.NTX;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.WCS;.WC E;.WCX;.WCZ
    WAIT 1000
    SHEL explorer.exe
    LOGO
    FORX !sources\mbootmgr_64.wcs,script,1,LOAD %script%
    I dont know how you have built your winpe are you using winxshell as well?
      My Computer


  8. Posts : 61
    windows 10
    Thread Starter
       #18

    SIW2 said:
    Code:
    LOGO %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
    EXEC %windir%\system32\winpeshl.exe
    INIT IU,3000
    NUMK 1
    ENVI PECMD=PECMD.EXE
    ENVI EDIT=notepad
    REGI $HKCR\.wcs\=wcsfile
    REGI $HKCR\wcsfile\=WCS File
    REGI $HKCR\wcsfile\DefaultIcon\=%SystemRoot%\SYSTEM32\%PECMD%,0
    REGI $HKCR\wcsfile\shell\open\command\=%PECMD% LOAD %L
    REGI $HKCR\wcsfile\shell\Edit\command\=%EDIT% %L
    REGI $HKCR\inifile\shell\PECMD\=PECMD load
    REGI $HKCR\inifile\shell\PECMD\command\=%PECMD% "LOAD %L"
    REGI $HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT=.COM;.EXE;.NTR;.NTE;.NTX;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.WCS;.WC E;.WCX;.WCZ
    WAIT 1000
    SHEL explorer.exe
    LOGO
    FORX !sources\mbootmgr_64.wcs,script,1,LOAD %script%
    I dont know how you have built your winpe are you using winxshell as well?
    I use the pattern

    explorer.exe

    all these problems are due to the background image

    the other way to put the background image as winre.jpg?

    winre.jpg does not work in win10xpe

    If not, I'll leave it as is and thank you for your time.
      My Computer


  9. Posts : 4,614
    several
       #19

    Help Winpe-pecmd-logo.jpg
      My Computer


  10. Posts : 61
    windows 10
    Thread Starter
       #20

    SIW2 said:
    you could make your own menu.

    I have a simple one you can make a bigger one

    I usually put pemenu.wcs in system32 i.e in the same directory as pecmd.ini so can use %curdir%

    SHEL PECMD.EXE LOAD %CURDIR%\PEMENU.WCS

    pemenu.wcs
    Code:
    _SUB RBT
    MESS Restart pc now ?@RESTART PC ?#YN $Y
    FIND $%YESNO%=YES,SHUT R
    _END
    
    _SUB EASYPE,L10T10W334H362,PEMENU (C) SIW2 2020,,#4
         ITEM Button1,L8T6W155H30,SHUTDOWN,CALL SHT,SHELL32.DLL#27
         ITEM Button11,L168T6W155H30,REBOOT ,CALL RBT,SHELL32.DLL#137
         ITEM Button2,L8T46W155H30,CMD,EXEC cmd.exe,cmd.exe#0
         ITEM Button21,L168T46W155H30,NOTEPAD,EXEC notepad.exe,notepad.exe#0
         ITEM Button4,L8T86W155H30,IMAGE RESTORE,EXEC bmrui.exe,bmrui.exe#0
         ITEM Button41,L168T86W155H30,RECOVERY OPTS,EXEC X:\SOURCES\RECOVERY\RECENV.EXE,X:\SOURCES\RECOVERY\RECENV.EXE#0
         ITEM Button5,L8T126W155H30,BOOTICE,EXEC %CURDIR%\BOOTICEx64.exe,%CURDIR%\BOOTICEx64.exe
         ITEM Button51,L168T126W155H30,SHADOWCOPIES,EXEC %CURDIR%\SHADOWCOPYVIEWx64.exe,%CURDIR%\SHADOWCOPYVIEWx64.exe
         ITEM Button6,L8T166W155H30,DISM++,EXEC X:\sources\recovery\tools\Dism++x64.exe,X:\sources\recovery\tools\Dism++x64.exe
         ITEM Button61,L168T166W155H30,SETUP,EXEC X:\SETUP.EXE,X:\SETUP.EXE
         ITEM Button7,L8T206W155H30,SYSTEM RESTORE,LOAD %CURDIR%\PERSTRUI9.WCS,PECMD.EXE#1
         ITEM Button71,L168T206W155H30,NT6REPAIR,LOAD %CURDIR%\NT6REPAIR10.WCS,PECMD.EXE#1
         ITEM Button8,L8T246W155H30,WINNTSETUP,EXEC %PROGRAMFILES%\WinNTSetup_x64.exe,%PROGRAMFILES%\WinNTSetup_x64.exe#0
         ITEM Button81,L168T246W155H30,
         ITEM Button9,L8T286W155H30,800,TEAM EXEC PECMD DISP W800 H600 B32 F60|KILL \,PECMD.EXE#2
         ITEM Button91,L168T286W155H30,1024,TEAM EXEC PECMD DISP W1024 H768 B32 F60|KILL \,PECMD.EXE#2 
    _END
     
    _SUB SHT
    MESS Shutdown pc now ?@SHUTDOWN PC ?#YN
    FIND $%YESNO%=YES,SHUT
    _END
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    CALL     @EasyPE
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    Attachment 387243

    you need to check your menu and see it is pointing at the location of the program.exe in your winpe.

    if it is pointing at the wrong place nothing will happen when clicking the button
    a possibility to put this transparent box and leave only the name and the icon?
    Help Winpe-icon.png
    leave it like that
    Help Winpe-transp.png
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:58.
Find Us




Windows 10 Forums