Slimming Down Windows 8.1 Setup

Discussion in 'Windows 8' started by ViditM14, Sep 23, 2013.

  1. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    #21 KNARZ, Nov 11, 2013
    Last edited: Nov 11, 2013
    I can't see it on the machine, also if I take ownership and so on... I also can create Owners Key but this shouldnT be possible.
    Left: Online regedit, Right: Compare (not important) with mapped offline Software Hive.
    Selected the same key/path.
    View attachment 25215
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    As i said, for me i can see it in registry editor normally without i take any ownership

    and for the record, i have two owners for each (most of them), Microsoft-Windows-ProfessionalEdition & Microsoft-Windows-ProfessionalWMCEdition

    do you use the pro vl edition?
     
  3. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    #23 KNARZ, Nov 11, 2013
    Last edited: Nov 11, 2013
    Yes this is a ProVL and an entry exists offline but not online...
    Kind of interessting that offline the Values exists but Online may not... I have to check with other Editions. Maybe they get deleted if only 1 SKU exists at the end.
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    I just checked my Windows 8 ProVL system, and the Owners keys are present online
    maybe you used install_wim_tweak.exe or something by accident and deleted yours???
     
  5. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    install_wim_tweak.exe indeed did run, but does it delete the values? I thought it only changes the visibility?!
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    #26 abbodi1406, Nov 11, 2013
    Last edited by a moderator: Apr 20, 2017
    install_wim_tweak.exe does it all ;)

    Code:
    /h will restore them to default (must use without /h first)
    /n will not create backups for owners keys (faster)
    /d will not delete owners keys.
    /m is no longer needed, will do the task by default
    /l will output a list of all packages to a text file.
    /o will use currently installed image.
    /p <MountPath> This will unhide all the packages in the selected image
    /c <PackageName> will un-hide specific package
    /r with /c will remove the package
    if you only specify /o or /p, by default it will create backups for the owners keys then deletes them.
     
  7. NotExactly

    NotExactly MDL Novice

    Aug 28, 2013
    4
    0
    0
    Certain packages and features aren't removing for me on 8.1 offline. I can see them in DISM and WTK, but they aren't being removed. In DISM I get a corruption error, but the image is not corrupt and it deletes Appx items. Does the install_wim_tweak also make more packages viewable than default?
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    Such as?
    WTK uses install_wim_tweak mechanism
     
  9. NotExactly

    NotExactly MDL Novice

    Aug 28, 2013
    4
    0
    0
    Enterprise printing, WinSAT media, Anytime Upgrade, VirtualPC USB***, Sound themes, and more that I can't remember. There is also a lot that it does not show but that may be based on something else perhaps definitions for the OS.
     
  10. NotExactly

    NotExactly MDL Novice

    Aug 28, 2013
    4
    0
    0
    #31 NotExactly, Nov 21, 2013
    Last edited: Nov 21, 2013
    No idea, i'm using CoreSL from an 8.1 host. Stock regular install. I also tried WTK and had the same result. Do I also have to install WAIK / ADK ontop of that? I didn't believe I needed to from an 8.1 host. Do you know the path it uses, and if there is a way for dism to see more packages? I recall being able to load a 7 embedded profile some time ago for 7 which gave me more options.
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    Win 8.1 host is good enough, no need for ADK in that case, i only use it for other purposes :D

    what path exactly?
    no, dism has only one method to shows packages (/get-packages)
     
  12. NotExactly

    NotExactly MDL Novice

    Aug 28, 2013
    4
    0
    0
    C:\Users\Me\Desktop\Mount

    Do you know if we can use the Win8.1 Embedded Standard modular profile or config to allow for more features and packages to be removed like 7 Embedded?

    blogs.msdn.com/b/windows-embedded/archive/2013/10/11/an-overview-of-updates-to-the-windows-embedded-8-platform.aspx
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
  14. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    So the you confirm the old legolash version works without issue in 8.1 / R2
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    Yes it is.
     
  16. akf

    akf MDL Senior Member

    Aug 17, 2010
    345
    152
    10
    Is there any tool (similar to WinReducer and Win Toolkit) that I can use to reduce Windows 8.1 iso size, so that it can be burned to a DVD? After integrating updates from Windows 8.1 repo, the iso size will increase to more than 4 GB.

    Can Se7en_UA remove components from Windows 8.1?
     
  17. ricktendo64

    ricktendo64 MDL Expert

    Apr 20, 2008
    1,397
    2,024
    60
    #38 ricktendo64, Nov 22, 2013
    Last edited by a moderator: Apr 20, 2017
    This is sorta related but not really, if you dont do repair installs and you want to slim down the size of your DVD you can safely delete the following from the root

    Code:
    \support
    autorun.inf
    setup.exe
    From within sources delete all exept: boot.wim, install.wim and setup.exe (for some reason if setup.exe is not present it will error)

    This should free up a couple hundred megabytes
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    I think lang.ini also required
     
  19. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    526
    371
    30
    #40 HALIKUS, Nov 22, 2013
    Last edited: Nov 22, 2013
    Not on the DVD, but within boot.wim:x:\sources. The setup.exe must be the same as the one inside the boot.wim. So a win7 x86 setup.exe in dvd:\sources will result in error when booting from a win 8 x86 boot.wim and using (the default method) x:\sources\setup.exe. A workaround is renaming the 2 setup.exes to (that must both be the same, and as an example...) w8x86.exe and then launching that (via startnet.cmd or winpeinit.ini as an example). You will also have to hex edit boot.wim:x:\sources\autorun.dll to use w8x86.exe rather than setup.exe. You can technically do this to every boot.wim for all OS that will allow you to use any winpe\any arch combo to install from an all in one wim. Its also advisable to put the win7 license folder in Win8 + boot.wim:x:\sources\license to install win7 from a win8 boot.wim.

    For upgrades, do the same hex edit trick but for the DVD:\setup.exe where it looks for \sourc64\setup.exe instead of \sources\setup.exe and the same to autorun.dll and you can then launch the x64 setup files side by side with x86 for an upgrade. You only need the install.wim in sources but willneed an (empty) boot.wim in \sourc64.

    Another way to save space is to just delete dvd:\sources\sxs folder. You don't need it for upgrades or clean installs, only dism servicing.