Jump to content

Recommended Posts

Posted (edited)

Hi All

 

Can someone help please.

 

We have syspreped many Windows 7 machines with no issues but are finding Windows 10 is very different due to Windows Store.

We are trying to sysprep a machine for a master image to then install on all other devices.

 

We receive the following report when trying:

 

2019-07-28 19:48:50, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.2019-07-28 19:48:50,

Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 32019-07-28 19:48:50,

Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode 2019-07-28 19:48:50,

Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml2019-07-28 19:48:50,

Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is 2019-07-28 19:48:50,

Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD642019-07-28 19:48:50,

Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll2019-07-28 19:48:50,

Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error2019-07-28 19:48:50,

Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.2019-07-28 19:48:50,

Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 12019-07-28 19:48:50,

Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode 2019-07-28 19:48:50,

Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml2019-07-28 19:48:50,

Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is 2019-07-28 19:48:50,

Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD642019-07-28 19:48:50,

Info SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll2019-07-28 19:48:50,

Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error2019-07-28 19:48:50,

Info SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll2019-07-28 19:48:50,

Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.2019-07-28 19:48:50,

Error SYSPRP Package RealtekSemiconductorCorp.RealtekAudioControl_1.1.135.0_x64__dt26b99r8h8gj was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.2019-07-28 19:48:50,

Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.2019-07-28 19:48:50,

Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.2019-07-28 19:48:50,

Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf22019-07-28 19:48:50,

Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf22019-07-28 19:48:50,

Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf22019-07-28 19:48:50,

Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf22019-07-28 19:48:50,

Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf22019-07-28 19:48:51,

Info [0x0f0052] SYSPRP Shutting down SysPrep log2019-07-28 19:48:51, Info [0x0f004d] SYSPRP The time is now 2019-07-28 19:48:51

 

 

 

We are guessing it's something to do with Realtek but don't seam to be able to fix it.

 

We have tried the following commands in powershell:

 

Command 1

Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

 

Command 2

Get-AppXPackage -AllUsers | Where-Object {$_.InstallLocation -like "RealtekSemiconductorCorp.RealtekAudioControl_1.1.135.0_x64__dt26b99r8h8gj*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}

 

Command 3

Remove-AppxPackage -Package RealtekSemiconductorCorp.RealtekAudioControl_1.1.135.0_x64__dt26b99r8h8gjCommand 4Get-AppxProvisionedPackage -online | Out-GridView -PassThru | Remove-AppxProvisionedPackage -onlineGet-AppxPackage -AllUsers | Out-GridView -PassThru | Remove-AppxPackage

 

 

Any help would be greatly appreciated.

 

Many, Many thanks in advance.

GBMicros

Edited by GBMicros
Posted (edited)
We are guessing it's something to do with Realtek but don't seam to be able to fix it.

When using SysPrep, it's best practice to create the reference image in a VM since you won't have hardware-specific apps messing things up (as you have already experienced with Realtek).

 

I would also do what @free780 suggested and create the image with the linked scripts or while disconnected from the Internet to prevent Store apps updating in the background.

Edited by Arthur
Posted

How many "User Profiles" are stored on the computer?

"was installed for a user, but not provisioned for all users" - Try deleting any unnecessary profiles that are not needed.

Posted

Hi All

 

Thanks for all the replies.

 

Answering the questions above,

This is on a physical machine (Laptop)

 

We have never taken a VM image and used that before so not 100% sure how, we do have one with all the same pieces of software installed so it would be possible

 

We have removed all other users and profiles

 

We are still in the same situation with Realtek.

 

We will have to look at using the VM

 

Any other suggestions very welcome.

 

Thanks

GBMicros

Posted
As others have said, Images should be built and captured on VM's. The main problem with sysprep is the store apps, in my experience. Make sure you have not connected your reference machine to the internet and none of the store apps will update. Good practice to not connect reference images to the internet anyway.
Posted

Hi All

 

After a few days we came to the same conclusion as Rosslaing, DON'T connect the device to the internet.

We installed Windows and all required programs we could with off-line installers.

Joined it to the domain and set all settings.

We have access to a WSUS server so managed to get all the updates applied.

 

So far things look good, even retaining all the settings.

No issues from SYSPREP at all, worked fine.

 

So the solution we found for us, should anybody need it was don't let Windows 10 see the internet.

 

Thanks for all the help.

 

GBMicros

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...