denzal2k4 Posted August 4, 2015 Posted August 4, 2015 Has anyone managed to do this yet, don't know if my problem is specific to my build or a general issue, but it keeps failing sysprep saying "sysprep was not able to validate your windows installation, review the log file.... The logfile shows this: "2015-08-04 12:59:44, Error SYSPRP Package Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2015-08-04 12:59:44, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2015-08-04 12:59:44, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2015-08-04 12:59:44, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2015-08-04 12:59:44, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2015-08-04 12:59:44, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2 2015-08-04 12:59:44, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2015-08-04 12:59:44, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2" this is when trying to run sysprep direct and via sccm capture media, running windows 10 Education clean install oon a hyper-v machine. Anyone?
sparkeh Posted August 4, 2015 Posted August 4, 2015 (edited) For Windows 8 but exact same error (Scenario 3): https://support.microsoft.com/en-us/kb/2769827 Edited August 4, 2015 by sparkeh 1
denzal2k4 Posted August 4, 2015 Author Posted August 4, 2015 Gah, that sounds like the issue then, I stupidly assumed right clicking and choosing uninstall would be enough for the apps, clearly not! Spend another day rebuilding the image then. Thanks Sparkeh!
rob998 Posted August 4, 2015 Posted August 4, 2015 How did you create your unattend.xml file? Did you use the Windows Imaging and Configuration Designer. Also do you use the copyprofile option for Windows 10?
Arthur Posted August 4, 2015 Posted August 4, 2015 I think there's still a known issue with sysprep on Windows 10. Note #1: Having a local WSUS server is useful for any type of deployment but in the case of Windows 10 it’s almost a must since currently Windows 10 cannot be allowed to connect to Internet, or the Sysprep process will fail (known issue). http://deploymentresearch.com/Research/Post/496/Building-a-Windows-10-Reference-Image-using-MDT-2013-Update-1
denzal2k4 Posted August 5, 2015 Author Posted August 5, 2015 I've now reinstalled a Win 10 OS and some apps and tried the SCCM capture media which is now working, so I believe Sysprep failed due to the fact I had tried to remove start menu items by right clicking and choosing uninstall! 1
snagrat Posted August 5, 2015 Posted August 5, 2015 I'm getting the exact same error but I didn't try to remove any apps. Was the machine kept away form the internet?
Tefters Posted August 5, 2015 Posted August 5, 2015 I had this issue yesterday after 2 days off removing provisioned appx packages from images. I'm about to sysprep with a SCCM capture image my final build which if my theory is right should hopefully work, will report results within the hour
snagrat Posted August 5, 2015 Posted August 5, 2015 I had this issue yesterday after 2 days off removing provisioned appx packages from images. I'm about to sysprep with a SCCM capture image my final build which if my theory is right should hopefully work, will report results within the hour And the fix was.....?
Tefters Posted August 5, 2015 Posted August 5, 2015 (edited) And the fix was.....? Waiting for Serif suite to install in the image and then will sysprep it with the SCCM capture media, 20 mins tops now hopefully then I will let you know if it worked. I usually just deploy Serif suite as a package but the sheer amount of files to copy means its an hour long copy/install which is a joke so I want a faster build time. Edited August 5, 2015 by Tefters Edit
denzal2k4 Posted August 5, 2015 Author Posted August 5, 2015 Just got mine capturing again now, sysprepped Ok, only difference is I haven't "uninstalled" any of the new metro apps, other causes can be if you have upgraded from a previous os (there is a reg key that needs to be deleted to get round this), might also need to reset the rearm count if you have tried multiple times? Win 10 Education Activated Office 2013 Fully Windows and Office updated On the network, Internet fine Start layout tweaked , no metro apps uninstalled. HTH
snagrat Posted August 5, 2015 Posted August 5, 2015 My new machine has sysprepped but I made sure that didn't touch the internet. Gonna try removing apps and try again
Norphy Posted August 5, 2015 Posted August 5, 2015 Personally, anything with Bing, Xbox, 3d Builder, Skype, Zune or Solitaire in the name.
Tefters Posted August 5, 2015 Posted August 5, 2015 (edited) Right well good news... NOT... I've managed to captures image without removing provisioned appxpackages absolutely fine but when you remove them and capture it does not work and sysprep fails... feck feck feck feck feck grrrrr EDIT:- Ok time for plan B or C, either deploy standard ISO/WIM and then run a powershell script to remove provisionedappxpackages with the -online switch after the build has deployed or mount the WIM offline and try that way. Getting sick of rebuilding 10 over and over already... Edited August 5, 2015 by Tefters
snagrat Posted August 5, 2015 Posted August 5, 2015 I've managed to remove apps and sysprep. I've now reconnected to net and doing updates and will try capture after that.
Tefters Posted August 5, 2015 Posted August 5, 2015 (edited) I ran through the process of:- Install ISO Activate administrator Restart and delete all other user accounts Remove all app via powershell remove-provisionedappxpackage Change bcdedit Remove all active apps via powershell with remove-appxpackage -all users Install a office, serif, photoshop Windows Update Run capture image ISO fro SCCM and fail on sysprep EDIT: Having just read through that Technet article again they are saying you have to remove-appxpackage from the default users first and then remove-provisionedappxpackage ? If you simple delete the default user installed then it doesn't work... Edited August 5, 2015 by Tefters
snagrat Posted August 5, 2015 Posted August 5, 2015 I've only used Remove-AppxPackage so far, not used the provisioned command yet
Tefters Posted August 5, 2015 Posted August 5, 2015 (edited) I've only used Remove-AppxPackage so far, not used the provisioned command yet Your going to have issues then, Remove-AppxPackage only works for current profile your logged on as and if you add the -AllUsers switch (Remove-AppxPackage -AllUsers ...) then it will do all current users on the machine, newly created profiles will still get all the apps. If you want to stop new profiles from getting the apps you need to use Remove-ProvisionedAppxPackage Welcome to my world of hurt now! EDIT - Here's some info: https://technet.microsoft.com/en-us/library/hh856038.aspx & https://technet.microsoft.com/en-us/library/hh824882.aspx?f=255&MSPPError=-2147217396 Edited August 5, 2015 by Tefters
denzal2k4 Posted August 5, 2015 Author Posted August 5, 2015 We've decided what's the worst thing that can happen if a kid has access to the weather app, Xbox etc? Most of the stuff doesn't work anyway as they aren't signed into a Microsoft account.
Tefters Posted August 5, 2015 Posted August 5, 2015 We've decided what's the worst thing that can happen if a kid has access to the weather app, Xbox etc? Most of the stuff doesn't work anyway as they aren't signed into a Microsoft account. I did that in Windows 8 but then the Start Menu just looks pants, I managed to do it in 8.1 and remove everything but for the life of me cant remember how as that was a year ago, i blame alcohol... and teachers...
snagrat Posted August 5, 2015 Posted August 5, 2015 Your going to have issues then, Remove-AppxPackage only works for current profile your logged on as and if you add the -AllUsers switch (Remove-AppxPackage -AllUsers ...) then it will do all current users on the machine, newly created profiles will still get all the apps. If you want to stop new profiles from getting the apps you need to use Remove-ProvisionedAppxPackage Welcome to my world of hurt now! EDIT - Here's some info: https://technet.microsoft.com/en-us/library/hh856038.aspx & https://technet.microsoft.com/en-us/library/hh824882.aspx?f=255&MSPPError=-2147217396 Oh I know that, but one step at a time
Tefters Posted August 5, 2015 Posted August 5, 2015 Oh I know that, but one step at a time I'm going for 1 final test now:- ISO build remove-appxpackage ..... remove-appxpackage -allusers ..... remove-provisionedappxpackge ..... capture image If this doesn't work then i'm just going to use standard ISO, add apps and tweaks, capture media and then run a powershell script in my task sequence with the remove-provisionedappxpackage.
Norphy Posted August 5, 2015 Posted August 5, 2015 We've decided what's the worst thing that can happen if a kid has access to the weather app, Xbox etc? Most of the stuff doesn't work anyway as they aren't signed into a Microsoft account. You're not wrong but the trouble with that is that every time a new user logs onto a PC, it has to spend time installing the provisioned appx packages. This increases the logon times and has the potential to annoy your users. That is why I remove those packages rather than any real concerns about what a user does with them.
snagrat Posted August 5, 2015 Posted August 5, 2015 So I did this: Built image on workgroup from SCCM, with administrator password set Logged in as administrator Ran Get-AppxPackage *3d* | Remove-AppxPackage to delete all the packages I di not want Ran Remove-AppxProvisionedPackage -PackageName Microsoft.Zune.xxx333.444.xxxx (etc) for each package I didn't want. And Syspreped Test now is what will a new user get when they sign in.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now