Configuration Manager 2012, Deployment, Logs, Registry, Script, Task Sequence

CScript Error: Can’t find script engine “VBScript” for script

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

Profit!

Advertisements
Configuration Manager 2012, Deployment, Logs, MDT, System Center, Task Sequence, Windows 7, Windows Preinstallation Environment

Failed to run the action: Use Toolkit Package – Error: 80070002; Source: Windows

Error:

Failed to run the action: Use Toolkit Package.
The system cannot find the file specified. (Error: 80070002; Source: Windows)

Use Toolkit Package Error 80070002

Environment:

System Centre 2012 R2 CU5 Integrated with MDT 2013. Deployment Windows 7 SP1 with Office 2013.

Cause:

If the Drive Letter task sequence variable is configured to True. This does not occur if it is configured to False.

Solution:

To work around this issue, create the following two Task Sequence variables at the very top of the Task Sequence:

SMSTSDownloadRetryCount = 5
SMSTSDownloadRetryDelay = 15

Place them immediately after the Execute Task Sequence group.

Deployment, Logs, MDT, Task Sequence, Windows Preinstallation Environment

Troubleshooting OSD – Now where are those logs again?

When troubleshooting you’re OSD, it is always good to know those log locations. Here is a quick list of the smsts.log and it’s locations during the deployment:

  • WindowsPE, before HDD format: x:\windows\temp\smstslog\smsts.log
  • WindowsPE, after HDD format: x:\smstslog\smsts.log
  • Windows, SCCM agent not installed: c:\_SMSTaskSequence\Logs\Smstslog\smsts.log
  • Windows, SCCM agent installed: c:\windows\system32\ccm\logs\Smstslog\smsts.log
  • Windows x64, SCCM agent installed: c:\windows\sysWOW64\ccm\logs\Smstslog\smsts.log
  • Task Sequence completed: c:\windows\system32\ccm\logs\smsts.log
  • Task Sequence completed x64: c:\windows\sysWOW64\ccm\logs\smsts.log

Are you PXE booting?

Better have this log file in you favourites; \\DPServer\D$\SMS_DP$\sms\logs\SMSPXE.log. It records details about the responses to PXE boot clients and details about expansion of boot images and boot files.