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>
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

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.

Answered 04/09/2012 by: cserrins
Red Belt

  • 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!
Please log in to comment
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.

Answered 04/10/2012 by: miketp
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity