ADK 10: Windows Imaging and Configuration Designer

Page 7 of 9 FirstFirst ... 56789 LastLast

  1. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
    Thread Starter
       #61

    Kyhi said:
    because you should be able to install Firefox - create a firefox.ppkg
    install windows ADK and create a ADK.ppkg
    Install Marcium and create a macrium.ppkg

    then when you want that software just included the software ppkg into your build by placing it in your customizations folder

    that is my understanding of how this all works, and how you can use the ppkg's in a factory deployment

    Buyer wants Firefox - run firefox.ppkg and then included firefox.ppkg in customization folder to be used by Windows Recovery later to reinstall firefox..
    Yep that's my understanding too, although it would be a time-consuming process to create all those individual ppkgs. I picked up somewhere that you can use .xml files to control what gets migrated which I guess would help to create lots of individual ppkgs, but I want to play with the more basic scenarios before I get to that one!

    I guess that would also mean you can have more than one ppkg in the C:\Recovery\Customizations folder?

    Thanks for your help and the info. :) It's bedtime in this timezone so I'm leaving it for tonight.
      My Computer


  2. Posts : 4,131
    Windows 3.1 to Windows 11
       #62

    Time consuming to install then create the ppkg - yes the first time, - but to reset your PC 10 times.. that is a saving of 10 software re-installations..

    And yes you can have more then one ppkg in the folder, but there is a clause I do not understand in the documentation

    This is designed for large scale deployment and customization

    Macrium is all that a PC owner needs..

    Just nice to understand the process the FACTORY OEM will use

    And yes by using the config.xml you can tell windows what you want installed from the ppkg
      My Computer


  3. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
    Thread Starter
       #63

    Kyhi said:
    And yes you can have more then one ppkg in the folder, but there is a clause I do not understand in the documentation
    What/where is that clause?

    Kyhi said:
    This is designed for large scale deployment and customization

    Macrium is all that a PC owner needs..

    Just nice to understand the process the FACTORY OEM will use

    And yes by using the config.xml you can tell windows what you want installed from the ppkg
    Yeah I know what you mean, and Macrium will be my primary backup most of the time.

    But there are scenarios when I might use this on a real PC:
    1. If I upgrade from Windows 7 or 8 to Windows 10, then want to clean install, if I can figure out config.xml, I think it should give a way to keep the OEM drivers and perhaps some of the software already installed and OEM utilities (basically anything where I don't have an install disk), but taking out the bloatware
    2. It gives a way to setup and customise a PC for a friend or relative with those customisations included in Reset and in a Recovery Drive
    3. I may have more than one computer...
      My Computer


  4. Posts : 68
    Windows 10
       #64

    So at this point what do I need to do to get this working? Do I need to specify a name for the packages?
      My Computer


  5. Posts : 4,131
    Windows 3.1 to Windows 11
       #65

    The provisioning package containing the reference device data asset can only be processed by Windows Setup and will always be persisted in the C:\Recovery\Customizations folder on the OS partition of a device, so that it can be used by push-button reset (PBR) features to restore the device back to the factory default state.

    While there can be multiple provisioning packages persisted in the C:\Recovery\Customizations folder, only one package can contain the reference device data asset.
    hummm.

    I have mounted the ppkg using dism and there is an xml file inside the ppkg.... actually just a fews lines

    Oh rename .ppkg to .wim to mount...
      My Computer


  6. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
    Thread Starter
       #66

    Kyhi said:
    hummm.
    I believe the reference device data asset is the file which scanstate /ppkg creates - yes?

    So my understanding from that quote is that you can create loads of ppkg files using the Windows ICD, and they would all work together, but you can only have one ppkg from scanstate. And sadly scanstate is the only way (I think) to create a ppkg containing win32 software and drivers, although I think the ICD will let you create a ppkg with Universal Apps.

    I guess this means you couldn't make your own firefox.ppkg and AdobeReader.ppkg as separate files (assuming you want to install them at the same time) but instead would have to use scanstate to make a combined ppkg.

    Question on my list for testing at some point... if you load a ppkg manually from within Windows, does it automatically copy it into c:\recovery\customizations for later recovery?
      My Computer


  7. Posts : 4,131
    Windows 3.1 to Windows 11
       #67

    reference device data asset - what does that mean??

    mount your ppkg by renaming to a wim file and take a look at the enclosed xml..

    the top part refers to the machine, I think and then a little down it says it found x number of apps..

    https://msdn.microsoft.com/en-us/lib...ce_device_data
      My Computer


  8. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
    Thread Starter
       #68

    Mansome said:
    So at this point what do I need to do to get this working? Do I need to specify a name for the packages?
    Do you already have the ADK downloaded (or at least the USMT part)?

    If so, I think that I would delete any files from the c:\recovery\customizations folder (but also check that it exists) and try the following commands from an Elevated Command Prompt (that is, an Admin level command prompt)
    Code:
    md c:\temp\Scanstate
    cd c:\temp\scanstate
    xcopy "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\windows setup\x86\sources"
    xcopy /s /y "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool\x86\*.*" 
    scanstate /apps /drivers /ppkg c:\recovery\customizations\usmt.ppkg /o /c /v:13 /l:c:\temp\scanstate.log
    The above is for 32-bit; for 64-bit it would be:
    Code:
    md c:\recovery\customizations
    md c:\temp\Scanstate
    cd c:\temp\scanstate
    xcopy "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\windows setup\amd64\sources"
    xcopy /s /y "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool\amd64\*.*" 
    scanstate /apps /drivers /ppkg c:\recovery\customizations\usmt.ppkg /o /c /v:13 /l:c:\temp\scanstate.log
    This should create a package called usmt.ppkg in your c:\recovery\customizations folder, which is a special folder used by the Reset function and to create Recovery Drivers. It worked for me, anyway - good luck!

    If you don' t have the ADK downloaded already, kyhi put the files post 54. You'll need to combine them into one folder though.
      My Computer


  9. Posts : 68
    Windows 10
       #69

    DavidY said:
    Do you already have the ADK downloaded (or at least the USMT part)?

    If so, I think that I would delete any files from the c:\recovery\customizations folder (but also check that it exists) and try the following commands from an Elevated Command Prompt (that is, an Admin level command prompt)
    Code:
    md c:\temp\Scanstate
    cd c:\temp\scanstate
    xcopy "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\windows setup\x86\sources"
    xcopy /s /y "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool\x86\*.*" 
    scanstate /apps /drivers /ppkg c:\recovery\customizations\usmt.ppkg /o /c /v:13 /l:c:\temp\scanstate.log
    The above is for 32-bit; for 64-bit it would be:
    Code:
    md c:\recovery\customizations
    md c:\temp\Scanstate
    cd c:\temp\scanstate
    xcopy "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\windows setup\amd64\sources"
    xcopy /s /y "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool\amd64\*.*" 
    scanstate /apps /drivers /ppkg c:\recovery\customizations\usmt.ppkg /o /c /v:13 /l:c:\temp\scanstate.log
    This should create a package called usmt.ppkg in your c:\recovery\customizations folder, which is a special folder used by the Reset function and to create Recovery Drivers. It worked for me, anyway - good luck!

    If you don' t have the ADK downloaded already, kyhi put the files post 54. You'll need to combine them into one folder though.
    Cool, so it looks like that missing piece of this puzzle is that the file has to be called usmt.ppkg otherwise it kills the reset function. I am ok with that. Also I didn't know the apps and drivers slash commands could be used at the same time.

    Small Edit:
    I just tried it and it appears to be resetting correctly now. I will know in a few more minutes if it restored the apps I installed. Now I just need to figure out a way to turn this into a compact OS install when resetting.
    Last edited by Mansome; 25 Jul 2015 at 10:34.
      My Computer


  10. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
    Thread Starter
       #70

    Mansome said:
    Cool, so it looks like that missing piece of this puzzle is that the file has to be called usmt.ppkg otherwise it kills the reset function.
    I'm not sure, but that name was the one in the documentation (not that the documentation is always correct) so I used it. Glad it's working for you.
    Mansome said:
    Small Edit:
    I just tried it and it appears to be resetting correctly now. I will know in a few more minutes if it restored the apps I installed. Now I just need to figure out a way to turn this into a compact OS install when resetting.
    I haven't got round to trying this in the current ADK, but I think the official route is:
    1. Save your ppkg file as above and copy it onto another folder/computer
    2. Get hold of the install.wim from the ISO of the edition you're trying to install
    3. Use the Windows ICD (within the ADK) and create a new project with that install.wim
    4. Import the ppkg from step 1 into your project as the Reference Device Data Asset (I think that's the name)
    5. Set the Compact option in the ICD and create an installation set that way

    ... but I've not tried this yet! And when I used the ICD in earlier versions of the ADK, the installation sets created at step 5 didn't work.

    But I'd be tempted to try it anyway, because it would be useful to see how it works.

    Another option is to create a Recovery Disk (with the ppkg in c:\recovery\customizations) and perhaps tweak something there to make it compact? Not sure how though.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:16.
Find Us




Windows 10 Forums