Page 3 of 9 FirstFirst 12345 ... LastLast

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


  2. Joined : Jan 2014
    Posts : 952
    Windows 8.1, 10
       18 Jul 2015 #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 System SpecsSystem Spec


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


  4. Joined : Jan 2014
    Posts : 952
    Windows 8.1, 10
       19 Jul 2015 #24

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


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


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


  7. Joined : Jul 2015
    Posts : 147
    Windows 10 x64
       21 Jul 2015 #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 System SpecsSystem Spec


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


  9. Joined : Dec 2013
    Portsmouth Hampshire
    Posts : 1,193
    Windows 10 x86 14383 Insider Pro and Core 10240
       22 Jul 2015 #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 System SpecsSystem Spec


  10. Joined : Jun 2015
    Posts : 1,604
    Windows 3.1 to Windows 10
       22 Jul 2015 #30

    That's progress for you - as things move forward, other things are left behind..
      My System SpecsSystem Spec


 
Page 3 of 9 FirstFirst 12345 ... 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 03:41.
Find Us
Twitter Facebook Google+



Windows 10 Forums