During a OSD task sequence in Configuration Manager, we ran into an error with a VBS script that has worked previously.
The error in the SMSTS.LOG file was: CScript Error: Can’t find script engine “VBScript” for script
The problem appears to be caused by a changed registry value: HKEY_LOCAL_MACHINE\Software\Microsoft\COM3\REGDBVersion
After some searching on the internet the solution was to add the modify the REGDBVersion to a value of hex:01,00,00
Add to task sequence via a Command Line: REG ADD HKLM\Software\Microsoft\COM3 /v REGDBVersion /t REG_BINARY /d 010000 /f