Push button reset

Page 1 of 2 12 LastLast

  1. Posts : 14
    Windows 10
       #1

    Push button reset


    Hello,

    I'm working for a project where we want to customize Win10 and retain the customization after a Push Button Reset.

    I was able to create a ppkg package with scanstate to retain apps.

    We would like to find a way to retain some user settings as well like favorites and background. I was customizing the Administrator account and using the copy profile in the unattend.xml. This works fine for initial deployment. So I thought that I would scanstate the Administrator profile and run loadstate with Push Button Reset as well. The resetconfig.xml located in C:\recovery\oem point to an enablecustomization.cmd.

    "%TARGETOSDRIVE%\Recovery\OEM\usmt10\loadstate.exe" "%TARGETOSDRIVE%\Recovery\OEM" /c
    copy "%TARGETOSDRIVE%\Recovery\OEM\Unattend.xml" "%TARGETOS%\Panther\Unattend.xml" /y
    copy "%TARGETOSDRIVE%\Recovery\OEM\Startmenu.xml" "%TARGETOSDRIVE%\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" /y

    The usmt.mig file is in C:\recovery\oem\usmt

    After Push Button Reset is finished. I can create a new account and see that the startmenu and applications are retained. However not the profile. Setupact.log. I see that it runs loadstate and a few lines below there is an error code 36. According to docs.microsoft.com, error code 36 means USMT_ERROR_UNSUPPORTED_PLATFORM

    Maybe loadstate cannot be run in this environment during setup. Do I have other option to retain settings after Push Button Reset?

    Thanks,

    Edy
      My Computer


  2. Posts : 516
    Windows 10 Professional 64bit
       #2

    Is this not on a domain? Why not force all of your customization and settings via Group Policy?
      My Computer


  3. Posts : 14
    Windows 10
    Thread Starter
       #3

    No this is not a domain. It's a project to roll out a tablets with Windows 10 to clients.
      My Computer


  4. Posts : 31,604
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    This tutorial would seem to be the one you want...

    ...normally a reset or a recovery drive will perform a clean install of Windows 10 and nothing else.

    However this tutorial shows you how to customise the reset and recovery drive by saving your currently installed software applications, so that they get picked up by the reset process...
    Create Provisioning Package in Windows 10 | Windows 10 Tutorials
      My Computers


  5. Posts : 14
    Windows 10
    Thread Starter
       #5

    Thanks,

    Is it possible to have more than one ppkg in the C:\recovery\customizations folder? Would a reset apply more than one? What about the naming convention? Does it matter? In the tutorial I see it is named usmt.ppkg. The same name is used by docs.mircosoft.com too.
      My Computer


  6. Posts : 31,604
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #6

    Fafaxx said:
    Is it possible to have more than one ppkg in the C:\recovery\customizations folder? Would a reset apply more than one? What about the naming convention? Does it matter?....
    Not my area of expertise, perhaps the tutorial author @DavidY would be able to help.
      My Computers


  7. Posts : 14
    Windows 10
    Thread Starter
       #7

    Thanks - Let's see if David steps in.
      My Computer


  8. Posts : 17,661
    Windows 10 Pro
       #8

    This tutorial will show how to create a custom recovery partition doing exactly what you want to: Factory recovery - Create a Custom Recovery Partition | Windows 10 Tutorials

    When used for recovery, it restores Windows exactly as it was at the moment of creating it, with all user profiles, customized settings and installed software.

    Kari
      My Computer


  9. Posts : 14
    Windows 10
    Thread Starter
       #9

    Thanks Kari - Is it possible to use this recovery partition with Push Button Reset too? About the boot menu, does it start Windows 10 after a certain time automatically or will the user need to select the startup partition each time?
      My Computer


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

    Bree said:
    Not my area of expertise, perhaps the tutorial author @DavidY would be able to help.
    Thanks for the mention Bree.
    Fafaxx said:
    Thanks,

    Is it possible to have more than one ppkg in the C:\recovery\customizations folder? Would a reset apply more than one? What about the naming convention? Does it matter? In the tutorial I see it is named usmt.ppkg. The same name is used by docs.mircosoft.com too.
    Apologies I've not been here much lately so hadn't noticed the thread until Bree linked me into it

    I'm pretty sure you can have multiple provisioning packages, but I think you may only be able to have one .ppkg to capture your applications with Scanstate as per the tutorial linked to earlier. The other .ppkgs would contain other customisations to settings but not desktop applications.

    However there is something called 'Siloed provisioning packages' which relies on creating several incremental packages.

    On that page it says:
    Push-button reset

    When using ScanState to capture traditional provisioning packages, only one package with all the applications and system settings can be placed in %systemdrive%\Recovery\Customizations folder. During push-button reset (PBR), the single provisioning package is processed to restore the applications and system settings.

    Beginning with Windows 10, version 1607, applications can be captured in multiple siloed provisioning packages and system settings can also be captured in a separate siloed provisioning package. As a result, PBR is enhanced to allow multiple siloed provisioning packages to be applied, in the preserved order in which they were applied using Dism /Apply-Siloed Package. The packages can then be queued and processed in the right order during PBR to restore the applications and system settings captured in these packages.
    So I think that might be the way to do it if you want to use provisioning packages containing applications. Although I've not tried it and the creating siloed provisioning packages does seem like a fiddly process.

    Hope this helps.
      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 18:41.
Find Us




Windows 10 Forums