• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Legolash2o

win6x_registry_tweak

130 posts in this topic

If you use v1.4.4, and then after run it again with /h command it will restore all values (Visibility) to default.

This issue was caused because PackagePending subkey could not be found, in v1.4.4 it will just skip this and continue if not found.

I tried to remove packages from my syspreped image, so it must have something to do with that. But I didn't remove anything there so I see no reason why should it not work.

Yer, they are no longer pending they installed already

0

Share this post


Link to post
Share on other sites

Yeah there's a bug in v1.4.4, i'll upload the latest version.

0

Share this post


Link to post
Share on other sites

version 1.4.4 doesn't work. I removed the hyper-v drivers and integration service packages but the files are still in the WinSxS folder :blink:

0

Share this post


Link to post
Share on other sites

version 1.4.4 doesn't work. I removed the hyper-v drivers and integration service packages but the files are still in the WinSxS folder :blink:

You can try the new version 1.4.6 available and bug solved.

0

Share this post


Link to post
Share on other sites

version 1.4.4 doesn't work. I removed the hyper-v drivers and integration service packages but the files are still in the WinSxS folder :blink:

I think files are left behind until you rebuild the wim

imagex /compress maximum /export <path_to_folder>\install.wim * <new_existing_path>\install.wim /check

Edited by ricktendo64
0

Share this post


Link to post
Share on other sites

@ricktendo64

I tried it Online inside a VM

install_wim_tweak.exe /o /c Microsoft-Hyper-V  /r

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

@myselfidem

it is the same with 1.4.6

0

Share this post


Link to post
Share on other sites

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

Mounting registry file... OK

Taking Ownership... OK

Editing 'Packages' subkeys 2/2OK

Editing 'PackagesPending' subkeys 2/2OK

Modifying registry completed sucessfully.

Unmounting key... OK

Removing 'Packages'... 2/2OK

Removed packages successfully.

Removing 'PackagesPending'... 2/2OK

Removed packages successfully.

-------------------Ending------------------

etc...

MountPath : "C:\7elite32\mount"

Component : "Microsoft-Hyper-V-Guest-Integration-Drivers-Package"

------------------Starting-----------------

Creating BKP of registry file... OK

Mounting registry file... OK

Taking Ownership... OK

Editing 'Packages' subkeys 2/2OK

Editing 'PackagesPending' subkeys 2/2OK

Modifying registry completed sucessfully.

Unmounting key... OK

Removing 'Packages'... 2/2OK

Removed packages successfully.

Removing 'PackagesPending'... 2/2OK

Removed packages successfully.

-------------------Ending------------------

C:\Program Files\Windows AIK\Tools\PETools>

0

Share this post


Link to post
Share on other sites

@Legolash

If 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!!! :wacko:

I must retore manually the permissions for system :blink:

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

It used pkgmgr to remove the packages, it's that program that decides to leave the .mum/.cat files in there.

@Legolash

If 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!!! :wacko:

I must retore manually the permissions for system :blink:

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.

0

Share this post


Link to post
Share on other sites

ok, the files are now gone from the WinSxS folder. It took over 1 day :blink:

I'll test it with a new VM again.

0

Share this post


Link to post
Share on other sites

so if I use this to remove a package on an image, will it remove the corresponding files from the WinSxS folder?

0

Share this post


Link to post
Share on other sites

the files are not removed from the image. This is done after the installation

0

Share this post


Link to post
Share on other sites

the files are not removed from the image. This is done after the installation

So if I do it with the /o command, it will remove them?

Edited by rorygilmore
0

Share this post


Link to post
Share on other sites

/o means online. The files are deleted if the PC is idle.

0

Share this post


Link to post
Share on other sites

OK, a stupid newbie here. :blushing:

Removed too many of things on 7 SP1 online with install_wim_tweak.exe /o /c "packagename" /r

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

Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

I 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. :whistle::angel

GL

0

Share this post


Link to post
Share on other sites

I tried it Online inside a VM

install_wim_tweak.exe /o /c Microsoft-Hyper-V  /r

the 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

0

Share this post


Link to post
Share on other sites

I know it the blog. I wrote their comments too. I was confused that it took 1 day to delete the files.

0

Share this post


Link to post
Share on other sites

Second try. :whistle:

Win7 Home Premium x86 SP1.

I came down to this...

