- Local time
- 4:20 PM
- Posts
- 3,070
- OS
- Win7,Win11
Otherwise it can be done with a script pointing at some folder
e.g. my simple pe builds ( the builds with a litle menu ) contain this line in pecmd.ini
IFEX %systemdrive%\pedrivers,
{
EXEC !PNPUTIL /add-driver %systemdrive%\pedrivers\*.inf /subdirs /install
)
that assumes a folder named pedrivers on the root of the wim %systemdrive% is x: in booted winpe
Another way could be to call a .cmd file from winpeshl.ini such as startnet.cmd .
e.g.
winpeshl.ini
Add a few lines to startnet.cmd to install drivers from whatever your folder is called. You will see cmd prompt briefly if you do that
e.g. my simple pe builds ( the builds with a litle menu ) contain this line in pecmd.ini
IFEX %systemdrive%\pedrivers,
{
EXEC !PNPUTIL /add-driver %systemdrive%\pedrivers\*.inf /subdirs /install
)
that assumes a folder named pedrivers on the root of the wim %systemdrive% is x: in booted winpe
Another way could be to call a .cmd file from winpeshl.ini such as startnet.cmd .
e.g.
winpeshl.ini
Code:
[LAUNCHAPPS]
STARTNET.CMD
WHATEVER YOUR SHELL IS
Add a few lines to startnet.cmd to install drivers from whatever your folder is called. You will see cmd prompt briefly if you do that
Last edited:
My Computers
-
At a glance
Win7,Win11i7-97002x16gb 3600mhz- OS
- Win7,Win11
- Computer type
- PC/Desktop
- CPU
- i7-9700
- Motherboard
- gigabyte b365m ds3h
- Memory
- 2x16gb 3600mhz
- Monitor(s) Displays
- benq gw2480
- PSU
- bequiet pure power 11 400CM
- Cooling
- cryorig m9i
-
At a glance
win7,win11i5-84002x8gb 3200- Operating System
- win7,win11
- Computer type
- PC/Desktop
- CPU
- i5-8400
- Motherboard
- gigabyte b365m ds3h
- Memory
- 2x8gb 3200
- PSU
- xfx pro 450






