• 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

131 posts in this topic

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
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

Thanks again!!!

Edited by ricktendo64
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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

Edited by Legolash2o
0

Share this post


Link to post
Share on other sites

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
1

Share this post


Link to post
Share on other sites

hey Legolash2o i have idea to delete files from winsxs safely

do u want to make it ?

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

cool! i added ur msn waiting it to come online

0

Share this post


Link to post
Share on other sites

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)

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

What's wrong? :-O

C:\Program Files\Windows AIK\Tools\PETools>d:\programy\install_wim_tweak.exe /p

"e:\mount"

-------------------------------------------

---------Registry Tweak Tool v1.3.8--------

---------------for Windows 6.x-------------

---------Created by Michał Wnuowski--------

-----------Modified by Legolash2o----------

-------------------------------------------

MountPath : "e:\mount"

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

Creating BKP of registry file... OK

Mounting registry file... OK

Taking Ownership... OK

Editing 'Packages' subkeys 243/243OK

Editing 'PackagesPending' subkeys FAIL

Unhandled error occured.

Object reference not set to an instance of an object.

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

Unmounting key... OK

Restoring Backup... OK

Removing Backup file... OK

0

Share this post


Link to post
Share on other sites

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

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.

Done, it will return error code -532459699

What's wrong? :-O

C:\Program Files\Windows AIK\Tools\PETools>d:\programy\install_wim_tweak.exe /p

"e:\mount"

-------------------------------------------

---------Registry Tweak Tool v1.3.8--------

---------------for Windows 6.x-------------

---------Created by Michał Wnuowski--------

-----------Modified by Legolash2o----------

-------------------------------------------

MountPath : "e:\mount"

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

Creating BKP of registry file... OK

Mounting registry file... OK

Taking Ownership... OK

Editing 'Packages' subkeys 243/243OK

Editing 'PackagesPending' subkeys FAIL

Unhandled error occured.

Object reference not set to an instance of an object.

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

Unmounting key... OK

Restoring Backup... OK

Removing Backup file... OK

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.

Edited by Legolash2o
0

Share this post


Link to post
Share on other sites

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.

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.