MSFN Forum: win6x_registry_tweak - MSFN Forum

Jump to content


vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

win6x_registry_tweak Remove Components Rate Topic: -----

#1 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 28 July 2011 - 12:31 PM

EXE
Attached File  install_wim_tweak.exe (45K)
Number of downloads: 1089

SOURCE

Attached File  win6x_registry_tweak_src_v1.4.6.7z (39.38K)
Number of downloads: 451

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

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
Attached File  New.png (217.37K)
Number of downloads: 665
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...

This post has been edited by Legolash2o: 15 August 2011 - 02:52 AM



#2 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 01:02 PM

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?


This post has been edited by TheWalrus: 28 July 2011 - 01:42 PM


#3 User is online   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,229
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 01:40 PM

Unhiding single packages is what I always wanted, thanks for this update

#4 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 02:15 PM

View PostTheWalrus, on 28 July 2011 - 01:02 PM, said:

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 :)

#5 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 02:40 PM

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

This post has been edited by Legolash2o: 28 July 2011 - 02:42 PM


#6 User is online   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,229
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 02:42 PM

Thanks again!!!

This post has been edited by ricktendo64: 28 July 2011 - 02:42 PM


#7 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 02:51 PM

1.3.7, fixed a bug with the package removal, well... i just forgot to add a line of code :P

#8 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 02:54 PM

View PostLegolash2o, on 28 July 2011 - 02:15 PM, said:

View PostTheWalrus, on 28 July 2011 - 01:02 PM, said:

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?

This post has been edited by TheWalrus: 28 July 2011 - 02:56 PM


#9 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 02:59 PM

View PostTheWalrus, on 28 July 2011 - 02:54 PM, said:

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.

This post has been edited by Legolash2o: 28 July 2011 - 03:02 PM


#10 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 03:01 PM

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



#11 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 03:04 PM

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

#12 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 03:26 PM

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

This post has been edited by Legolash2o: 28 July 2011 - 03:30 PM


#13 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 03:38 PM

Great. Do you have any idea why are the other versions listed though?

#14 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 03:40 PM

Don't have a clue, ask Microsoft. :P

This post has been edited by Legolash2o: 28 July 2011 - 03:40 PM


#15 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2011 - 05:12 PM

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


This post has been edited by TheWalrus: 28 July 2011 - 05:18 PM


#16 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 29 July 2011 - 04:13 AM

hey Legolash2o i have idea to delete files from winsxs safely

do u want to make it ?

#17 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 July 2011 - 04:16 AM

Sure, i'll give it a go...

#18 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 29 July 2011 - 04:39 AM

cool! i added ur msn waiting it to come online

#19 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 August 2011 - 01:21 PM

Lego, could you make a small change to the /l parameter please? Currently there is no option where the list of packages will be saved to. Unless I missed something, it always gets saved in c:\Program Files\Windows AIK\Tools\PETools\, which is not even "the same directory" as the programs says :D (I understand it the way it should be saved in the mounted image's directory instead)



#20 User is offline   Hybrid Keyrayder 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 27-September 07

Posted 10 August 2011 - 09:50 AM

Hi legolash,

The old tweak.exe used the exit code -532459699 to define the error "registry file not found" when the path was inexistent or incorrect. Could make something similar on your version? For instance if the program finished successfully return errorlevel 0 if registry file not found then return errorlevel 1 etc.
I use it in my batch and it would really be useful for me.

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

4 User(s) are reading this topic
0 members, 4 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy