Win10XPE - Build Your Own Rescue Media [2]


  1. Posts : 4,144
    Windows 3.1 to Windows 11
    Thread Starter
       #1971

    Win10XPE - Build Your Own Rescue Media [2]-image00041.jpg
      My Computer


  2. Posts : 7
    Win
       #1972

    Kyhi, thank you for trying to guide me, but I have already opened "Pecmd.ini" but I don't know the commands to add, if you can help me, I would really appreciate it! I'm not a programmer!
      My Computer


  3. Posts : 4,144
    Windows 3.1 to Windows 11
    Thread Starter
       #1973

    The applications are included in WinRE - the shortcuts for the Application are created in PECMD - you would just Mark Out the "LINK" command > //LINK

    Code:
    _SUB Shortcuts
    
    LINK %Programs%\Accessibility\Magnify,%WinDir%\System32\magnify.exe
    
    //LINK %Programs%\Accessibility\OSK,%WinDir%\System32\OSK.exe
    //LINK %Programs%\Accessories\MSPaint,%WinDir%\System32\mspaint.exe
    //LINK %Programs%\Accessories\WordPad,%ProgramFiles%\windows nt\accessories\WordPad.exe
    //LINK %Programs%\Accessories\PhotoViewer,%WinDir%\Web\Wallpaper\Windows\img0.jpg
    //LINK %Programs%\Accessories\SnippingTool,%WinDir%\System32\SnippingTool.exe
    
    //LINK %Desktop%\System Recovery,%SystemDrive%\sources\recovery\recenv.exe
    LINK %Programs%\System Tools\System Recovery,%SystemDrive%\sources\recovery\recenv.exe
      My Computer


  4. Posts : 5
    win 10
       #1974

    hello mr. kyhi
    need your help please i have win10Xpe win10.2004 in the office he puts me my resolution at 800* 600 i can't go higher i installed my graphics card from my pc but I have an error I don't want to install it it's a dell optiplex 3070 set max resolution doesn't do anything either have a script that can modify the resolution to see all my icons inside
      My Computer


  5. Posts : 7
    Win
       #1975

    Hi Kyhi, thanks for trying to help me, unfortunately I entered: // was unsuccessful! I applied new folders and loaded the programs and tried again to see if these folders would disappear, it didn't work either! Below are the images of the result. Is there a bug in the "Win10xPE" program?

    Win10XPE - Build Your Own Rescue Media [2]-screenshot_1.pngWin10XPE - Build Your Own Rescue Media [2]-screenshot_2.png
      My Computer


  6. Posts : 190
    windows 7 /10
       #1976

    vigipirate said:
    hello mr. kyhi
    need your help please i have win10Xpe win10.2004 in the office he puts me my resolution at 800* 600 i can't go higher i installed my graphics card from my pc but I have an error I don't want to install it it's a dell optiplex 3070 set max resolution doesn't do anything either have a script that can modify the resolution to see all my icons inside
    i had similar problems with some app, they keep resetting resolution and i can catch the border of prog ...
    i added this to the build , tested ok , even dip work without problem
    this is only with explorer as shell with recent build ...
    Code:
    ;22631.3371 +++
    ;25300 26085.1 ;26100.1needed
    \Windows\System32\DispBroker.dll
    ;
    ;26085.1 ;26100.1large desktop
    \Windows\System32\DispBroker.Desktop.dll
    ;\Windows\System32\fr-fr\DispBroker.Desktop.dll.mui
    ;
    ;mouse cursor
    ;25900;26063.1;26085.1;26100.1
    \Windows\System32\Microsoft.Internal.WarpPal.dll
    ;
    ;26085.1 ;26100.1desktops  dpi +
    \Windows\System32\msclmd.dll
    \Windows\System32\mscms.dll
    ;\Windows\System32\fr-fr\mscms.dll.mui
    \Windows\System32\Windows.Graphics.dll
    ;
    ;25900;26085.1;26100.1
    \windows\SYSTEM32\Windows.UI.FileExplorer.WASDK.dll
    ;\Windows\System32\fr-FR\Windows.UI.FileExplorer.WASDK.dll.mui
    ;26063.1;26085.1 ;26100.1 ;admin
    \Windows\System32\windows.immersiveshell.serviceprovider.dll
    \Windows\System32\fr-fr\windows.immersiveshell.serviceprovider.dll.mui
    ;
      My Computer


  7. Posts : 5
    win 10
       #1977

    merci doudii mais ou je met ces ligne dans le script je suis perdu
      My Computer


  8. Posts : 4,595
    several
       #1978

    adritec said:
    Hi Kyhi, thanks for trying to help me, unfortunately I entered: // was unsuccessful! I applied new folders and loaded the programs and tried again to see if these folders would disappear, it didn't work either! Below are the images of the result. Is there a bug in the "Win10xPE" program?

    Win10XPE - Build Your Own Rescue Media [2]-screenshot_1.pngWin10XPE - Build Your Own Rescue Media [2]-screenshot_2.png
    It is not something I have had the inclination to do, just off the top of my head, boot into winpe then try in the run box
    pecmd.exe FILE path-to-whatever-you-want-to-delete

    when you have figured out what you want to delete you could add the commands to pecmd.ini
      My Computer


  9. Posts : 190
    windows 7 /10
       #1979

    @adritec
    you need to Mark Out the "LINK" command > //LINK as Kyhi said ( all LINK %Programs%\Accessibility to //LINK %Programs%\Accessibility)
    the only too that you cant is this too ( enen if you if it market out in precmd.ini)
    Code:
    LINK %Programs%\Accessibility\narrator,%WinDir%\System32\narrator.exe
    LINK %Programs%\System Tools\Command Prompt,%WinDir%\System32\cmd.exe
    because it come from "winre.wim"
    you need to add to this to any script to delete it
    Code:
    [Variables]
    %TargetAppDataRoaming%=%GTarget%\Users\Default\AppData\Roaming
    
    [Process]
    If,ExistFile,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk",FileDeleteQ,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk"
    If,ExistFile,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk",FileDeleteQ,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk"
    or add it to core script to be delete from the from the beginning ...
      My Computer


  10. Posts : 4,595
    several
       #1980

    pecmd.ini
    Code:
    file "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup"
    file "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Accessories"
    file "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools"
    file "%AppData%\Microsoft\Windows\Start Menu\Programs\Startup"
    file "%AppData%\Microsoft\Windows\Start Menu\Programs\Accessories"
    file "%AppData%\Microsoft\Windows\Start Menu\Programs\System Tools"
    file "%AppData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools"
    from this

    Win10XPE - Build Your Own Rescue Media [2]-b4-pedel2.jpg

    to this

    Win10XPE - Build Your Own Rescue Media [2]-after-pedel.jpg
      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 12:05.
Find Us




Windows 10 Forums