How To: Manually Create Disconnected Template

Version 18

    Purpose

     

    This is an unofficial guide to manually creating a disconnected template. It is offered in the hopes it is helpful, but will not be supported by LANDESK support (in whole or in part).

     

    Official Guide How to Create a Disconnected Provisioning Template

     

    Note: This guide was assembled to address an issue where Disconnected Templates can not be created through the console. It is highly recommended you use the official method where possible.

     

    Disclaimer

     

    Please Read the LANDESK Share IT Disclaimer

     

    Items Required

     

    • USB Removable Drive
      • Requires enough space to contain the image *.tbi file
    • Captured Image file
    • Access to an LDMS Core
      • Certain files will need to be obtained from the Core

     

     

    Steps

     

    • Format the drive and make it bootable. The LDMS core will make the thumb drive FAT32, but it has been successfully tested using NTFS as well.
      • Microsoft Article: Create a Bootable USB Flash Drive
      • Note: if you don't make the drive bootable, the computer will not recognize that it can be loaded from on boot, and will return you to the boot menu.

     

    • On the root of the device create 4 new folders named:
      • Boot
      • ctos
      • EFI
      • ldprovision

     

    1-4 new folders.png

     

     

    • In the EFI folder creat the following subdirectories
      • EFI\Boot
      • EFI\Microsoft\Boot
    • From the LDMS Core copy the following files to their corresponding folder on the Removeable Device
      • {Root}
        • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\bootmgr
        • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\bootmgr.efi
        • 3ba63a5f-1e1a-4154-af5a-737c54632930.script - Attached to this document.
          • This is the LD_Default_Unattend.xml from the provisioning task. If you choose to use your own unattend.xml, rename it to: 3ba63a5f-1e1a-4154-af5a-737c54632930.script
        • If using ImageW
          • Use offline_task.xml - Attached to this document. Valid for a TBI image deployment.
        • If using ImageX
        • Your custom image (TBI or SWM)
          • Include any corresponding .1, .2 etc files.
      • Boot
        • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\BCD
        • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\boot.sdi
        • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\boot.wim
        • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\boot_x64.wim
      • ctos
        • C:\ProgramData\LANDesk\ManagementSuite\ldlogon\CBA.DL_
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\cba8inst.msi
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\lclxsvc.dll
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\ldms.vroot
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\libeay32.dll
        • C:\ProgramData\LANDesk\ManagementSuite\ldlogon\MSGSYS.DL_
        • C:\ProgramData\LANDesk\ManagementSuite\ldlogon\MSGSYS.EX_
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\nts.dll
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\pds.dll
        • C:\ProgramData\LANDesk\ManagementSuite\ldlogon\PDS.EX_
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\rainstall.exe
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\ssleay32.dll
        • C:\Program Files\LANDesk\ManagementSuite\ldlogon\vcredist_x86.exe
      • EFI
        • Boot (G:\EFI\Boot)
          • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\bootx64.efi
        • Microsoft (G:\EFI\Microsoft)
          • Boot (G:\EFI\Microsoft\Boot)
            • C:\Program Files\LANDesk\ManagementSuite\landesk\vboot\BCD
      • ldprovision
        • Your custom self contained agent.exe
        • All Files from C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\
          • Exclude the winpe_x86 directory, it does not appear to be needed on the thumb drive.
            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ApplyDrivers.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ApplyDrivers_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\CaptureImageHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\CaptureImageHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\CaptureProfileHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ClientActionHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ClientActionHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ConfigHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ConfigHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ConfigTargetOSHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ConfigTargetOSHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\CopyFileHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\CopyFileHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\CoreFQDN.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DeleteFileHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DeleteFileHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DeployImageHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DeployImageHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DeployProfileHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DeviceNamePromptHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DeviceNamePromptHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DownloadHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\DownloadHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ExecuteHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ExecuteHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\GetFileHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\GetFileHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\HIIHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\HIIHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\imagew.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\imagew_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\imagex.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\imagex_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\InjectScriptHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\InjectScriptHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\JoinDomainHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\JoinDomainHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\LANDesk.ManagementSuite.Diagnostics.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\LANDesk.Provisioning.Business.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\LaunchLdprovisionAsUser.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\LaunchLdprovisionAsUser_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ldProvision.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ldprovision_config.windows.xml

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ldProvision_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ldthumb32.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\MakeBootMedia.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ManageDirectoryHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ManageDirectoryHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\MappedSoftwareHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\MappedSoftwareHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\MaptoPreferredHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\MaptoPreferredHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\melto.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\Microsoft.VC90.CRT.manifest

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\msvcm90.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\msvcp90.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\msvcr90.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\PartitionHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\PartitionHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\PatchHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\PatchHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\PEVerificationFile.bin

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\PKArchive84cb.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\PKArchive88u.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\provcomm.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\provcomm_x64.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ProvisionGUI.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ProvisionGUI_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ProvisioningInterfaces.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\prov_hidecmd.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\prov_updateimg.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\prov_user.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\prov_user_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\RegUpdateHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\RegUpdateHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ReplaceTextHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ReplaceTextHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\SDClientHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\SDClientHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ServiceControlHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ServiceControlHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ServiceInstallHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ServiceInstallHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ServiceRemoveHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ServiceRemoveHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\SmbShareHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\SmbShareHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\StartTemplateHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\StartTemplateHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\TimeoutApp.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\TimeoutApp_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\unrar.dll

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\unzip.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\UnzipHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\UnzipHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\unzip_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\WaitHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\WaitHandler_x64.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\WindowsRefreshHandler.exe

            • C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\WindowsRefreshHandler_x64.exe

     

    There is an open defect (ID# 349947) where actions that are in the System Configuration section of the template will not continue after the machine reboots from WinPE to Windows. The current workaround is to manually copy the following files to the LDProvison folder on the thumb drive:

     

     

    C:\Program Files\LANDesk\ManagementSuite\ldlogon\BrokerConfig.exe

    C:\Program Files\LANDesk\ManagementSuite\ldlogon\BrokerConfig_x64.exe

    • Open the offline_task.xml to edit
    • Edit the following bolded values
      • core="LDMS-CORE"
        • Your core's name
      • <variable name="corename" type="none">LDMS-CORE</variable>
        • Your core's name
      • <variable name="coreIP" type="none">127.0.0.1</variable>
        • Your core's IP address
      • If deploying an imageW TBI image:
        • <arguments> /r /o /x /d:0 /rb:0 /f:\\pxe\share\image.tbi</arguments>
        • <imagepath>\\pxe\share\image.tbi</imagepath>
          • Though it lists a path, the <offline>true</offline> will over-ride the path. It was not tested removing the path though.
          • Your *.tbi file name including extension that is located on the root of the Removable device
      • If deploying an imageX SWM image:
        • <arguments>/apply \\2018-1.ldlab.org\ldlogon\Images\disconnectedtemplatewim\surfaceimage.swm /ref \\2018-1.ldlab.org\ldlogon\Images\disconnectedtemplatewim\surfaceimage*.swm 1 C:</arguments>
          • Maintain the (*) in the command so that imageX knows the SWM is split into multiple files.
        • <imagepath>\\2018-1.ldlab.org\ldlogon\Images\disconnectedtemplatewim\surfaceimage.swm</imagepath>
          • Your *.SWM file name including extension that is located on the root of the Removable device
          • Though it lists a path, the <offline>true</offline> will over-ride the path. It was not tested removing the path though.
      • <exe_agent_path>\\LDMSCore\share\AgentInstaller.exe</exe_agent_path>
        • Your self contained *.exe name.
        • Though it lists a path, the <offline>true</offline> will over-ride the path. It was not tested removing the path though.
      • <configuration>AgentInstaller</configuration>
        • The name of the Configuration that the self contained agent uses.
        • This might only be used during a standard network based provisioning, though changing this entry to other values was not tested.

    Note: The included offline_task.xml contains actions for HII and MappedSoftwareInstallation. Neither of these will work in an disconnected template. Their presence in the xml should not adversely affect anything.

     

    • With the files on the Removable Device, and the offline_task.xml configured accordingly, it should be prepared to boot a machine from and begin provisioning.