Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

win6x_registry_tweak

- - - - -

  • Please log in to reply
68 replies to this topic

#51
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,128 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

look at the DISM and pkgmgr logs in C:\Windows\logs
Posted Image


How to remove advertisement from MSFN

#52
MrJinje

MrJinje

    Tool™ Developer

  • Developer
  • 1,067 posts
  • Joined 14-October 09
  • OS:Server 2012R2
  • Country: Country Flag
Thanks, Lego, hadn't seen this yet. Only found it on accident because someone posted a link over here.

http://mikecel79.wor...ts/#comment-204

Does running the DISM remove-feature with the online switch rip everything out of the SXS folder reducing your C: drive ? Or does it just remove the feature from the OS and we can run dism enable-feature without requiring the DVD (i.e. files are still in SXS)


install_wim_tweak.exe /o
This will unhide all the packages on the currently installed OS

Edited by MrJinje, 05 September 2012 - 01:15 AM.


#53
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,941 posts
  • Joined 19-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Found how to clean up WinSxs after removing components:

run "dism /Cleanup-Image /StartComponentCleanup"

don't forget /online or /image: keys :rolleyes:

#54
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,128 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

I've also found this last year when playing with the Remove flag. The command is now shown in the CBs.log. There is also an async version of it.
Posted Image

#55
petaka

petaka
  • Member
  • 1 posts
  • Joined 29-September 10
  • OS:XP Pro x64
  • Country: Country Flag
please, can someone post a common "hungry resources" w8 feature list to remove without system-break risk? thanks

#56
consultant1027

consultant1027
  • Member
  • 2 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag
Can I use this tool to uninstall and re-install Windows Defender?

Win8 64-bit Pro. Windows Defender Service is running but when I try to run Windows Defender app to bring up the control panel for it I get:

"An error ocurred in the program during initialization.....

error code 0x80073b01

I must have changed a registry setting or something to break it but in true MS fashion, the error message has no meaningful info aside from the error code which when Googled appears to be a rare error.

#57
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,780 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

please, can someone post a common "hungry resources" w8 feature list to remove without system-break risk? thanks

Know it's an old thread, but interested in this too. Have a fully up to date install.win @ a staggering 5gb.
Have done some tweaking & removal with dism though nothing considerable! Most 3rd party tools either refuse to work or totally break install!

#58
robertcollier4

robertcollier4

    Newbie

  • Member
  • 10 posts
  • Joined 16-November 12
  • OS:XP Pro x86
  • Country: Country Flag
I am getting the below "The system cannot find the file specified" error when trying to remove packages with install_wim_tweak. I am trying to remove packages using a WinXP SP3 x86 host system.

set MNT="E:\Mnt\Win7ProNSP1"
install_wim_tweak.exe /p %MNT% /r /c Microsoft-Windows-BLB-Client-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
-------------------------------------------
--------Registry Tweak Tool v1.4.6.0-------
---------------for Windows 6.x-------------
---------Created by Michal Wnuowski--------
-----------Modified by Legolash2o----------
-------------------------------------------

MountPath : "E:\Mnt\Win7ProNSP1"
Component : "Microsoft-Windows-BLB-Client-Package"

------------------Starting-----------------
Creating BKP of registry file...         OK
Mounting registry file...                OK
Taking Ownership...                      OK
Editing 'Packages' subkeys            1/1OK
Editing 'PackagesPending' subkeys     1/1OK
Modifying registry completed sucessfully.
Unmounting key...                        OK
Removing 'Packages'...                1/1The system cannot find the file specified
OK
Removed packages successfully.
Removing 'PackagesPending'...         1/1The system cannot find the file specified
OK
Removed packages successfully.

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

Update: Figured it out if I use dism.exe instead it works fine. I used install_wim_tweak to unhide all the packages.
install_wim_tweak /p %MNT%
dism /image:%MNT% /Remove-Package /PackageName:Microsoft-Windows-Backup-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514

The way I recommend is that to:
0. Set your vars
set MNT="E:\Mnt\Win7ProNSP1"

1. Use install_wim_tweak to unhide all the packages
install_wim_tweak /p %MNT%

2. Use DISM to get a list of all packages and export it to a text file:
dism /image:%MNT% /Get-Packages > Dism_Get_Packages_List.txt

