question

joseluisbrioneslaguna-1959 avatar image
0 Votes"
joseluisbrioneslaguna-1959 asked YuvalMasa-7002 commented

Error Sysprep on Windows 10 20H2

Error sysprep:
2021-02-09 17:32:34, Error SYSPRP MSS: Error 0x5 occurred while creating reg key SOFTWARE\Microsoft\Windows Search\PreventFromStart.[gle=0x0000007a]
2021-02-09 17:32:34, Error SYSPRP MSS:MSSrch_SysPrep_Cleanup _CreateBlockingRegKey failed.[gle=0x0000007a]
2021-02-09 17:32:34, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'MSSrch_SysPrep_Cleanup' from C:\Windows\System32\mssrch.dll; dwRet = 0x5
2021-02-09 17:32:34, Error SYSPRP SysprepSession::ExecuteAction: Failed during sysprepModule operation; dwRet = 0x5[gle=0x00000006]
2021-02-09 17:32:34, Error SYSPRP SysprepSession::ExecuteInternal: Error in executing action for WindowsSearchEngine; dwRet = 0x5[gle=0x00000006]
2021-02-09 17:32:34, Error SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x5
2021-02-09 17:32:34, Error SYSPRP RunPlatformActions:Failed while executing Sysprep session actions; dwRet = 0x5
2021-02-09 17:32:34, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x5
2021-02-09 17:32:34, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070005

windows-10-generalazure-virtual-machineswindows-10-setup
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

well i have wasted so much time on this error,
at the end i have created a new clean image but this time with hyper-v and many checkpoints ..
so after all i have read about this error i was sure it is a windows appx update problem.
so i have disabled app update and after windows full update i have blocked windows updates too. before each step there was a checkpoint :)
and a sysprep run to see where is the problem
it wasnt the appx
it seems that i have installed "Restore Point Creatore 1.6" and "Crystal Disk Info"
and that was the problem,
this error is for sure a software you have installed !!!!
just go to "uninstall a program"
sort by installation date
and start Removing latest software you have installed.. Until it will work
All the Best.

0 Votes 0 ·
JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered JennyFeng-MSFT commented

Hi,
Run these from a recovery command prompt:
del "C:\Program Files\WindowsApps*."
del "C:\ProgramData\Microsoft\Windows\AppRepository*.
"

Reboot, then sysprep.
Hope above information can help you.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are you telling me that I should delete those folders with all their content?
I am with a local administrator user and I do not have permission.
I am with an Azure WVD machine

0 Votes 0 ·
JennyFeng-MSFT avatar image JennyFeng-MSFT joseluisbrioneslaguna-1959 ·

Hi,
If the problem is related to Azure WVD machine, it may be a bit complicated.
Let's look forward to other reply from forum users.

0 Votes 0 ·
prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered prmanhas-MSFT commented

@joseluisbrioneslaguna-1959 Apologies for delay in response and all the inconvenience caused because of the issue.

Is this a VM that is already part of WVD and domain joined? If yes, we don’t recommend to run sysprep in it.
Please use sysprep only to customize a marketplace image in a standalone VM.

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.




· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@joseluisbrioneslaguna-1959 Any update on the issue?

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

Thanks


0 Votes 0 ·