Closed ThumbsUpCode closed 8 years ago
It's not missing. I wasn't sure if we could redistribute Microsoft code so we left it up to you to download MDT and modify the file.
RMT_LTIApply.wsf is based on LTIApply.wsf which is included with the MDT Deployment Toolkit. The only modification to the file is the removal of the /mbr parameter on the bootsect.exe command. You are responsible for making this update in your Deployment Toolkit package.
Here's what the line looks like after removing the /mbr command.
oLogging.CreateEntry "Executing BOOTSECT.EXE to install a Vista boot sector", LogTypeInfo
iRC = oUtility.FindExeAndRunWithLogging( "bootsect.exe", "/nt60 " & sBootDrive)
Thanks, That made sense. I overlooked couple of words though, I m still testing it.
I'm running into a slightly different problem. I made the modification but the script is returning the "Class not defined" Here are the log entries.
Property LogPath is now = C:\Windows\CCM\Logs\SMSTSLog RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) Property pe is now = RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) Microsoft Deployment Toolkit version: 6.3.8330.1000 RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) The task sequencer log is located at C:\Windows\CCM\Logs\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) Property Debug is now = FALSE RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) FAILURE (Err): 506: Create object: Set oScriptClass = New RMT_LTIApply - Class not defined RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) FAILURE ( 5400 ): Create object: Set oScriptClass = New RMT_LTIApply - Class not defined RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000)
Any idea what I'm missing?
You seem to be missing a building block of .wsf (ZTIUtil... vbs). Find attached pic.
`
<script language="VBScript" src="ZTIConfigFile.vbs"/>
<script language="VBScript" src="ZTIDiskUtility.vbs"/>
<script language="VBScript" src="ZTIUtility.vbs"/>
<script language="VBScript">
' // ' // ' // Copyright (c) Microsoft Corporation. All rights reserved. ' // ' // Microsoft Deployment Toolkit Solution Accelerator ' // ' // File: RMT_LTIApply.wsf ' // ' // Version: 6.3.8298.1000 ' // ' // Purpose: Apply image (OS or PE) to the hard drive ' // ' // Usage: cscript.exe [//nologo] RMT_LTIApply.wsf [/debug:true] [/pe] [/post] ' // ' //
Option Explicit RunNewInstance
'//---------------------------------------------------------------------------- '// Main Class '//----------------------------------------------------------------------------
Class RMT_LTIApply`
That did the trick. thanks
You seem to be missing a building block of .wsf (ZTIUtil... vbs). Moreover, attached script for reference.
Regards,
From: James Geater notifications@github.com Sent: 25 October 2016 17:07:41 To: target/sccmosd-refresh-multitool Cc: ThumbsUpCode; Author Subject: Re: [target/sccmosd-refresh-multitool] Looks like - RMT_LTIApply.wsf is missing (#3)
I'm running into a slightly different problem. I made the modification but the script is returning the "Class not defined"
Here are the log entries.
Property LogPath is now = C:\Windows\CCM\Logs\SMSTSLog RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) Property pe is now = RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) Microsoft Deployment Toolkit version: 6.3.8330.1000 RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) The task sequencer log is located at C:\Windows\CCM\Logs\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) Property Debug is now = FALSE RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000) FAILURE (Err): 506: Create object: Set oScriptClass = New RMT_LTIApply - Class not defined RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000)
FAILURE ( 5400 ): Create object: Set oScriptClass = New RMT_LTIApply - Class not defined RMT_LTIApply 10/25/2016 7:33:09 AM 0 (0x0000)
Any idea what I'm missing?
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/target/sccmosd-refresh-multitool/issues/3#issuecomment-256011112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATLOkbaEQzUmoAKkj8lIvywhhM5HRr-Bks5q3eoFgaJpZM4I8mSr.
Looks like - RMT_LTIApply.wsf is missing