ZTImediahook.wsf

When I add prestart to MDT boot image in SCCM 2012 SP1 R2 , It launches HTA wizard.hta .
How is this boot image able to launch this HTA without adding HTA support to this MDT boot image ?
I double checked Optional components tab and there is no HTA optional component added to this boot image. 

The MDT boot images have the winpe-hta.cab loaded automatically during the boot image creation process.  It is not called out specifically, and is not even listed as an optional WinPE feature during the wizard (the only one selected by default is MDAC),
but it installs as a "standard component" during the creation process:
You can verify by checking the c:\windows\logs\dism\dism.log file during/after creation of an MDT boot image in ConfigMgr and you will see it installing the WinPE-hta.cab component:

Similar Messages

  • What is the role of BootStrap.ini in SCCM when using MDT

    How do I get SCCM to work with a BootStrap.ini file?
    I want my MDT BootDisk to provide information to the client in Windows PE.
    But I cant see how the BootStrap.ini works with SCCM MDT Deployments.
    Please help.
    Thanks

    Check out the ZTIMediaHook.wsf
    http://blogs.technet.com/b/mniehaus/archive/2009/09/30/mdt-2010-new-feature-20-general-purpose-configmgr-wizard.aspx
    ZTIMediaHook will import the bootstrap.ini file in order to get basic information before it continues.
    Keith Garner - keithga.wordpress.com

  • Unable to launch Litetouch.vbs (LiteTouch.wsf) from UNC path - A connection to the Deploayment Share Could not be made

    I am having a difficult time figuring out this issue. Here is the back story. The particular deployment share is not used in the traditional sense of deploying OS images. Instead, it is only used in deploying applications. I actually have three shares that
    do this catered to three different clientele groups; IT, teachers and students.
    I have these shares set up so that the Litetouch.vbs is used as a login script and tied to specific AD accounts. When launched, it goes through the normal MDT gathering process and eventually shows a list of applications to select to install.
    And this has and still is working perfectly for several years with both wired and wireless computers, until recently.
    My issue, I'm afraid, is with the new Intel Dual Band 7260 wireless cards/drivers (both N7260 and AC7260. The reason I suspect this is because any other desktop or laptop will launch the VBScript just fine and bring up the list of software like it has always
    done. However, if I UNC to the share and try to manually run LiteTouch.vbs, I get the "A connection to the deployment share cannot be made. Connection OK. Possible cause: Invalid credentials." That's right. I can UNC to the shares all day long, but
    when launching the LiteTouch.vbs or LiteTouch.wsf scripts, I always get the above error. So the wireless is working, in a way. Just not the way I need it to. I've tried different versions of drivers all with the same error. I've launched other VBScripts that
    I've wrote from UNC paths and they run fine.
    I am using a Domain Admin account to connect back to the deployment share through MDT. My account is a domain admin account. The share permissions are full control for Everyone and Domain Admins. The folder permissions are Read Only for Everyone and Full
    Control for Domain Admins. Like I stated, this works fine on any other system.
    When I look at the BDD.log file, sometimes I don't see anything, but most of the time I see the line "No physical adapters present. Cannot deploy over wireless." Which, in my case, is not true because I can use any other laptop with older
    Intel wireless cards, Broadcom, Atheros or whatever and it works perfectly. And, if I hardwire the offending laptops and use Ethernet instead of wireless, I can launch the VBScript and proceed just fine.
    I guess my question is, is there a way to force MDT to use any network connection, whether it's wired or wireless to deploy anything. In my case, it would be software.
    We use this option as a way for students in our high schools to be able to log in with a special account and install specific software they may need for a class. It is easier to have them do it this way than to try and install different software for
    different classes on a total of 4000 laptops.
    I am currently running Windows Server 2012 R2 with MDT 2013. The laptops are running Windows 7 SP1 x64 Enterprise and Windows 8.1.1 Enterprise.
    Any help or ideas anyone has to offer would be greatly appreciated.
    ~Mike

    I understand that you got MDT to work on other adapters, and I understand that some people dislike the AC series.
    However...
    I must strongly disagree with your conclusion:
    the Intel 7260 cards just will not work for this scenario. Any other wireless card works
    perfectly fine...
    As designed, MDT is coded to block Wireless deployment scenarios. However, the algorithm used to determine if a network adapter is wired vs wireless is highly flawed, it will check the description (caption) of the network adapter and search for the string:
    "Wireless". And if I recall, it is difficult to determine Wireless vs Wired within a VBSCript.
    Set colAdapters = objWMI.ExecQuery("select * from win32_NetworkAdapterconfiguration where IPEnabled = True")
    For Each oAdapter in colAdapters
    If Instr(UCase(oAdapter.Caption),"WIRELESS") = 0 Then
    If oAdapter.IPConnectionMetric < sIPConnectionMetric Or sIPConnectionMetric = "" Then
    sIPConnectionMetric = oAdapter.IPConnectionMetric
    End If
    End IF
    If Instr(UCase(oAdapter.Caption),"WIRELESS") Then
    sWirelessConnectionMetric = oAdapter.IPConnectionMetric
    End If
    Next
    If sIPConnectionMetric = "" Then
    oLogging.CreateEntry "No physical adapters present, cannot deploy over wireless", LogTypeError
    ValidatenetworkConnectivity = Failure
    Exit Function
    End IF
    On my Lenovo W530, for example, when I disable my Wired connection, my wireless adapter reports:
    PS C:\> gwmi -query "select * from win32_NetworkAdapterconfiguration where IPEnabled = true" | select-object Caption
    Caption
    [00000002] Intel(R) Centrino(R) Ultimate-N 6300 AGN
    AS you can see, no "Wireless" in the caption string.  A connection to the deployment share works just fine.
    Therefore...
    Yes, you *may* have gotten the installation to work on the machines that *just happen* to not have "wireless" in the caption, but I would not count on this to be true on all machines in a corporate environment.
    -k
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Wsf file opens in IE but not in firefox

    I have windows xp and flash player 9.  I created a wsf file and published it for flash player 9 and ActionScript3, and inserted it in a web page.  It opens in IE8 fine but when I try to open it in Firefox 3.6, it says: "content of this page requires a newer version of Adobe Flash Player" and a little box invites me to download it.
    I tried publishing for flash player 6 and Action Script2, but get the same results.
    Any help would be very much appreciated.

    And the results of the command - error msg, response, etc

  • Task Sequence (LiteTouch.wsf) does not restart after first logon on Windows 8.1 deployment

    Hi guys!
    I can't figure out what cause the issue.
    First, this is my setup :
    ADK installed
    MDT 2012 (upgraded from 2010 update 1)
    Boot wim regenerated from scratch
    LTIApply.wsf edited http://support.microsoft.com/kb/2797676/en-us
    Windows 8.1 configured and captured (my first Win 8/8.1 deployment)
    New task sequence for that wim.
    My issue is :
    The task sequence windows won't show up only with windows 8.1 deployment after the first logon. (I tried with a Windows 7 with the same setup, works flawlessly)
    I can see the desktop, but nothing show up. I have all the folders and files on the c: (MININT, _SMSTaskSequence LTIBootstrap). I clicked twice on LTIBootstrap, did nothing. I did an LiteTouch.wsf /start, nothing.
    I recaptured my Windows 8.1 (it was on a virtual machine) and I did a new TS. The issue still there.
    All the SMSOSD logs files are on http://sdrv.ms/18VPSKy
    Someone can help me on this? I'll be very happy!
    thanks!

    Was this ever resolved or does anyone have an idea how to fix it?
    I am having a similar issue. I deploy a custom Windows 8.1 image to a system and I get through the OS install, but I end up at the user login screen without the task sequence resuming (thus not running any windows update, doesn't join domain, or any post-install
    tasks). The built in administrator account also shows up as disabled.
    The only changes I have made to the unattend.xml for that image are *maybe* to fix the IE 10/11 error that crashes the deployment by deleting the IE welcome tag, and I have no choice but to make that change when it happens.

  • Help with custom code in ZTIGather.wsf

    To pick up WMI "version" info to deal with Lenovo computer models I found this code and integrated it by adding these lines to ZTIGather.wsf:
    ABout line 542:
    oEnvironment.Item("LenovoModel") = sLenovoModel
    About line 383
            ' Get the Lenovo Model Version from the Win32_ComputerSystemProduct class
            ' Siva Mulpuru | 10:30 PM Monday, February 14, 2011        
            Set objResults = objWMI.ExecQuery("select * from Win32_ComputerSystemProduct")
            For Each objInstance In objResults
                sLenovoModel = objInstance.Version
            Next
            if sLenovoModel = "" then
                oLogging.CreateEntry "Unable to determine LenovoModel tag via WMI.", LogTypeInfo
            End if
    The code works as intended, and appears to present no problems when imaging from a USB stick, however, when running a standalone image media or trying to launch the wizard from LiteTouch.wsf, the wizard starts and hangs on the initialization step.
    If I remove the additional code from ZTIgather.wsf the issue disappears. Looking at the code, does anyone have any ideas?
    sd

    To pick up WMI "version" info to deal with Lenovo computer models I found this code and integrated it by adding these lines to ZTIGather.wsf:
    ABout line 542:
    oEnvironment.Item("LenovoModel") = sLenovoModel
    About line 383
            ' Get the Lenovo Model Version from the Win32_ComputerSystemProduct class
            ' Siva Mulpuru | 10:30 PM Monday, February 14, 2011        
            Set objResults = objWMI.ExecQuery("select * from Win32_ComputerSystemProduct")
            For Each objInstance In objResults
                sLenovoModel = objInstance.Version
            Next
            if sLenovoModel = "" then
                oLogging.CreateEntry "Unable to determine LenovoModel tag via WMI.", LogTypeInfo
            End if
    The code works as intended, and appears to present no problems when imaging from a USB stick, however, when running a standalone image media or trying to launch the wizard from LiteTouch.wsf, the wizard starts and hangs on the initialization step.
    If I remove the additional code from ZTIgather.wsf the issue disappears. Looking at the code, does anyone have any ideas?
    sd
    Editing post...
    So at first I was just using the downloaded copy from the site where I got the code and realized that the ZTIGather.wsf versions were different.
    Just editing the correct version of the file gets passed the above, but then it hangs on "Getting local computer information: Asset Information" I know its choking on the code somehow as the WMI function referenced in my original message comes right after
    getting the asset info.

  • How to silently install CSA using .wsf script

    I created an agent kit that does a quiet install, so it doesn't prompt the user, but it does display a couple of status boxes. It is possible to do a completely silent install? The config guide indicates that it can be done but doesn't give an example. I'm using the command "oExec = wshShell.Run ("CSA-setup.exe", 0, true)" in a .wsf file, where CSA-setup.exe is the agent kit file from the CSA MC.

    You should be able to write
    CSA-setup.exe /s --autolevel=1 --noreboot=1
    Read more here:
    http://www.cisco.com/en/US/customer/products/sw/secursw/ps5057/products_qanda_item09186a008049ad72.shtml#qa15

  • Problem with ztisetbackground.wsf in MDT 2013 and Windows 8.1

    Has anyone found a way to get ztisetbackground.wsf to work with a Windows 8.1 build after the WinPE phase?  It works fine with Windows 7 builds.
    Ad(Thanks)vance!
    JJ

    Unfortunately not.  Doesn't look like it will be fixed in the upcoming release of MDT 2013 Update 1 based on the following post...
    http://blogs.technet.com/b/mniehaus/archive/2015/03/03/mdt-2013-update-1-preview-what-s-changed.aspx.

  • MDT 2013 - Litetouch.wsf continues to run at login

    Hi all! I recently imaged a server with MDT 2013 and after it booted into Windows one of the applications I configured to install crashed and we ended up with an incomplete deployment. In this case this was fine and we moved on, but now every time a user
    logs in something is attempting to launch the Litetouch.wsf script. I ran LTICleanup manually and removed the MININT folder, but I continue to get a pop-up at login that Litetouch cannot be found.
    I have tried every registry key I am aware of HKCU and HKLM Run and Runonce keys and also checked the startup folders for every user. What is calling Litetouch? How can I stop this from happening? Thanks!

    Hi Matt McNabb,
    I guess you must create some script execute Task Sequence in your deploy task and it not complete because the deploy error occur, you can delete this script then try again,
    this forum is mainly for WDS related issue it’s not the best place to talk about the MDT issue, there have a specific MDT support forum you can post in MDT support forum and get the MDT expert further support.
    MDT support 
    forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=mdt
    Thanks for your understanding and support.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • MDT Fail to Join Domain - ZTIDomainJoin.wsf Incorrect Function

    I've got a large percentage of clients failing to run the Recover from Domain task. All I get in the smsts.log file is:
    Failed to run the action: Recover From Domain.
    Incorrect function. (Error: 00000001; Source: Windows)    TSManager    7/18/2014 10:32:20 AM    3760 (0x0EB0)
    ZTIDomainJoin.log doesn't even exist so I'm assuming the script doesn't run. Users have proper permissions since the same user is able to properly join the domain via MDT on other machines. This problem is sporadic and inconsistent.
    Anybody else have this problem and/or know of a solution?

    It could be that the script crashed. Did you upgrade the deployment share recently? Can you run the script manually?
    cscript.exe
    \\MDTServer\DeploymentShare$\Scripts\ZTIDomainJoin.wsf /debug:true /debugcapture
    Thanks
    Keith in the 98118
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • 'Unable to find LiteTouch.wsf...' - after deployment via MEDIA/USB

    Hey, and thanks for any advice in advance :-)
    I'm having some problems when I deploy a captured image of Windows Server 2012, using a media located on a USB drive. After the deployment is complete, and Windows boots up, I get an error message stating:
    'Script not found
    Unable to find LiteTouch.wsf needed to continue the deployment.'
    Additionally, when I check either of BDD.log and LiteTouch.log in the MININT folder on the deployed system, the following error message is shown,
    '<![LOG[FAILURE ( 5212 ): Welcome wizard failed or was cancelled]LOG]!><time="08:15:10.000+000" date="11-26-2012" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">'
    Any suggestions to what might be causing this error to appear?

    Are you removing the USB post boot? how are driver allocated and how was the USB media prepared?
    Thanks for the specifying questions, I knew I was missing important information :)
    - I'm not removing the USB flash drive, however that would have been an obvious fix.
    - I have 3 sets of drivers: Nvidia graphics drivers, the newest HP z420 drivers (since I'm deploying to a HP z420), and a single HikVision driver, for some camera support.
    The NVidia and HikVision drivers are both imported right into the 'Out-of-box Drivers', and the HP z420 drivers are imported into a subfolder under Oob drivers, called 'z420'. I have thought that the subfolder and the HP z420 drivers might have something to
    do with this, but the same happens for another build, made for a HP z420 workstation, and this image only has the NVidia and HikVision drivers.
    - The USB media is, after the image is created, prepared by:
    Formatting the USB flash drive.
    Creating a new media, located at the flash drive.
    Setting up the properties of the media as wanted (e.g. no .iso boot image should be made, and selection profile for driver injection is set to 'everything')
    Updating the media.
    This creates a 'Content' folder on the USB, which contains three folders (Boot, Deploy, EFI) and three files (Autorun, bootmgr, bootmgr.efi). I cut out the content of the 'Content' folder, paste it to the root of the USB, and delete the content folder, so
    only the three folders and three files are present at the USB.

  • Litetouch.wsf missing from start up..

    Info:
    MDT 2010 Update 1 server.
    I didn't install or maintain it.   I just recently took ownership of it.
    Upgrading is not currently an option..
    I have a Win7 x64 thin image w\updates  that I deploy with MDT 2010 with no issues..
    I recently placed that image on a virtual machine, applied 200 updates and ran the sysprep&capture task sequence.
    It captures fine..  Problem is when I try to deploy it..
    It images with no issues.  But when the computer boots up, I logon and it doesn't continue.
    After a lot of google searches..
    I have found out that the litetouch.wsf does not launch and is not in the startup.
    Before I knew it was supposed to be in the startup.   I mounted the image and placed a shortcut on the desktop that pointed to the file on C:\minint\litetouch.wsf.
    The file shows up in the image if I mount it.  But disappears when I place the image on a machine.
    So right now, I don't know why it is not showing up in the startup.
    Thanks
    Info From Sharepoint

    Check the BDD.log file, you should see litetouch.wsf running from within Windows OOBE. If not then confirm that the image was "syspreped" properly.
    Keith Garner - keithga.wordpress.com

  • Cannot execute litetouch.wsf from .hta

    Hi,
    I am working on a Windows 7 deployment via MDT 2010 Beta2. Until now we have been deploying Windows XP using MDT 2008.
    We have 'always' used a .hta-menu from which the user of the mdt-media can choose between wiping the disk, starting the installation (basically executing the litetouch.wsf) and a few other things.
    I want to keep using this menu, but when I try executing the litetouch.wsf from WinPe 3.0 I receive different errors, regarding 'Class Not registered', 'Media Write Protected' and a few others.
    I read that in WinPE 2.0 you had to install the XML-components to make executing wsf from within PE work. What is the trick with WinPE 3.0?
    Thanks in advance!
    /Michael

    It is generated by MDT 2010.
    I believe the script never even starts.
    Part of the .hta i pasted below. I have highlighted the line that is failing. I have tried running the script via wscript.exe.
    If I run the "x:\Deploy\Scripts\LiteTouch.wsf" from a command prompt within the WinPE the script runs just fine.
    Sub RunScript
        If UserOption(0).Checked Then
     Set objShell = CreateObject("Wscript.Shell")
            objShell.Run "x:\Deploy\Tools\slet.cmd"
            window.close()
        End If
        If UserOption(1).Checked Then
     Set objShell = CreateObject("Wscript.Shell")
     objShell.Run "x:\Deploy\Scripts\LiteTouch.wsf"
            window.close()
        End If
        If UserOption(2).Checked Then
            Set objShell = CreateObject("Wscript.Shell")
            objShell.Run "wpeutil reboot"
            window.close()
        End If
    End Sub

  • Modify LiteTouch CustomSettings.ini/vbs/wsf to skip repartitioning task

    I have been given a bootable USB stick that contains a LiteTouch deployment that we are using for our Win7 migrations. I have also been investigating USMT hardlink backups/restores and my problem is that the LiteTouch deployment has a task in there that
    repartitions and wipes the drive.
    While I am unable to modify the tasks via LiteTouch / MDT, I am able to modify the contents of the USB stick, so I thought perhaps there is something I can put in the CustomSettings.ini to prevent this step from happening. I added:
    DeploymentType=REFRESH
    OSDStateStorePath=c:\backup
    OSDMigrateAdditionalRestoreOptions=/nocompress /hardlink
    thinking that the DeploymentType being refresh would instruct the deployment to not do a repartition/wipe, but that didn't work.
    The USB has an autorun.inf which calls upon BDD_autorun.wsf, which in turn executes the LiteTouch.vbs script. I tried modifying that to pass in the DeploymentType flag:
    If oShell.Popup( WelcomeMessage1 & vbNewLine & WelcomeMessage2, 15, WelcomeHeader1, 1 or 64) = 1 then
    oShell.Run "cscript.exe //nologo """ & WScript.ScriptFullName & "\..\LiteTouch.vbs /DeploymentType:REFRESH""",,FALSE
    End if
    but that too failed.
    Does anyone know how or what can modify to prevent the repartitioning step to occur by just modifying the CustomSettings.ini, or any vb/wsf file?
    thanks,

    MDT Litetouch.wsf launched ( as see in bdd.log ) the Stand Alone Task Sequencer
    About to run command: "C:\MININT\Tools\X86\TsmBootstrap.exe" /env:SAStart LiteTouch 12/11/2013 2:33:57 PM 0 (0x0000)
    Property LTIDirty is now = TRUE LiteTouch 12/11/2013 2:33:57 PM 0 (0x0000)
    Command completed, return code = -2147467259 LiteTouch 12/11/2013 2:34:01 PM 0 (0x0000)
    Litetouch deployment failed, Return Code = -2147467259 0x80004005 LiteTouch 12/11/2013 2:34:01 PM 0 (0x0000)
    However, as you can see, the Task Seqence Manager returned an error.
    Going into the smsts.log file, we can see that one of the steps returned an error:
    !--------------------------------------------------------------------------------------------! TSManager 12/11/2013 2:34:00 PM 5640 (0x1608)
    Expand a string: WinPEandFullOS TSManager 12/11/2013 2:34:00 PM 5640 (0x1608)
    Executing command line: cmd /c copy "%SCRIPTROOT%\custom\CustomSettings2.bak" "x:\windows\system32\CustomSettings2.ini" TSManager 12/11/2013 2:34:00 PM 5640 (0x1608)
    Process completed with exit code 1 TSManager 12/11/2013 2:34:00 PM 5640 (0x1608)
    !--------------------------------------------------------------------------------------------! TSManager 12/11/2013 2:34:00 PM 5640 (0x1608)
    Failed to run the action: Copy Custom Settings.
    Incorrect function. (Error: 00000001; Source: Windows) TSManager 12/11/2013 2:34:00 PM 5640 (0x1608)
    The step was *NOT* marked as "continue on error" in the MDT Task Sequence, so... the task sequence died.
    Either: remove the step, Mark it as "continue on error", or some other error in your command needs to be fixed.
    Keith Garner - keithga.wordpress.com

  • Windows 10 Enterprise build 9926 no success using GPOPack wsf

    Trying to create a golden image for others to use to test. Have tried to modify the SCM 3.0 GPOPack.wsf and the latter released Win81-WS2012R2-IE11-Baselines-FINAL.zip to no avail.  Anyone have any luck modifying it if so what is
    the script change line(s) needed?
    Thanks!

    Hi,
    I checked again and the update are available to install on both pro and Enterprise.
    Please take a look at the system requirements part and cehc kto see if any things not meet there.
    My testing machine is both on the version of Windows 10 build 10061.
    Regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Flash movie display in Mozilla Firefox

    I have a website that has a flash embedded header. It display fine in IE but in mozilla Firefox it display the header twice. here is the link to the website: http://anationtv.com. Please advise, thank you...

  • Different pricing procedure in delivery

    Dear All, In STO scenario we are sending material from mfg plant to Depots, Sales area defined for STO 1001,20,PP where till now we have used only one pricing procedure in Delivery(NL) & Billing (F8), but due to business requirement we want maintain

  • Increase bScale in DBPARAMBINDINFO Error in PB 12.1 Ver 7000

    Hello.  Can't seem to get around the below error in PB 12.1 Ver 7000 when calling a Stored Procedure from Powerscript and am passing Datetime values.  I have played around with the connection strings Date formatting, but no matter what I attempt, it

  • Third Party Application Integration with Oracle EBS Without any middleware

    Hi, Please give suggestions about the Third Party Application Integration with Oracle EBS Without any middleware. Can we achieve this? Thank you, Muhammad Nasir Edited by: User129 on Feb 4, 2013 3:45 AM

  • Enhancing standard ESS Component

    Hi Experts, I am going to make changes in standard ESS component in WD ABAP through enhancement button given on menu by creating an enhancement implementation. I want to know is it the right way to create enhancement and suppose any enhancement packa