Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

win6x_registry_tweak


Legolash2o
 Share

Recommended Posts


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)

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

Link to comment
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

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

Link to comment
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

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...