Jump to content

Deleting entries in Peimg /list


Recommended Posts

Posted (edited)

Hollo everyone,

I decided to unsintall (using Waik) some Packages which i previously integrated in Install.wim in my Vista .Iso image. Now when I type: peimg /list c:\winpe_x86\mount\windows, the packages are still in the list (with a (-) sign of course). Can anyone PLEASE explain how to make the references of these Packages disappear from the LIST forever?

After mounting the Image, I deleted manually the Packages entries from: Mount\windows\servicing\packages - but then, when I do: peimg /list c:\winpe_x86\mount\windows, it makes an error. The list won't show the other packages I never uninstalled.

Please Help

Thank you in advance

Edited by bertikul

Posted

Make the PE image smaller:

After installing packages and drivers the Windows PE image is likely bloated with unused items. To

remove the unused items run the following where <source wim> is the bloated image and <dest wim>

will be the cleaned up image. <dest wim> must not already exist.

Imagex /boot /export <source wim> 1 <dest wim>

From Imagex Help:

IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_name

Exports a copy of the specified image to another WIM file.

src_file - The path of the WIM file that contains the image to be copied.
src_number - The number that identifies the image within the source WIM.
src_name - The name that identifies the image within the source WIM.
dest_file - The path of the WIM file that will receive the image copy.
dest_name - The unique name for the image in the destination WIM.

Accepted FLAGS:

/BOOT
Marks a volume image as bootable. Available for Windows PE images only.

/CHECK
Enables WIM integrity checking. If not provided, existing checks are removed.

/COMPRESS [maximum | fast | none]
Specifies the type of compression used when exporting to a new WIM file.

/REF splitwim2.swm
Enables the reference of split WIM (SWM) files.

splitwim2.swm - Path to additional split file(s). Wild cards are accepted.

Comments:
If src_name is "*" then all images are exported to dest_file.

Example:
imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"

Posted
Make the PE image smaller:

After installing packages and drivers the Windows PE image is likely bloated with unused items. To

remove the unused items run the following where <source wim> is the bloated image and <dest wim>

will be the cleaned up image. <dest wim> must not already exist.

Imagex /boot /export <source wim> 1 <dest wim>

From Imagex Help:

IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_name

Exports a copy of the specified image to another WIM file.

src_file - The path of the WIM file that contains the image to be copied.
src_number - The number that identifies the image within the source WIM.
src_name - The name that identifies the image within the source WIM.
dest_file - The path of the WIM file that will receive the image copy.
dest_name - The unique name for the image in the destination WIM.

Accepted FLAGS:

/BOOT
Marks a volume image as bootable. Available for Windows PE images only.

/CHECK
Enables WIM integrity checking. If not provided, existing checks are removed.

/COMPRESS [maximum | fast | none]
Specifies the type of compression used when exporting to a new WIM file.

/REF splitwim2.swm
Enables the reference of split WIM (SWM) files.

splitwim2.swm - Path to additional split file(s). Wild cards are accepted.

Comments:
If src_name is "*" then all images are exported to dest_file.

Example:
imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"

Posted
Hollo everyone,

I decided to unsintall (using Waik) some Packages which i previously integrated in Install.wim in my Vista .Iso image. Now when I type: peimg /list c:\winpe_x86\mount\windows, the packages are still in the list (with a (-) sign of course). Can anyone PLEASE explain how to make the references of these Packages disappear from the LIST forever?

After mounting the Image, I deleted manually the Packages entries from: Mount\windows\servicing\packages - but then, when I do: peimg /list c:\winpe_x86\mount\windows, it makes an error. The list won't show the other packages I never uninstalled.

Please Help

Thank you in advance

Thank you very much IcemanND for your reply. I'll try your sugestions and I'll let you know

Posted

I'am just trying to THANK you for your reply (I didn't mean to double the post). I found it difficult to find how to reply to you. Thanks again

Posted

I tryed to apply the command lines you sugested , but I have the same problem. Peimg /list shows the same error. It won't show the intire list if I delete manually the entries in \windows\servicing\packages (entries of packages I uninstalled). If I leave this file untouched, it works perfectly, but I don't want them to be in peimg /list since the packages are uninstalled.

Any other sugestion? Thanks

Posted

If I try imagex /prep command, the /install, /uninstall, /import, and /list options will not function. I don't want that to hapen. Just delete uninstalled packages entries in windows\servicing\packages and that peimg /list works as it should.

THANKS

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...