Hi, @Ahmed Essam
Thank you for posting in Microsoft Q&A forum.
Based on the error message you provided, it seems that the store path you are trying to use contains data that could not be overwritten. This is causing the USMT to fail with error code 35. To resolve this issue, you will need to specify a different store path that does not contain any data that needs to be overwritten.
Additionally, it is recommended that you run the UsmtUtils.exe
command with the /Verify
option to ensure that the created store isn't corrupted. This can help you identify any issues with the store before you attempt to use it for migration.
Here is an example command line using task sequence variables that does a hard-link migration with the efs
option set to hardlink
:
.\%PROCESSOR_ARCHITECTURE%\scanstate.exe %OSDStateStorePath% /o /localonly /c /efs:hardlink /v:5 /l:%_SMSTSLogPath%\scanstate.log /progress:%_SMSTSLogPath%\scanstateprogress.log /i:.\%PROCESSOR_ARCHITECTURE%\migdocs.xml /i:.\%PROCESSOR_ARCHITECTURE%\migapp.xml /hardlink /nocompress %OSDMigrateAdditionalCaptureOptions%
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".