You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.9 KiB

6 years ago
  1. # win6x_registry_tweak
  2. *This little tool un-hides "packages" like Windows Media Center/Player, IE, IIS, Games, etc... so you can lower the size of your install.wim*
  3. ### Important Disclaimer: I did not write this code.
  4. #### I've added it to github for posterity sake. It has been floating around for years and was recently mentioned on reddit. It looks like several people have worked on it. The most recent (that I found) was Legolash2o on the [msfn.org forums](https://msfn.org/board/topic/152688-win6x_registry_tweak/). Possibly this github user by the same name https://github.com/Legolash2o.
  5. I cannot offer any support or bug fixes; I have not built the project and will most likely not merge any pull requests. Feel free to fork the repo.
  6. ##### The latest notes from the forum post above include the following:
  7. Top left is un-hiding a specific package, top right is writing the log of available files to a txt file, bottom left is un-hiding all components of an image and finally the bottom right is un-hiding all the packages from current installed OS.
  8. *install_wim_tweak.exe /?*
  9. This will show all available options..
  10. *install_wim_tweak.exe /p <MountPath>*
  11. This will unhide all the packages in the selected image
  12. *install_wim_tweak.exe /o*
  13. This will unhide all the packages on the currently installed OS
  14. *install_wim_tweak.exe /p <MountPath> /l*
  15. This will list all the packages available in the selected image and write them to a text file in the same directory.
  16. *install_wim_tweak.exe /o /l*
  17. This will list all the packages available on the installed OS and write them to a text file in the same directory.
  18. *install_wim_tweaks.exe /p <MountPath> /c Microsoft-Windows-.........*
  19. This will just inhide the selected component from the selected image, can also be used with /o. If you add /r at the end it will remove the package.
  20. **Changes made from the original version by wnuku**
  21. - /h will restore them to default (must use without /h first)
  22. - /n will not create backups (faster)
  23. - /d will not delete owners keys.
  24. - /m is no longer needed, will do the task by default
  25. - /l will output a list of all packages to a text file.
  26. - /o will use currently installed image.
  27. - fixed a bug where it did not work if there was a space in the mountpath.
  28. - /c <PackageName> will un-hide specific package
  29. - using /r with /c will remove the package
  30. - Win32Security.dll file is no longer needed
  31. - Added new colours, errors are displayed in Red
  32. - Fixed bug crashing at end of running
  33. - Fixed bug where it cannot unmount registry if something fails
  34. - Added specific component selection
  35. - Fixed some other bugs
  36. - Added an appropriate small icon for the app
  37. *Also normally you will have to put the specific component name i.e.
  38. "/c Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514"
  39. but if for example you put "/c Microsoft-Hyper-V-Common-Drivers-Package" it will show all packages starting with that.*