Legolash2o

win6x_registry_tweak

132 posts in this topic

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

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

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.