Jump to content

How to remove drivers from mounted PE image?


Rakesh Baldha

Recommended Posts

I did following steps

>copype.cmd x86 %PEDIR%

>imagex /mountrw %PEDIR%\ISO\sources\boot.wim 1 %PEDIR%\mount

// removed font foleder from /windows/font

// removed unused exe,dll from /windows/system32/

// added some drivers, by peimg /inf---how can i remove drivers from mounted image here itself so that it can boot fast? :(

// added 50 mb of binaries for our customization

>peimg /prep %PEDIR%\WINDOWS

>imagex /unmount %MOUNTDIR% /commit

>imagex /export %PEDIR%\ISO\sources\boot.wim 1 %PEDIR%\ISO\sources\boot.wim %1 /compress max

>oscdimg.exe -b%PEDIR%\ISO\boot\etfsboot.com -lWINPE20 -n -o -m %PEDIR%\ISO %PEDIR%\DefWinPEISO.iso

Thanks

Link to comment
Share on other sites


hi,

I dont really see why u would want to remove existing drivers? Dont u just wanna add drivers? I understand the concept where a minimal set of drivers would require less time to boot, but we are talking seconds...

I guess you are asking for a world of pain, if u wanna go in and modify / remove drivers that windows believes are to be in place....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...