Windows Integration Guide - murphy78

Discussion in 'Windows 8' started by murphy78, Sep 5, 2013.

  1. ar_seven_am

    ar_seven_am MDL Senior Member

    Mar 7, 2010
    398
    129
    10
    #481 ar_seven_am, May 19, 2014
    Last edited: May 19, 2014
    murph, I think u should add instruction with wsim (windows system image manager) answer file (available with windows ADK or WAIK) as it much more fast for integrating update into offline image (normal integration, not LDR/GDR integration).
    with wsim, integration to offline image take about 30 minutes, while with add-packages command and specify manually, take about 1,5 hours (that's becuz the kb package extracted first with the servicing tool aka DISM one by one, while with wsim only once DISM extracted in temp directory and then all the package).

    note: kb2919442 and kb2919355 cant use wsim, but the rest package update 1 for windows 8.1 can use wsim, and it's only support *.cab package, not msu
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Never tried esd files before but in a case of an AIO using one of those compared to wim files, I guess wim files are considerably faster, no? I mean installations time is shorter with wim files than esd files. Could someone provide a brief statistic based on their own experience? Is it really worth besides file size reduction to use esd files in terms of time?
     
  3. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    wsim runs dism commands via answer files.
    It runs them all at once, which is akin to running dism /add-package pointed at a single folder full of msu or cab files.
    While it is faster to point it at a whole folder, it presents the esd recovery compression problem discussed many times here in this thread.
     
  4. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    I honestly couldn't tell you which one is faster. In my experience, they have been roughly the same speed.
    I don't think you'd really know the full speed difference unless you had a very high speed source and target drive.
    My limited experiences with 30-50 MB/s source drives and 100ish MB/s write speed target drives pretty much max out at the write speed, considering all the file system overhead and small files involved.

    If you had a really high speed usb3 source drive and a sataIII SSD target drive, you could probably paint a more accurate picture.
     
  5. erbia

    erbia MDL Novice

    Dec 5, 2009
    29
    11
    0
    How integrate Office 2013 in Windows 8.1?
    When a Windows 8.1 with update aio to office?
     
  6. ar_seven_am

    ar_seven_am MDL Senior Member

    Mar 7, 2010
    398
    129
    10
    I dont have problem integrate some update with wsim and after that compress the image with esd recovery format, could u more specific explain the problem or referring to the post so I can read that? thx in advance
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    It's difficult to explain.
    The problem seems to occur when servicing many different indexes in an AIO.
    doing a resetbase command on the non-pending updates seems to cause a problem
    integrating a lot of updates also seems to cause a problem.

    What happens is boot setup will get to about 85~ percent and then give an install failure.
    I've noticed it since win8.1 came out and we were able to export to esd
    It doesn't happen every time. In fact, it can be either very rare or very common.

    Integrating hotfixes one at a time seems to reduce or eliminate this problem.
    I've had a few different ideas at how to fix the issue over the last few months, though.
    Firstly, I thought that limiting boot ram helped, but I think it only reduced the likelihood a little.
    So I just stopped doing that and started trying to go after the cause instead of the symptom.

    If you don't experience the problem, then I'm glad for you.
    It's really frustrating.
     
  8. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    I have been playing with minimizing win8.1 images.
    I've been trying ways of reducing the image without breaking things.

    Firstly, the non-invasive methods:
    Removing provisionedappxpackages
    disable-feature /remove certain features

    This method works, but doesn't reduce the image by much and doesn't speed up the OS at all.

    So that just leaves the invasive methods that will break system files.
    The two largest additions are windows recovery environment (winre.wim) and language files.
    On the language files thing, Windows likes to store tons of localized files for all the various system programs regardless of the language pack you have installed.
    Using winreducer you can remove both of these things and also the control panel shortcuts and files for language changing.

    That being said, it doesn't speed up your system. Removing files makes more room, but since the files are never loaded in the first place, there's no performance increase.
    So to improve performance, there's really only a few options.
    You can disable Windows Defender and Windows Search Indexing service.
    You can also disable the security center service that monitors that stuff and nags you via the taskbar.

    Changing these things would improve performance, but it's nothing that you cannot do by simply disabling defender in the GUI and setting the search indexer to disable in services.msc
    Again, removing the files only saves a little room, it's stopping the running files that improves performance.

    So my verdict on 8.1 minimizing is that if its done, it should only be done because of space constraints. It causes way more problems than benefits gained.
    Also, when you tinker around with the system settings with these methods, the superfetch has to re-calibrate itself or whatever...
    I don't know exactly how to describe it. Your system is actually slower during setup after minimizing because the system is going through a hissy-fit trying to figure out what's damaged.

    You can also store the acl information on the winsxs folder and then compress the files with compact.exe, but it would actually slow down your performance a little by needing to decompress the files each time they are loaded.
    I'm not gonna elaborate on how to do that because it's a terrible idea and I wouldn't want people to try it.
     
  9. Hvam

    Hvam MDL Novice

    May 22, 2014
    20
    37
    0
    #489 Hvam, Jun 1, 2014
    Last edited: Jun 1, 2014
    Thanks for a useful thread. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Hvam

    Hvam MDL Novice

    May 22, 2014
    20
    37
    0
    #490 Hvam, Jun 1, 2014
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #491 murphy78, Jun 2, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
  12. Hvam

    Hvam MDL Novice

    May 22, 2014
    20
    37
    0
    #492 Hvam, Jun 2, 2014
    Last edited by a moderator: Apr 20, 2017
    Thank You it worked fine with method 1.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. kabino

    kabino MDL Member

    Nov 13, 2013
    175
    634
    10
    hello
    i created a session with sysprep (vmware) and windows 8.1 update 1 but windows update doesn't find any updates. Without sysprep works perfectly. How can fix this problem?
     
  14. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    3,311
    1,938
    120
    No fix you can't download updates in audit mode
     
  15. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,964
    907
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #497 murphy78, Jun 2, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Typical scenario I do when sysprepping 8.x is create user and let it finish install
    Then I install a few things like directx, netfx3, vc++ redists.
    Then I run wuapp.exe and install updates and reboot and repeat the process until no longer needing any updates.
    Then i run %windir%\system32\sysprep\sysprep.exe /audit /reboot
    When in audit mode, go into control panel and delete the temp account.
    Then you sysprep /oobe /shutdown using the sysprep tool that's always started when in audit mode.

    Then you capture it with a config.ini that eliminates both your temporary user account directory, administrator directory, and the softwaredistribution directory.

    Anyway, to run ps1 scripts, you just set execution policy to remotesigned (only runs scripts from your own system if unsigned)
    Then you run the appropriate script with powershell.
    Typical cmd script to do this would be like:
    Code:
    powershell Set-ExecutionPolicy RemoteSigned
    powershell %TEMP%\PSR.ps1
    Obviously change the path and such to match the scripts you wish to use and run the script as admin.
    Remember your pushd command because running as admin will change your current directory to system32 automatically unless pushd "%~dp0" is specified.
     
  17. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Yep, script is working and part of my JATD script for quite a while now :cool2:. Works like a charm in Audit Mode :good3:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. kastrel

    kastrel MDL Member

    Mar 7, 2013
    247
    52
    10
    Slave77,really works? WU works in auditory mode using that scripts?Please you could me send this script for me down?Thanks:worthy:
     
  19. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...