3. Then use a text editor with good search/replace functionality and replace "Package Identity : " with "dism /image:%MNT% /Remove-Package /PackageName:" and remove all other metadata lines. Then go through that full package list and delete or REM out the lines for the packages you don't want to remove (using pdf from liquid0624 for reference to choose). Save that as a batch file and run.

Edited by robertcollier4, 27 June 2013 - 11:25 PM.


#59
eveafterdark

eveafterdark
  • Member
  • 3 posts
  • Joined 21-July 13
  • OS:Windows 7 x64
  • Country: Country Flag

hey guys, very usefull thread, indeed. I used install_wim_tweak on a mounted image and unhid the packages. I ran the "get-packages" dism command and saved the list to a ms word file (the list of packages is like 30 pages and it's only the names like "Microsoft-Media-Foundation-Package~31bf3856ad364e35~x86~~6.1.7600.16385").

my image is win7 sp1 x86.

the problem is that when I try to run " /get-packageinfo /packagename: ... " dism command, most of the time I get an error message saiyng: "the specified package is not  valid Windows package". For instance it shows such an  error for the package I mentioned above.

So is it  that despite tweaking the image with install_wim_tweak, dism still will not be able to  get and display the info, the content of the package ? the feauters?

If so, is there any documentations describing these packages ?

otherwise, how am I supposed to know what I am removing ?

 

cheers,

eveafterdark

 

PS just to be more specific: the 30 pages list is created when running install_wim_tweak with /l, no idea why there's so many of them ...
running dism get-packages creates shorter list with some info like this: Release Type : Language Pack
 


Edited by eveafterdark, 29 July 2013 - 02:41 PM.


#60
AlexMarkov

AlexMarkov
  • Member
  • 5 posts
  • Joined 04-May 09

Is a /h key a really working? When I put it as parameter to restore original permissions for registry, install_wim_tweak just ignore it and take ownership again:

D:\Test>utils\install_wim_tweak /p Mount /h
-------------------------------------------
--------Registry Tweak Tool v1.4.6.0-------
---------------for Windows 6.x-------------
---------Created by Michal Wnuowski--------
-----------Modified by Legolash2o----------
-------------------------------------------

MountPath : "Mount"

------------------Starting-----------------
Creating BKP of registry file...         OK
Mounting registry file...                OK
Taking Ownership...                      OK
Editing 'Packages' subkeys        571/571OK
Editing 'PackagesPending' subkeys        FAIL - Key not exist
Modifying registry completed sucessfully.

-------------------Ending------------------
Unmounting key...                        OK


#61
ar_seven_am

ar_seven_am

    Junior

  • Member
  • Pip
  • 62 posts
  • Joined 09-January 10
  • OS:Vista Ultimate x64
  • Country: Country Flag

 

Is a /h key a really working? When I put it as parameter to restore original permissions for registry, install_wim_tweak just ignore it and take ownership again:

D:\Test>utils\install_wim_tweak /p Mount /h
-------------------------------------------
--------Registry Tweak Tool v1.4.6.0-------
---------------for Windows 6.x-------------
---------Created by Michal Wnuowski--------
-----------Modified by Legolash2o----------
-------------------------------------------

MountPath : "Mount"

------------------Starting-----------------
Creating BKP of registry file...         OK
Mounting registry file...                OK
Taking Ownership...                      OK
Editing 'Packages' subkeys        571/571OK
Editing 'PackagesPending' subkeys        FAIL - Key not exist
Modifying registry completed sucessfully.

-------------------Ending------------------
Unmounting key...                        OK

 

have u check the list package available with dism command?

dism /image:"mounted drive" /get-packages > "path to save file"\"name of the list package file".txt 

Se7en/Vista Unattended DVD XML Creator and Application Installer
Posted Image
Light Blue Ribbon Campaign for Freedom of Skin

I don't care ur race or religion, all I care u're friend of mine! Life's too short, don't waste ur time for war, PEACE IS NOW!

#62
AlexMarkov

AlexMarkov
  • Member
  • 5 posts
  • Joined 04-May 09
have u check the list package available with dism command?
dism /image:"mounted drive" /get-packages > "path to save file"\"name of the list package file".txt 

 

Yes, I realized that /h key doesn't restore original permissions for a registry but only hides back a packages. Will try to do it by SubinACL.



#63
ar_seven_am

ar_seven_am

    Junior

  • Member
  • Pip
  • 62 posts
  • Joined 09-January 10
  • OS:Vista Ultimate x64
  • Country: Country Flag

have u check the list package available with dism command?

dism /image:"mounted drive" /get-packages > "path to save file"\"name of the list package file".txt 

 
Yes, I realized that /h key doesn't restore original permissions for a registry but only hides back a packages. Will try to do it by SubinACL.


kels have stated in the previous post :

*/d will not delete owners keys.


is that what u means? but u need to use that before unhide the hidden package...
Se7en/Vista Unattended DVD XML Creator and Application Installer
Posted Image
Light Blue Ribbon Campaign for Freedom of Skin

I don't care ur race or religion, all I care u're friend of mine! Life's too short, don't waste ur time for war, PEACE IS NOW!

#64
Moxxyboi

Moxxyboi
  • Member
  • 1 posts
  • Joined 08-January 14
  • OS:Windows 8 x64
  • Country: Country Flag

So I used this to delete the pre installed flash on my computer because I have windows 8 and IE was f***ing up but all other browsers are s***ty with playing videos so I need IE back. Can anyone tell me how I can get flash for IE 11 back?



#65
Opa114

Opa114
  • Member
  • 1 posts
  • Joined 25-December 12
  • OS:none specified
  • Country: Country Flag

So I used this to delete the pre installed flash on my computer because I have windows 8 and IE was f***ing up but all other browsers are s***ty with playing videos so I need IE back. Can anyone tell me how I can get flash for IE 11 back?

 same thing here. want to know how i could re-install the built in flash? i know i could install flash from adobe.com, but is there a way to re-install the built in flash in win 8.1? Thanks guys :)



