/build/static/layout/Breadcrumb_cap_w.png

K2000 Post Install Failure - what am I missing?

I'm trying to get post installs to work for a scripted installation of Windows 7 Professional. I'm fairly new to the K2000 so am convinced I'm missing something obvious. No matter what type of job I set to run as a post-installation it doesn't run. I auto-login as local administrator and nothing else happens. Pre-installation works fine - post-installation in the KBE works too - just the final post install tasks fail. I've trawled through most of the posts on here and also the Kace support site but can find nothing that seems to fit. Any help anyone can give would be gratefully received!

I'm running version 3.3 of the K2100 and can see in the unattend file that's left after the installation the following:

<?xml version='1.0' encoding='utf-8'?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE" wasPassProcessed="true">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <UseConfigurationSet>true</UseConfigurationSet>
      <UserData>
        <AcceptEula>true</AcceptEula>
        <FullName>MySchool</FullName>
        <Organization>MySchool</Organization>
      </UserData>
      <ImageInstall>
        <OSImage>
          <InstallToAvailablePartition>true</InstallToAvailablePartition>
        </OSImage>
      </ImageInstall>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <UILanguage>en-US</UILanguage>
      <SetupUILanguage>
        <UILanguage>en-US</UILanguage>
        <WillShowUI>OnError</WillShowUI>
      </SetupUILanguage>
      <InputLocale>en-GB</InputLocale>
      <SystemLocale>en-GB</SystemLocale>
      <UserLocale>en-GB</UserLocale>
    </component>
    <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <DriverPaths>
        <PathAndCredentials xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" wcm:action="add" wcm:keyValue="1">
          <Path>Y:\drivers\windows_7_x86</Path>
        </PathAndCredentials>
      </DriverPaths>
    </component>
  </settings>
  <settings pass="specialize" wasPassProcessed="true">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <StartPages>
        <StartPage wcm:action="add">
          <StartPageUrl>http://myurl</StartPageUrl>
          <StartPageKey>1</StartPageKey>
        </StartPage>
      </StartPages>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <TimeZone>SIngapore Standard Time</TimeZone>
      <ComputerName>EP-780-TEST</ComputerName>
      <AutoLogon>
        <Enabled>true</Enabled>
        <LogonCount>3</LogonCount>
        <Username>Administrator</Username>
        <Domain></Domain>
        <Password>*SENSITIVE*DATA*DELETED*</Password>
      </AutoLogon>
      <ProductKey>*SENSITIVE*DATA*DELETED*</ProductKey>
      <ShowWindowsLive>false</ShowWindowsLive>
      <RegisteredOrganization>MySchool</RegisteredOrganization>
      <RegisteredOwner>MySchool</RegisteredOwner>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <DisableAntiSpyware>true</DisableAntiSpyware>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <InputLocale>en-GB</InputLocale>
      <SystemLocale>en-GB</SystemLocale>
      <UILanguage>en-US</UILanguage>
      <UserLocale>en-GB</UserLocale>
    </component>
  </settings>
  <settings pass="oobeSystem" wasPassProcessed="true">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <NetworkLocation>Work</NetworkLocation>
        <ProtectYourPC>3</ProtectYourPC>
        <SkipUserOOBE>false</SkipUserOOBE>
      </OOBE>
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount wcm:action="add">
            <DisplayName>Mike</DisplayName>
            <Name>Mike</Name>
            <Group>Administrators</Group>
            <Password>*SENSITIVE*DATA*DELETED*</Password>
          </LocalAccount>
        </LocalAccounts>
        <AdministratorPassword>*SENSITIVE*DATA*DELETED*</AdministratorPassword>
      </UserAccounts>
      <AutoLogon>
        <Password>*SENSITIVE*DATA*DELETED*</Password>
        <Enabled>true</Enabled>
        <LogonCount>3</LogonCount>
        <Username>Administrator</Username>
      </AutoLogon>
      <ShowWindowsLive>false</ShowWindowsLive>
      <FirstLogonCommands>
        <SynchronousCommand wcm:action="add">
          <CommandLine>cmd /c cd /d %systemdrive%\KACE\Applications\22 &amp;&amp; call k100_agent_5_3_47657.bat</CommandLine>
          <Description>K100 Agent 5.3.47657</Description>
          <Order>1</Order>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <CommandLine>cmd /c cd /d %systemdrive%\KACE\Applications\18 &amp;&amp; join_domain.vbs &lt;MyDomain&gt; &lt;MyName&gt; &lt;MyPassword&gt; &lt;192.168.0.1&gt;</CommandLine>
          <Description>Join Domain</Description>
          <Order>2</Order>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <CommandLine>%systemdrive%\KACE\bin\kb2kping.exe 192.168.0.10</CommandLine>
          <Description>Contacting K2000</Description>
          <Order>3</Order>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <CommandLine>cmd /c md "%allusersprofile%\Dell\KACE" &amp; cmd /c move /y "%systemdrive%\KACE\k2000_deployment_info.conf" "%allusersprofile%\Dell\KACE\k2000_deployment_info.conf"</CommandLine>
          <Description>Copying Inventory Info</Description>
          <Order>4</Order>
        </SynchronousCommand>
        <SynchronousCommand wcm:action="add">
          <CommandLine>cmd /c rmdir /s /q %systemdrive%\KACE &amp;&amp; %systemdrive%\kcleanup.exe &amp;&amp; del /f /q %systemdrive%\kcleanup.exe</CommandLine>
          <Description>Cleaning Up</Description>
          <Order>5</Order>
        </SynchronousCommand>
      </FirstLogonCommands>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <InputLocale>en-GB</InputLocale>
      <SystemLocale>en-GB</SystemLocale>
      <UILanguage>en-US</UILanguage>
      <UserLocale>en-GB</UserLocale>
    </component>
  </settings>
  <settings pass="offlineServicing" wasPassProcessed="true">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <EnableLUA>false</EnableLUA>
    </component>
  </settings>
  <settings pass="generalize">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <SkipRearm>1</SkipRearm>
    </component>
  </settings>
  <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/test/install.wim#Windows 7 PROFESSIONAL"></cpi:offlineImage>
</unattend>

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: cserrins 12 years ago
Red Belt
4

Does the KACE directory still exist on the root of the OS drive after logging in?  If so, then KCleanup ran, which is the last PO.

Can you go to:

%allusersprofile%\Dell\KACE

see if you see the inventory.conf file there.  If so, then the Inventory copy PO ran

 

Also, can you go to reports on the K2 webui, pull up SI deployments and see if your deployment shows a completed time.  If it does, then kb2kping.exe did its job in reporting back to the K2000 that the deployment finished.

 

If all these are successful, it means that POs are running, just not your PO, we can then troubleshoot from there.


Comments:
  • I've marked this as answered now as I've found the element I was missing. You were quite right - the post install tasks were running it was just mine that were not configured correctly. Thanks for your input though as that was what helped me - once I could see that something had run as a post install then trouble shooting become a lot easier! - miketp 12 years ago
Posted by: miketp 12 years ago
White Belt
0

Thanks for the quick response. No the Kace directory isn't there but the %allusersprofile%\Dell\KACE folder exists and the inventory.conf is there. The report shows that the install completed.

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