Page 7 of 9 FirstFirst ... 56789 LastLast

  1. Joined : Jan 2014
    Posts : 952
    Windows 8.1, 10
       23 Jul 2015 #61

    Kyhi said: View Post
    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 System SpecsSystem Spec


  2. Joined : Jun 2015
    Posts : 1,604
    Windows 3.1 to Windows 10
       23 Jul 2015 #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 System SpecsSystem Spec


  3. Joined : Jan 2014
    Posts : 952
    Windows 8.1, 10
       24 Jul 2015 #63

    Kyhi said: View Post
    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: View Post
    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 System SpecsSystem Spec


  4. Joined : Jul 2015
    Posts : 68
    Windows 10
       24 Jul 2015 #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 System SpecsSystem Spec


  5. Joined : Jun 2015
    Posts : 1,604
    Windows 3.1 to Windows 10
       24 Jul 2015 #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 System SpecsSystem Spec


  6. Joined : Jan 2014
    Posts : 952
    Windows 8.1, 10
       24 Jul 2015 #66

    Kyhi said: View Post
    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 System SpecsSystem Spec


  7. Joined : Jun 2015
    Posts : 1,604
    Windows 3.1 to Windows 10
       24 Jul 2015 #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 System SpecsSystem Spec


  8. Joined : Jan 2014
    Posts : 952
    Windows 8.1, 10
       25 Jul 2015 #68

    Mansome said: View Post
    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 System SpecsSystem Spec


  9. Joined : Jul 2015
    Posts : 68
    Windows 10
       25 Jul 2015 #69

    DavidY said: View Post
    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 System SpecsSystem Spec


  10. Joined : Jan 2014
    Posts : 952
    Windows 8.1, 10
       26 Jul 2015 #70

    Mansome said: View Post
    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: View Post
    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 System SpecsSystem Spec


 
Page 7 of 9 FirstFirst ... 56789 LastLast


Similar Threads
Thread Forum
Build 10240--WiFi IP Configuration Problems
Been using Win 10 TP since build 9926 and all those since then with no WiFi problems until Build 10240. I now have an IP configuration problem only when waking from sleep. When waking from sleep, there is no Internet access and Troubleshooting...
Network and Sharing
imaging
I noticed today that my old standby Macrium Reflect free has a new build which is drastically different and has no Linux disk only Win PE. Is the native imaging program reliable with 10? I am not sure about my old reliable anymore? Thank you
Software and Apps
Microsoft's HoloLens Designer Mike Ey Killed in Car Accident
Source
Chillout Room
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:30.
Find Us
Twitter Facebook Google+



Windows 10 Forums