/build/static/layout/Breadcrumb_cap_w.png

Unattend LTI

The Unattend LTI application is a utility designed by Corey A. Serrins and Nick Morea to give users of the Quest | KACE K2000 some additional flexibility in the deployment of new computers into an organization by manipulating the unattend.xml file of the deployed device.

Read the included PDF for instructions on how to use these tasks, as they can be run in the most basic form of a user interface with all options available, or the UI can be narrowed down to just the options preferred by the administrator, or can be run silently.

To download, the user must be a member of the K2000 community.

Back to K2000 Deployment Workbench


Comments

  • Hi Corey,
    I added this to my K2000 to test out and when it gets to the applying mid-level task, it gives me an AutoIT error when trying to run the executable:
    Line 4621 (File "Y:\applications\68\contents\apply_unattend_lti_x64.exe"):
    Error: Variable must be of type "Object". - largomason 3 years ago
    • Can you please email me (email in profile) your log file, which is located on the deployed drive\programdata\quest\kace\scriptingninjas\unattend_lti.log. In addition, please include your modify_unattend.ini file if you used a custom one. Include your command line for the task and explain to me exactly how you run it so I can try to reproduce on my end, as others are not experiencing this issue. - cserrins 3 years ago
      • I think it was that the image my guys were trying to use it on was not sysprepped prior to capture. I had some time today and made a clean install and ran sysprep then used this LTI and it applied the name without any errors. If I run into any other problems I'll let you know, but it appears to be a false alarm! - largomason 3 years ago
      • Awesome!! I'll look at adding a message if it can't find an unattend file to modify and also check to make sure the machine is sysprepped. - cserrins 3 years ago
  • Is there anyway to use the same username and password for auto logins? - Snailson 3 years ago
  • Timezone is working, Computer name is working, locale is working. But domain join is not.

    Here is what the .xml file looks like after the tool modifies it.

    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Identification>
    <JoinDomain>0</JoinDomain>
    <MachineObjectOU>OU=Computers,DC=mydomain,DC=local</MachineObjectOU>
    <MachinePassword></MachinePassword>
    <Credentials>
    <Domain>0</Domain>
    <Password></Password>
    <Username>0</Username>
    </Credentials>
    </Identification>
    </component>

    This is the ini files I am using.

    [UNATTEND]
    ComputerName=*
    TimeZone=Eastern Standard Time
    Locale=en-US
    Domain=mydomain.local
    Username=myusername
    Password=0x91D0564D671B019525D4DADF02CDB48E
    OUPATH=OU=Computers,DC=mydomain,DC=local

    [SETTINGS]
    ShowComputerName=True
    ShowTimeZone=True
    ShowLocale=True
    ShowDomain=False
    ShowUserName=False
    ShowPassword=False
    ShowOU=True

    [OU]
    OUPATH=OU=Laptops,OU=Clients - Windows,OU=Domain Computers,DC=mydomain,DC=Local
    OUPATH=OU=Desktops,OU=Clients - Windows,OU=Domain Computers,DC=mydomain,DC=Local
    OUPATH=OU=VMs,OU=Clients - Windows,OU=Domain Computers,DC=mydomain,DC=Local - alex11585 2 years ago
  • Timezone is working, Computer name is working, locale is working. But domain join is not.

    Here is what the .xml file looks like after the tool modifies it.

    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Identification>
    <JoinDomain>0</JoinDomain>
    <MachineObjectOU>OU=Computers,DC=mydomain,DC=local</MachineObjectOU>
    <MachinePassword></MachinePassword>
    <Credentials>
    <Domain>0</Domain>
    <Password></Password>
    <Username>0</Username>
    </Credentials>
    </Identification>
    </component>

    This is the ini files I am using.

    [UNATTEND]
    ComputerName=*
    TimeZone=Eastern Standard Time
    Locale=en-US
    Domain=mydomain.local
    Username=myusername
    Password=0x91D0564D671B019525D4DADF02CDB48E
    OUPATH=OU=Computers,DC=mydomain,DC=local

    [SETTINGS]
    ShowComputerName=True
    ShowTimeZone=True
    ShowLocale=True
    ShowDomain=False
    ShowUserName=False
    ShowPassword=False
    ShowOU=True

    [OU]
    OUPATH=OU=Laptops,OU=Clients - Windows,OU=Domain Computers,DC=mydomain,DC=Local
    OUPATH=OU=Desktops,OU=Clients - Windows,OU=Domain Computers,DC=mydomain,DC=Local
    OUPATH=OU=VMs,OU=Clients - Windows,OU=Domain Computers,DC=mydomain,DC=Local - alex11585 2 years ago
  • I ended up setting the domain to localhost host so the tool would not touch that that part of the unattend.xml. I am using something else to join to the domain. Thanks for the help! - alex11585 2 years ago
  • I really like using this tool, it works great. I wrote a script that pulls the previous workstation name from the registry and populates the domain name based on the default DNS suffix, making it even easier to use. But I want to do more with this. I have several different scenarios for single images that could be configured from a menu like this. I could easily write a program to create the modify_unattend.ini file, except for the encrypted password, which would allow me to still use your apply_unattend mid-task.

    Would it be possible to enable piping a string through the unattend_lti_password_generator.exe and have it stored as a string so I can write it to the modify_unattend.ini file? As far as I can tell, it doesn't include any sort of runtime arguments, but maybe I'm wrong. - ebslopp 2 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