MSFN Forum: win6x_registry_tweak - MSFN Forum

Jump to content


vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

win6x_registry_tweak Remove Components Rate Topic: -----

#21 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 August 2011 - 03:57 PM

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





#22 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 August 2011 - 04:28 PM

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

View PostHybrid Keyrayder, on 10 August 2011 - 09:50 AM, said:

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

View PostTheWalrus, on 11 August 2011 - 03:57 PM, said:

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.

This post has been edited by Legolash2o: 12 August 2011 - 04:29 PM


#23 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,229
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 August 2011 - 04:32 PM

THX Li

#24 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 12 August 2011 - 04:43 PM

ok, I give it a try

#25 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 August 2011 - 06:20 AM

View PostLegolash2o, on 12 August 2011 - 04:28 PM, said:

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

View PostTheWalrus, on 11 August 2011 - 03:57 PM, said:



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.

#26 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,229
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 August 2011 - 04:34 PM

View PostTheWalrus, on 14 August 2011 - 06:20 AM, said:

View PostLegolash2o, on 12 August 2011 - 04:28 PM, said:

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

View PostTheWalrus, on 11 August 2011 - 03:57 PM, said:



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

#27 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 August 2011 - 02:47 AM

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

#28 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 15 August 2011 - 05:05 AM

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:

#29 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,394
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 August 2011 - 05:39 AM

View PostMagicAndre1981, on 15 August 2011 - 05:05 AM, said:

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.

#30 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,229
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 August 2011 - 08:56 AM

View PostMagicAndre1981, on 15 August 2011 - 05:05 AM, said:

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

This post has been edited by ricktendo64: 15 August 2011 - 08:58 AM


#31 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 15 August 2011 - 09:25 AM

@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

#32 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,394
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 August 2011 - 09:55 AM

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>




#33 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,394
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 August 2011 - 11:23 AM

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

This post has been edited by myselfidem: 15 August 2011 - 11:25 AM


#34 User is offline   Legolash2o 

  • Windows 7 Toolkit Programmer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,129
  • Joined: 09-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 August 2011 - 01:38 AM

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

View Postmyselfidem, on 15 August 2011 - 11:23 AM, said:

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

#35 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,326
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 August 2011 - 01:54 AM

*/d will not delete owners keys.

#36 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,394
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 August 2011 - 01:57 AM

I haven't remove users (TrustedInstaller or System)! Weird :blink:

But I found an issue to restore the owners:

http://technet.micro...e/ff404240.aspx

http://www.vistax64....tore-owner.html

Thanks Kels...Next time I will try with */d

This post has been edited by myselfidem: 16 August 2011 - 02:00 AM


#37 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 16 August 2011 - 10:33 AM

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.

#38 User is offline   rorygilmore 

  • Group: Members
  • Posts: 4
  • Joined: 13-January 11
  • OS:none specified
  • Country: Country Flag

Posted 18 August 2011 - 12:42 PM

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

#39 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 18 August 2011 - 02:25 PM

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

#40 User is offline   rorygilmore 

  • Group: Members
  • Posts: 4
  • Joined: 13-January 11
  • OS:none specified
  • Country: Country Flag

Posted 18 August 2011 - 02:48 PM

View PostMagicAndre1981, on 18 August 2011 - 02:25 PM, said:

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?

This post has been edited by rorygilmore: 18 August 2011 - 02:48 PM


Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy