Jump to content

Recommended Posts

Posted (edited)

EXE
install_wim_tweak.exe

install_wim_tweak_NET4.6.exe

SOURCE
win6x_registry_tweak_src_v1.4.7.zip

-----------------------------------------------------------------------------------------------------
Before i start i have to say that this tool was originally released by wnuku and that i have just updated it with extra features, colours and bug fixes.

 

The original concept was by Aviv00.

This little tool un-hides "packages" like Windows Media Center/Player, IE, IIS, Games, etc... so you can lower the size of your install.wim
post-125866-0-02086700-1311877198_thumb.
Top left is un-hiding a specific package, top right is writing the log of available files to a txt file, bottom left is un-hiding all components of an image and finally the bottom right is un-hiding all the packages from current installed OS.

install_wim_tweak.exe /?
This will show all available options..

install_wim_tweak.exe /p <MountPath>
This will unhide all the packages in the selected image

install_wim_tweak.exe /o
This will unhide all the packages on the currently installed OS

install_wim_tweak.exe /p <MountPath> /l
This will list all the packages available in the selected image and write them to a text file in the same directory.

install_wim_tweak.exe /o /l
This will list all the packages available on the installed OS and write them to a text file in the same directory.

install_wim_tweaks.exe /p <MountPath> /c Microsoft-Windows-.........
This will just inhide the selected component from the selected image, can also be used with /o. If you add /r at the end it will remove the package.


Changes made from the original version by wnuku

*/h will restore them to default (must use without /h first)
*/n will not create backups (faster)
*/d will not delete owners keys.
*/m is no longer needed, will do the task by default
*/l will output a list of all packages to a text file.
*/o will use currently installed image.
*fixed a bug where it did not work if there was a space in the mountpath.
*/c <PackageName> will un-hide specific package
* using /r with /c will remove the package
*Win32Security.dll file is no longer needed
*Added new colours, errors are displayed in Red
*Fixed bug crashing at end of running
*Fixed bug where it cannot unmount registry if something fails
*Added specific component selection
*Fixed some other bugs
*Added an appropriate small icon for the app

Also normally you will have to put the specific component name i.e.
"/c Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514"
but if for example you put "/c Microsoft-Hyper-V-Common-Drivers-Package" it will show all packages starting with that.


F.A.Q
If you have any questions let me know...

Edited by Legolash2o

Posted (edited)

awesome! :)

edit:

Question! I previously exported only Professional version from my installation and put the image back. After that I ran this tweak and had packages listed. There's like 500 of them, most listed for each Windows edition. Does that work as intended?

Edited by TheWalrus
Posted

awesome! :)

edit:

Question! I previously exported only Professional version from my installation and put the image back. After that I ran this tweak and had packages listed. There's like 500 of them, most listed for each Windows edition. Does that work as intended?

What command did you exactly run? there may be abit more if there are updates installed/integrated :)

Posted (edited)

v1.3.6 has been released, if you add /r when using the /c command it will remove the package :D

install_wim_tweak.exe /p "C:\Mount" /c Microsoft-Hyper-V-Guest-Integration-Drivers-Package~31bf3856ad364e35~amd64~~6.1.7601.17514 /r

install_wim_tweak.exe /p "C:\Mount" /c Microsoft-Hyper-V /r

install_wim_tweak.exe /p "C:\Mount" /c Microsoft-Windows-LocalPack /r

Edited by Legolash2o
Posted (edited)

awesome! :)

edit:

Question! I previously exported only Professional version from my installation and put the image back. After that I ran this tweak and had packages listed. There's like 500 of them, most listed for each Windows edition. Does that work as intended?

What command did you exactly run? there may be abit more if there are updates installed/integrated :)

Nothing too exotic.

magex /export e:\Win7\sources\install.wim 4 e:\install.wim

cut, replace the original

install_wim_tweak.exe /p e:\mount /l

The report lists it like so:

Microsoft-Windows-Security-SPP-Component-SKU-Enterprise-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Enterprise-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-HomeBasic-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-HomeBasic-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-HomePremium-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-HomePremium-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-Professional-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Professional-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-Starter-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Starter-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7601.

Ok I take it partially back, because the editions are not listed for all the packages. It's the weird version numbers. Why is it so? I thought this would be what'd it look like after SP installation, but this is a disk with SP already included straight from MSDN...

Do I need to remove each package for every component to get rid of it completely?

Edited by TheWalrus
Posted (edited)

Nothing too exotic.

magex /export e:\Win7\sources\install.wim 4 e:\install.wim

cut, replace the original

install_wim_tweak.exe /p e:\mount /l

The report lists it like so:

Microsoft-Windows-Security-SPP-Component-SKU-Enterprise-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Enterprise-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-HomeBasic-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-HomeBasic-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-HomePremium-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-HomePremium-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-Professional-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Professional-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-Starter-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Starter-Package~31bf3856ad364e35~amd64~~6.1.7601.17514

Microsoft-Windows-Security-SPP-Component-SKU-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

Microsoft-Windows-Security-SPP-Component-SKU-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7601.

Ok I take it partially back, because the editions are not listed for all the packages. It's the weird version numbers. Why is it so? I thought this would be what'd it look like after SP installation, but this is a disk with SP already included straight from MSDN...

Do I need to remove each package for every component to get rid of it completely?

It's working exactly how it should. If you want you can just run...


install_wim_tweak.exe /p "e:\mount" /c Microsoft-Windows-Security-SPP-Component-SKU /r

That should remove them all :)

if you type in

Dism.exe /image:E:\mount /get-packages /format:table

they should be removed. install_wim_tweak will still list them even if they are removed, as the key still remains in the registry.

Edited by Legolash2o
Posted

Ah, so if I don't specify the full name, it will automatically assume a kind of wildcard? a-we-so-me!

This will make the hell of 50-pages long batch file for removing stuff much more bearable :P

Posted

yeah if you type install_wim_tweak.exe /p "e:\Mount" /c Microsoft-Windows /r, it will remove every package containing Microsoft-Windows.

Posted (edited)

v1.3.8, last build of the night released, fixed an issue where it could not remove a package from current windows :)

Edited by Legolash2o
Posted (edited)

Is it possible to log what was actually physically deleted? Or is the program actually using DISM?

I just tried to remove several whole packages one after another and at some point file count stopped decreasing no matter what I try to remove.

edit: of course it uses DISM. Now if only the log was slightly less "talkative"...

Edited by TheWalrus

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