Microsoft-Media-Foundation-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Media-Foundation-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Client-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Client-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Client-LanguagePack-Package-wrapper~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Client-Wired-Network-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Client-Wired-Network-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-CodecPack-Basic-Encoder-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-CodecPack-Basic-Package-wrapper~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-DesktopWindowManager-uDWM-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Foundation-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Gadget-Platform-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Gadget-Platform-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-GPUPipeline-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-GPUPipeline-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Help-CoreClientUAHP-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Help-CoreClientUAHP-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Help-Customization-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Help-Customization-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-HomePremiumEdition-wrapper~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-HomePremiumEdition~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-ICM-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-ICM-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-InternetExplorer-Optional-Package-wrapper~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-InternetExplorer-Optional-Package-wrapper~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~en-US~8.0.7601.17514

Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~en-US~9.4.8112.16421

Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~8.0.7601.17514

Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~9.4.8112.16421

Microsoft-Windows-InternetExplorer-Package-MiniLP~31bf3856ad364e35~x86~en-US~9.4.8112.16421

Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~x86~~9.4.8112.16421

Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~en-US~8.0.7601.17514

Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~en-US~9.4.8112.16421

Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~~8.0.7601.17514

Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~x86~~9.4.8112.16421

Microsoft-Windows-InternetExplorer-VistaPlus-Update~31bf3856ad364e35~x86~~9.4.8112.16421

Microsoft-Windows-LocalPack-US-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-MediaPlayer-DVDRegistration-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-OpticalMediaDisc-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-OpticalMediaDisc-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Personalization-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-PhotoPremiumPackage~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-PhotoPremiumPackage~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Printing-LocalPrinting-Home-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-RecDisc-SDP-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-RecDisc-SDP-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-SecureStartup-Basic-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-SecureStartup-Basic-Package~31bf3856ad364e35~x86~~6.1.7601.17514

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

Microsoft-Windows-ServicingBaseline-Ultimate-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-ShareMedia-ControlPanel-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-ShareMedia-ControlPanel-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Shell-HomeGroup-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Shell-HomeGroup-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Shell-MultiplayerInboxGames-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Shell-MultiplayerInboxGames-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Shell-PremiumInboxGames-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Shell-PremiumInboxGames-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-SnippingTool-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-SnippingTool-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-SystemRestore-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-SystemRestore-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Tuner-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-WindowsFoundation-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-WMPNetworkSharingService-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-WMPNetworkSharingService-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~x86~~6.1.7601.17514

Server-Help-Package.ClientHomePremium~31bf3856ad364e35~x86~en-US~6.1.7601.17514

Server-Help-Package.ClientHomePremium~31bf3856ad364e35~x86~~6.1.7601.17514

Windows7SP1-KB976933~31bf3856ad364e35~x86~~6.1.0.17514

It probably can be better, but for now it's pretty good for my needs. :angel

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

0

Share this post


Link to post
Share on other sites

Just want to point out you should only unhide components you want to remove, unhiding ALL might break add/remove windows features

0

Share this post


Link to post
Share on other sites

Just want to point out you should only unhide components you want to remove, unhiding ALL might break add/remove windows features

I did only this, Sir:

install_wim_tweak.exe /o /l

install_wim_tweak.exe /o /c PACKAGENAME /r

because I'm a stoopid noob when it comes to Win7 and I don't know anything more. :angel

But thank you, Sir. :hello:

GL

0

Share this post


Link to post
Share on other sites

have you tested it with Vista? For me it doesn't work.


Component : "Microsoft-Windows-DFSR-ClientEdition-Package"

------------------Starting-----------------
Creating BKP of registry file... OK
Mounting registry file... OK
Taking Ownership... OK
Editing 'Packages' subkeys 3/3OK
Editing 'PackagesPending' subkeys 2/2OK
Modifying registry completed sucessfully.
Unmounting key... OK
Removing 'Packages'... FAIL
Unhandled error occured.
Die Länge darf nicht kleiner als 0 (null) sein.
Parametername: length

0

Share this post


Link to post
Share on other sites

ok, it works with Vista, too. I don't know what went wrong yesterday :unsure:

Btw, I have an idea. It would be cool if we can have a text file with all package names which we want to remove. Now we should only specify a parameter and your tool reads the text file and removes all the listed packages.

0

Share this post


Link to post
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.