Sdílet prostřednictvím


Sysprep Fails if installing Windows Management Framework 5.1

If you happen to be unfortunate enough to still be creating Windows 7 or Windows Server 2008 R2 SP1 Images you might be so inclined to have your reference image as up to date as humanly possible with an OS that shouldn't be deployed at this point. Nevertheless if this is you i happen to have stumbled upon this myself and found the following blog post https://sccm-zone.com/fix-sysprep-error-on-windows-2008-r2-after-windows-management-framework-5-0-installation-b9e86b4c41e4 which details setting the following registry key to bypass this error.

Error:

Sysprep_Generalize_MiStreamProv: RegDeleteValue for target uri failed with error = 2[gle=0x00000002]
Sysprep_Generalize_MiStreamProv: RegDeleteValue for full payload time failed with error = 2[gle=0x00000002]

Fix:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\StreamProvider] “LastFullPayloadTime”=dword:00000000

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use .

Comments

  • Anonymous
    May 18, 2018
    This has been reported for over two years now. Still no fix??