Windows 10 Imaging, Customization and Deployment

Discussion in 'Windows 10' started by arseny92, Jan 31, 2015.

  1. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    :worthy:
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    450
    Did you already check the multi-arch-iso.cmd with booting uefi?
     
  3. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    He has no UEFI compliant hardware by the time being. :(
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    450
    VMware can handle it.

    The problem is on my tests the script didn't produce a working uefi capable x86x64 (1 shared wim) alternative iso, the ESD>ISOv37 script does.

    The iso boots x64 uefi on a real system, though.
     
  5. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Okay.
     
  6. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    960
    1,677
    30
  7. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    960
    1,677
    30
    Nice! I did not know that...
    Another blunt (scripted) approach is to extract the full exe (it's small anyway), then search for <DownloadRoot> in all files, the url pops up all over the place :)
     
  8. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    yep at least for me so is more easy after download ISO simply run 7-zip and done (same process used for games)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,345
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,895
    340
    That's what i said under spoiler :)

    i asked @Atari800XL to upload it from the ADK iso
    WiX Toolset only create or extract WiX installers (i.e. adksetup.exe or VC++ redist)
     
  11. fryquez

    fryquez MDL Novice

    Jun 28, 2015
    20
    28
    0
    Seems the ADK is (temporary) down.
    All links give ERR_INVALID_RESPONSE
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,895
    340
    imagex apply already-included ESD image contents, it will not magically integrate updates or netfx3 feature :)

    on the other hand, it turns out that DISM can recognize and use reference cab files for applying, or exporting UUP > ESD/WIM
    but there is a catch, all reference files must be in a separate folder:
    Code:
    dism /Apply-Image /ImageFile:Professional_en-us.esd /Index:3 /ApplyDir:Z:\ /SWMFile:REF\*.*
    
    dism /Export-Image /SourceImageFile:Professional_en-us.esd /SourceIndex:3 /DestinationImageFile:install.wim /SWMFile:REF\*.* /Compress:max
    tested 16299 and 17133
    maybe 15063 support it too, but i didn't check

    if they add the proper support for imagex /export it would be great
    currently, imagex do not recognize .esd files as /ref for exporting

    i thought it's better to discuss here
     
  13. oilernut

    oilernut MDL Senior Member

    Jul 8, 2007
    450
    346
    10
    Is there a way to update the store apps inside the wim so that on a clean install it's not trying to update them all?
     
  14. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    If you get the latest versions available for the build, you can sideload all of them into an offline WIM.

    You can also create a data WIM with all of them and have them expand into the image during the setup of Windows, using either an unattend.xml or a deployment solution like MDT/SCCM.

    Or create a small function to force update them without having to use the actual store itself, which is also significantly quicker. Such a function you can add to a setup script or simply run manually:

    Code:
    Function Update-Apps
    {
       $NameSpace = "root\cimv2\mdm\dmmap"
       $ClassName = "MDM_EnterpriseModernAppManagement_AppManagement01"
       $Obj = Get-WmiObject -Namespace $NameSpace -Class $ClassName
       $Update = $Obj.UpdateScanMethod()
    }
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,895
    340
    New RS4 DISM commands

    OS UNINSTALL SERVICING COMMANDS:
    Code:
    /Initiate-OSUninstall
    Initiates the OS uninstall to take you back to the previous version of windows.
    
    /Remove-OSUninstall
    Removes the OS uninstall capability from the computer.
    
    /Get-OSUninstallWindow
    Displays the number of days after upgrade, during which OS uninstall can be performed.
    
    /Set-OSUninstallWindow
    Sets the number of days after upgrade, during which OS uninstall can be performed.
    EDITION SERVICING COMMANDS:
    Code:
    /Get-StagedEditions
    Displays a list of editions which can be removed
    
    /Get-TargetCompositionEditions
    Displays a list of CBS editions that an image can be upgraded to.
    
    /Get-TargetVirtualEditions
    Displays a list of virtual editions that current edition can be upgraded to.
    
    /Get-TargetVirtualEditions /TargetCompositionEdition:Professional
    Displays a list of virtual editions that specified edition can be upgraded to.
    
    /Set-Edition now have /Channel parameter to define the default product key, Volume or Retail
    Code:
    dism /Image:C:\Mount /Set-Edition:Enterprise /Channel:Volume
    dism /Image:C:\Mount /Set-Edition:ProfessionalWorkstation /Channel:Retail
    specifying OEM will equal Retail
    so this will fail because Enterprise don't have Retail key
    Code:
    dism /Image:C:\Mount /Set-Edition:Enterprise /Channel:OEM
    Setting an edition online is supported in audit mode
    Code:
    dism /Online /Set-Edition:Enterprise /Channel:Volume /AcceptEula
    although the command is accepted, but the upgrade/switch failed at last stage (edition-specific settings)
    so maybe it's just for real CBS upgrade, Core > Professional


    BTW, i'm pretty sure DISM can change wim image flag, because FLAGS hidden parameter is referenced in WimProvider.dll
    but i could not get it to work with capture-image, export-image, or get-wiminfo

    SysprepProvider.dll have hidden commands too, but not working, probably they did not add the full support yet
    Code:
    /Stage
    /Sysprep-Cleanup
    /Sysprep-Generalize
    /Sysprep-Specialize
    /UnattendPath
    
    Code:
    DISM does not support staging online.
    Offline staging of an already-generalized image is not supported.
    Offline Sysprep specialization is only supported on Windows 10 RS1 and above.
    Offline Sysprep specialization is not supported on mounted images.
    Specialization of a non-generalized image is not supported.
    
     
  16. TeamOS

    TeamOS MDL Guru

    May 27, 2013
    3,036
    1,739
    120
    they start give more and more access in rs4 commands thats good.!
     
  17. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,589
    340