ADK 10: Windows Imaging and Configuration Designer

Page 3 of 9 FirstFirst 12345 ... LastLast

  1. Posts : 4,142
    Windows 3.1 to Windows 11
       #21

    somehow they think this
    Code:
    D:\ScanState_x64\scanstate.exe /app /ppkg D:\Provisioning\ /o /c /v:13 /l:D:\ScanState.log
    Code:
    D:\ScanState_x64\scanstate.exe /app /ppkg C:\Recovery\Customizations\ /o /c /v:13 /l:C:\ScanState.log
    gives you that > C:\Recovery\Customizations\usmt\usmt.ppkg < then they say you have to move the usmt.ppkg

    But to get that all you need to do is this
    Code:
    D:\ScanState_x64\scanstate.exe /apps /ppkg C:\Recovery\Customizations\usmt.ppkg /o /c /v:13 /l:C:\ScanState.log
      My Computer


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

    So... when the documentation says the command is
    Code:
    scanstate.exe /app /ppkg {Foldername}
    what it really should say is:
    Code:
    scanstate.exe /apps /ppkg {Foldername}\Something.ppkg
    That is, it's /apps not /app, and (when used with the ppkg parameter at least) it needs a full file name, not just a folder.

    I'd never have figured that out on my own - thanks for that!
    Last edited by DavidY; 19 Jul 2015 at 02:52.
      My Computer


  3. Posts : 4,142
    Windows 3.1 to Windows 11
       #23

    My testing was all done on the same 10240 x64 PC

    Created a Recovery Drive via Control Panel
    Attachment 25044

    Created a provisioning package c\recovery\customizations\
    Attachment 25045

    Recreated the Recovery drive via control panel - with c\recovery\customizations\xpscustom.ppkg
    Attachment 25047
    Attachment 25048

    Create Recovery Drive added the customizations to the recovery media..

    Also just a little side note: you can also right click the *.ppkg and run as admin and it will install your customizations..

    Using the create recovery option is said the keep windows apps and windows updates ( because they are all ready in the windows data store folder)

    You can also see the partition layout changes in the diskpart.txt ( you can edit the partitions and layout that recovery creates)
    And you can see how the recovery is placing the images in resetcfg.xml (which can also be edited to suit your needs)
      My Computer


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

    Kyhi said:
    My testing was all done on the same 10240 x64 PC

    Created a Recovery Drive via Control Panel
    Attachment 25044

    Created a provisioning package c\recovery\customizations\
    Attachment 25045

    Recreated the Recovery drive via control panel - with c\recovery\customizations\xpscustom.ppkg
    Attachment 25047
    Attachment 25048

    Create Recovery Drive added the customizations to the recovery media..

    Also just a little side note: you can also right click the *.ppkg and run as admin and it will install your customizations..

    Using the create recovery option is said the keep windows apps and windows updates ( because they are all ready in the windows data store folder)

    You can also see the partition layout changes in the diskpart.txt ( you can edit the partitions and layout that recovery creates)
    And you can see how the recovery is placing the images in resetcfg.xml (which can also be edited to suit your needs)
    I think that is similar to what I was finding (in a 32-bit VM).

    So by creating the provisioning package in c:\Recovery\Customizations (with scanstate), it means that those customisations are saved by the Recovery Drive process. (And presumably they also come back when you do a Reset without the Recovery Drive - I haven't tested that yet.)
    Last edited by DavidY; 19 Jul 2015 at 03:47.
      My Computer


  5. Posts : 4,142
    Windows 3.1 to Windows 11
       #25

    (And presumably they also come back when you do a Reset without the Recovery Drive - I haven't tested that yet.)
    that is my understanding too - but have not tested... Although I had the USB plugged in and the system must of rebooted due to windows update - woke up to recovery > select your language
      My Computer


  6. Posts : 4,142
    Windows 3.1 to Windows 11
       #26

    I have created a script to run the scanstate commands - it also contains USMT
    Run the cmd from the same Dir as usmt

    https://www.dropbox.com/s/0aqg2c0z0a...0TEST.zip?dl=0
      My Computer


  7. Posts : 147
    Windows 10 x64
       #27

    I know this is a dumb question, but what is the purpose of ScanState? What exactly does it do, and what do you gain from using it? I've read about it, but I still don't quite "get it."
      My Computer


  8. Posts : 4,142
    Windows 3.1 to Windows 11
       #28

    First off you have to understand that windows recovery has changed.. Recovery no longer uses an install.wim or a factory install.wim which was kept on a separate partition.. Windows 10 Recovery now rebuild itself from its data store.. Basicly windows keeps updates, drivers and apps in the winsxs folder - theses are used as a reference for such tools as SFC and DISM - to repair the online image.. Every file on the running OS has a compressed version in backup..

    When you recover windows 10 it rebuilds itself from those backup files.. It does not back up 3rd party programs, non default system setting, 3rd party drivers - basically anything non MS Windows related is not backed up and thus will not be restored..

    Scanstate allows you to create a provisioning package that will backup the non-windows settings, apps, programs and drivers..
    These settings are captured into a ppkg file and stored the Recovery\customizations Folder.. when you reset or refresh these ppkg files are added into the recovery process.. thus reinstalling all your programs and setting..

    You can even save the ppkg to an external source, clean install the OS, and then run the ppkg file as admin and install the settings...

    Here is the Plus to all this, say you have 10 different PC, all running different hardware, rather then setting each one by itself, you run the same ppkg file on each one and all your settings are done.. Lets say you have 20 pc and 10 have office and are video edit.
    install the office ppkg on 10 and the video edit on the other, all your setting are done.. no need to reinstall 20 pc's one at a time with different software and settings..

    windows reset windows, and the rest is in the custom provisioning packages .ppkg files for the average 2 pc family not a big deal one way or the other as there is a lot of good backup programs out there...
      My Computer


  9. Posts : 1,983
    Windows 10 x86 14383 Insider Pro and Core 10240
       #29

    Thanks for all the great info on this thread. Some of the stuff here refers to Out of date versions, and it would help if the original post contained up-to-date info, and some of the out of date stuff is changed to strikeout so that the old info can still be read by those that need it.
      My Computers


  10. Posts : 4,142
    Windows 3.1 to Windows 11
       #30

    That's progress for you - as things move forward, other things are left behind..
      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 10:28.
Find Us




Windows 10 Forums