/build/static/layout/Breadcrumb_cap_w.png

Kace Deployment Unattended Install Win7

Hi Guys, Im looking for some help.

Unattended XML created in WSIM (as the walkthrough unattended xml created by dell kace kept failing at oobe pass)

My Problem is that no Postinstallation tasks seem to want to run, I think this has something to do with my unattended xml, and im hoping somebody has the solution.

I have noticed that after Windows is installed it will

Reboot -> autologin to Administrator account (this is what i would like) (HOWEVER - the Administrator password will be not set, and the account will be disabled in AdministrativeTools->ComputerManagement ?? but i cant seem to understand why this is happening.

ontop of this, sysprep.exe is run automatically and awaits user input ? I know my unattended.xml needs a tweak and hopefully somebody can assist?

 

What changes do I need to make to automatically

Auto Login Administrator Account

Mark the Account Enabled.

Join the Domain

Disable the Firewall

 

Thanks! and Hope to Hear from somebody!

 

 

My scripted installation 

Run Preinstallation Tasks

--Upload Hardware Inventory

Run Scripted Installation

Run Postinstallaion Tasks

-- none

Reboot (Exit Boot Environment)

Run Postinstallation Tasks

--Office 2010 Pro SP1


Very Very simple, however these are my Observations!


Run Preinstallation Tasks

--Upload Hardware Inventory

Run Scripted Installation

++Windows 7 Installs

++Windows 7 Installation Reboots after Installing Updates

Run Postinstallaion Tasks

-- none

However Windows 7 installation reboots into Dell kace and proceeds to install the required drivers) ??? is this normal?

Reboot (Exit Boot Environment)

++Windows 7 Installation Resumes 

++Windows 7 Installation Finnishes

++Windows 7 boots up for the first time

++Automatically Logs in

++sysprep pops up ???

Run Postinstallation Tasks

--Office 2010 Pro SP1 (does not install)

--adobe flash (does not install)

--adobe reader  (does not install)

 

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

  <settings pass="windowsPE">

    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">

      <ImageInstall>

        <OSImage>

          <InstallTo>

            <DiskID>0</DiskID>

            <PartitionID>1</PartitionID>

          </InstallTo>

          <WillShowUI>OnError</WillShowUI>

        </OSImage>

      </ImageInstall>

      <UserData>

        <ProductKey>

          <WillShowUI>OnError</WillShowUI>

          <Key/>

        </ProductKey>

        <Organization>Mulpha PTY LTD</Organization>

        <FullName>Administrator</FullName>

        <AcceptEula>true</AcceptEula>

      </UserData>

      <DiskConfiguration>

        <Disk wcm:action="add">

          <CreatePartitions>

            <CreatePartition wcm:action="add">

              <Order>1</Order>

              <Type>Primary</Type>

              <Size>10000</Size>

            </CreatePartition>

          </CreatePartitions>

          <ModifyPartitions>

            <ModifyPartition wcm:action="add">

              <Active>true</Active>

              <Format>NTFS</Format>

              <Order>1</Order>

              <PartitionID>1</PartitionID>

              <Extend>true</Extend>

            </ModifyPartition>

          </ModifyPartitions>

          <WillWipeDisk>true</WillWipeDisk>

          <DiskID>0</DiskID>

        </Disk>

        <WillShowUI>OnError</WillShowUI>

      </DiskConfiguration>

    </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="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">

      <SetupUILanguage>

        <UILanguage>en-AU</UILanguage>

      </SetupUILanguage>

      <InputLocale>en-AU</InputLocale>

      <UILanguage>en-US</UILanguage>

      <UserLocale>en-AU</UserLocale>

      <SystemLocale>en-AU</SystemLocale>

    </component>

  </settings>

  <settings pass="specialize">

    <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="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">

      <ComputerName>#########</ComputerName>
      <ProductKey>#########</ProductKey>       <TimeZone>AUS Eastern Standard Time</TimeZone>     </component>   </settings>   <settings pass="oobeSystem">     <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="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">       <OOBE>         <NetworkLocation>Work</NetworkLocation>         <ProtectYourPC>1</ProtectYourPC>       </OOBE>       <AutoLogon>         <Password>           <Value>#########</Value>
          <PlainText>true</PlainText>         </Password>         <Enabled>true</Enabled>         <LogonCount>5</LogonCount>         <Username>Administrator</Username>         <Domain/>       </AutoLogon>     </component>     <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">       <Reseal>         <Mode>Audit</Mode>       </Reseal>     </component>   </settings>   <settings pass="auditSystem">     <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="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">       <AutoLogon>         <Password>           <Value>#########</Value>
          <PlainText>true</PlainText>         </Password>         <Username>Administrator</Username>         <LogonCount>5</LogonCount>         <Enabled>true</Enabled>         <Domain/>       </AutoLogon>     </component>   </settings>   <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/users/fsmith/downloads/windows%207/sw_dvd5_win_pro_7w_sp1_64bit_english_-2_mlf_x17-59279/sources/install.wim#Windows 7 PROFESSIONAL"/> </unattend>
 

2 Comments   [ + ] Show comments
  • I'm not a sysprep expert but it looks like you have AutoLogon in there twice. - nheyne 11 years ago
  • I've removed the audit sequence supposably that was preventing kace from taking over with post install tasks, also preventing syaprep from initiating it seems . - frasercarter 11 years ago

Answers (1)

Answer Summary:
start /wait net user administrator /active:yes Start /wait net user administrator Password start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1 /f start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 3 /f start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName /d administrator /f start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d Password /f net user installer /delete
Posted by: SMal.tmcc 11 years ago
Red Belt
2

I found creating the second user in the xml file works best, I use this account to autologon via the xml file and in my post tasks I activate the Admin user, set the password, set autologon and delete the second user account.

this is from my post script

start /wait net user administrator /active:yes
Start /wait net user administrator Password

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1  /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 3  /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName /d administrator  /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d Password /f

net user installer /delete

 


Comments:
  • Ingenius I will write this up today and let you know how it goes ! - frasercarter 11 years ago
    • this is older but you will see the flow use for images, it is pretty close to my scripted install ans file also
      http://www.itninja.com/blog/view/windows-7-image-process-for-the-college-s-classrooms - SMal.tmcc 11 years ago

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