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 which details setting the following registry key to bypass this 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]


[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 .