#66
MrJinje

MrJinje

    Tool™ Developer

  • Developer
  • 1,067 posts
  • Joined 14-October 09
  • OS:Server 2012R2
  • Country: Country Flag

 same thing here. want to know how i could re-install the built in flash? i know i could install flash from adobe.com, but is there a way to re-install the built in flash in win 8.1?

You need to first extract the adobe flash .cab from a .wim that still has it. 

 

What's that ?  You don't know how to extract packages from a .wim, try Bubbles Super Nasty SFX Extractor Tool.  (written by myself and bubbles)  The trick apparently is to do all this under the TrustedInstaller account so that things extract properly (don't worry, instructions included).  It helps you create a package that can be re-inserted via DISM add-package command (or something similarly easy). 

 

http://forums.mydigi...ll=1#post848055



#67
Legolash2o

Legolash2o

    Win Toolkit Programmer

  • Member
  • PipPipPipPipPipPip
  • 1,131 posts
  • Joined 09-February 07
  • OS:Windows 8.1 x64
  • Country: Country Flag

I've uploaded 1.4.7 which just adds credits to Aviv00. I've noticed how bad/messy/un-organised the code is. :(

 

So if anyone is interested, I'm willing to tidy it up a bit? Possibly add a GUI to it (but still have the same commands).



#68
MrJinje

MrJinje

    Tool™ Developer

  • Developer
  • 1,067 posts
  • Joined 14-October 09
  • OS:Server 2012R2
  • Country: Country Flag

I've uploaded 1.4.7 which just adds credits to Aviv00. I've noticed how bad/messy/un-organised the code is. :(

 

So if anyone is interested, I'm willing to tidy it up a bit? Possibly add a GUI to it (but still have the same commands).

 

I wrote this a week or three ago, the packages tabpage is basically an install_wim_tweak gui.  It does wildcards, unhides single packages, pre-populated drop-down list, etc.  All credits to Lite8 / Aviv00 for the original idea back in 2008 that everyone has since stolen. 

 

380467687a69e22308fee990e334135c.png


  • aviv00 likes this

#69
aviv00

aviv00

    Windowaizer

  • Member
  • PipPipPipPipPip
  • 989 posts
  • Joined 02-April 07
  • OS:none specified
  • Country: Country Flag

@

Legolash2o

 

does WinToolKit use it method also ?






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users