August 15, 201115 yr @ricktendo64I tried it Online inside a VMinstall_wim_tweak.exe /o /c Microsoft-Hyper-V /rthe package was removed, but the VM addition drivers are still in the WinSxS folder. I also tried it with the message queuing client and the files are also in the WinSxs folder.@myselfidemit is the same with 1.4.6
August 15, 201115 yr I tried OffLine with an mounted image with install_wim_tweak.exe 1.4.6 and even if the Packages are removed OK there is always the cat and mum files inside: Mounted_Folder\Windows\servicing\But I must use with quotes like this:Microsoft Windows [version 6.1.7601]Copyright © 2009 Microsoft Corporation. Tous droits réservés.C:\Users\Antoine>C:\7elite32\wtools\install_wim_tweak.exe /p C:\7elite32\mount /c "Microsoft-Hyper-V-Common-Drivers-Package" /r---------------------------------------------------Registry Tweak Tool v1.4.6.0----------------------for Windows 6.x----------------------Created by Michal Wnuowski-------------------Modified by Legolash2o-----------------------------------------------------MountPath : "C:\7elite32\mount"Component : "Microsoft-Hyper-V-Common-Drivers-Package"------------------Starting-----------------Creating BKP of registry file... OKMounting registry file... OKTaking Ownership... OKEditing 'Packages' subkeys 2/2OKEditing 'PackagesPending' subkeys 2/2OKModifying registry completed sucessfully.Unmounting key... OKRemoving 'Packages'... 2/2OKRemoved packages successfully.Removing 'PackagesPending'... 2/2OKRemoved packages successfully.-------------------Ending------------------etc...MountPath : "C:\7elite32\mount"Component : "Microsoft-Hyper-V-Guest-Integration-Drivers-Package"------------------Starting-----------------Creating BKP of registry file... OKMounting registry file... OKTaking Ownership... OKEditing 'Packages' subkeys 2/2OKEditing 'PackagesPending' subkeys 2/2OKModifying registry completed sucessfully.Unmounting key... OKRemoving 'Packages'... 2/2OKRemoved packages successfully.Removing 'PackagesPending'... 2/2OKRemoved packages successfully.-------------------Ending------------------C:\Program Files\Windows AIK\Tools\PETools>
August 15, 201115 yr @LegolashIf I use install_wim_tweak.exe /o to takewoner ship on my computer... How I can restore the default permissions?Now I can't remove WAIK 3.0 for windows 7!!! I must retore manually the permissions for system Edited August 15, 201115 yr by myselfidem
August 16, 201115 yr Author It used pkgmgr to remove the packages, it's that program that decides to leave the .mum/.cat files in there.@LegolashIf I use install_wim_tweak.exe /o to takewoner ship on my computer... How I can restore the default permissions?Now I can't remove WAIK 3.0 for windows 7!!! I must retore manually the permissions for system It automatically restores default permissions after its made the packages visible. Your problem may be because the 'Owners' key might have been deleted, there is a switch that prevents that but i cant remember what it is.
August 16, 201115 yr I haven't remove users (TrustedInstaller or System)! Weird But I found an issue to restore the owners:http://technet.micro...e/ff404240.aspxhttp://www.vistax64....tore-owner.htmlThanks Kels...Next time I will try with */d Edited August 16, 201115 yr by myselfidem
August 16, 201115 yr ok, the files are now gone from the WinSxS folder. It took over 1 day I'll test it with a new VM again.
August 18, 201115 yr so if I use this to remove a package on an image, will it remove the corresponding files from the WinSxS folder?
August 18, 201115 yr the files are not removed from the image. This is done after the installationSo if I do it with the /o command, it will remove them? Edited August 18, 201115 yr by rorygilmore
August 19, 201115 yr OK, a stupid newbie here. Removed too many of things on 7 SP1 online with install_wim_tweak.exe /o /c "packagename" /rNow there is BSOD on boot 0x12a - it cannot find licensed language packs.Of course, I suspect the following packages:Microsoft-Windows-Client-LanguagePack-Package-wrapper~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514I don't know if I removed all of them. I was so frustrated it didn't work (see observation below) that I tried multiple times with multiple things.What can I do to arrive to a desktop? System Restore is and was turned off.And an observation: This program didn't work until the services Volume Shadow Copy and MS Shadow Copy provider were started. For some reason, they couldn't start themselves. I waited for 16 hours. GL
August 23, 201115 yr I tried it Online inside a VMinstall_wim_tweak.exe /o /c Microsoft-Hyper-V /rthe package was removed, but the VM addition drivers are still in the WinSxS folder. I also tried it with the message queuing client and the files are also in the WinSxs folder.Interesting post about Winsxs folders:Should you delete files in the \WinSXS directory? And what’s the deal with VSS?http://blogs.technet.com/b/joscon/archive/2010/08/06/should-you-delete-files-in-the-winsxs-directory-and-what-s-the-deal-with-vss.aspx
August 23, 201115 yr I know it the blog. I wrote their comments too. I was confused that it took 1 day to delete the files.
August 25, 201115 yr Second try. Win7 Home Premium x86 SP1.I came down to this...Microsoft-Media-Foundation-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Media-Foundation-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Client-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Client-LanguagePack-Package-wrapper~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-Wired-Network-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Client-Wired-Network-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-CodecPack-Basic-Encoder-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-CodecPack-Basic-Package-wrapper~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-DesktopWindowManager-uDWM-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Foundation-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Gadget-Platform-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Gadget-Platform-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-GPUPipeline-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-GPUPipeline-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Help-CoreClientUAHP-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Help-CoreClientUAHP-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Help-Customization-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Help-Customization-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-HomePremiumEdition-wrapper~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-HomePremiumEdition~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-ICM-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-ICM-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-InternetExplorer-Optional-Package-wrapper~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-InternetExplorer-Optional-Package-wrapper~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~en-US~8.0.7601.17514Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~en-US~9.4.8112.16421Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~8.0.7601.17514Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~9.4.8112.16421Microsoft-Windows-InternetExplorer-Package-MiniLP~31bf3856ad364e35~x86~en-US~9.4.8112.16421Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~x86~~9.4.8112.16421Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~en-US~8.0.7601.17514Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~en-US~9.4.8112.16421Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~~8.0.7601.17514Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~~9.4.8112.16421Microsoft-Windows-InternetExplorer-VistaPlus-Update~31bf3856ad364e35~x86~~9.4.8112.16421Microsoft-Windows-LocalPack-US-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-MediaPlayer-DVDRegistration-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-OpticalMediaDisc-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-OpticalMediaDisc-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Personalization-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-PhotoPremiumPackage~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-PhotoPremiumPackage~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Printing-LocalPrinting-Home-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-RecDisc-SDP-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-RecDisc-SDP-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-SecureStartup-Basic-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-SecureStartup-Basic-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Security-SPP-Component-SKU-HomePremium-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-ServicingBaseline-Ultimate-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-ShareMedia-ControlPanel-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-ShareMedia-ControlPanel-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Shell-HomeGroup-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Shell-HomeGroup-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Shell-MultiplayerInboxGames-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Shell-MultiplayerInboxGames-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Shell-PremiumInboxGames-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Shell-PremiumInboxGames-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-SnippingTool-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-SnippingTool-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-SystemRestore-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-SystemRestore-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Tuner-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-WindowsFoundation-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-WMPNetworkSharingService-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-WMPNetworkSharingService-Package~31bf3856ad364e35~x86~~6.1.7601.17514Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~x86~~6.1.7601.17514Server-Help-Package.ClientHomePremium~31bf3856ad364e35~x86~en-US~6.1.7601.17514Server-Help-Package.ClientHomePremium~31bf3856ad364e35~x86~~6.1.7601.17514Windows7SP1-KB976933~31bf3856ad364e35~x86~~6.1.0.17514It probably can be better, but for now it's pretty good for my needs. Haven't tested it much, this install also goes to scrap because of unrelated issue.Multiple runs were needed, often with different chronological order of retries. And some restaring of VSS service and the computer.IE9 added some packages. Didn't touch them.Initial pre-install slimming was done with Windows 7 Toolkit 130-19A, but it also failed to remove some (many?) packages. I didn't count how many.GL
Create an account or sign in to comment