New
#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