Quantcast
Channel: Ivanti User Community: Message List
Viewing all articles
Browse latest Browse all 12704

Not Joining Domain

$
0
0

Hoping someone could help fix this. I've created a new image and did changes, updates, etc while in audit mode. I then sysprep it with oobe and generalize. Image deploys fine but when it finishes I'm always at the oobe screen, landesk client doesn't install or finish correcty. Should I be sysprep differently or am I missing something else in general?

 

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

<unattend>

  <settings pass="auditSystem">

    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">

      <DriverPaths>

        <PathAndCredentials wcm:keyValue="1" wcm:action="add">

          <Path>c:\windows\LDDriverStore</Path>

        </PathAndCredentials>

      </DriverPaths>

    </component>

    <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64">

      <UserAccounts>

        <AdministratorPassword>

          <PlainText>true</PlainText>

          <Value>XXXXX</Value>

        </AdministratorPassword>

      </UserAccounts>

      <AutoLogon>

        <Enabled>true</Enabled>

        <Username>Administrator</Username>

        <Password>

          <PlainText>true</PlainText>

          <Value>XXXXXX</Value>

        </Password>

        <LogonCount>1</LogonCount>

      </AutoLogon>

    </component>

  </settings>

  <settings pass="auditUser">

    <component name="Microsoft-Windows-Deployment" 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">

      <RunSynchronous>

        <RunSynchronousCommand wcm:action="add">

          <Order>1</Order>

          <Path>c:\windows\System32\sysprep\sysprep.exe /oobe /generalize /reboot </Path>

        </RunSynchronousCommand>

      </RunSynchronous>

    </component>

  </settings>

  <settings pass="generalize">

    <component name="Microsoft-Windows-PnpSysprep" 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">

      <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>

    </component>

  </settings>

  <settings pass="oobeSystem">

    <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64">

      <OOBE>

        <HideEULAPage>true</HideEULAPage>

        <ProtectYourPC>1</ProtectYourPC>

        <SkipMachineOOBE>true</SkipMachineOOBE>

        <SkipUserOOBE>true</SkipUserOOBE>

      </OOBE>

      <ProductKey></ProductKey>

      <RegisteredOwner></RegisteredOwner>

      <RegisteredOrganization></RegisteredOrganization>

      <TimeZone>Eastern Standard Time</TimeZone>

      <UserAccounts>

        <AdministratorPassword>

          <PlainText>true</PlainText>

          <Value>XXXXXX</Value>

        </AdministratorPassword>

      </UserAccounts>

      <AutoLogon>

        <Enabled>true</Enabled>

        <Username>Administrator</Username>

        <Password>

          <PlainText>true</PlainText>

          <Value>XXXXXXX</Value>

        </Password>

        <LogonCount>1</LogonCount>

      </AutoLogon>

      <FirstLogonCommands>

        <SynchronousCommand>

          <CommandLine>c:\ldsleep.exe 30</CommandLine>

          <Description></Description>

          <Order>1</Order>

        </SynchronousCommand>

        <SynchronousCommand>

          <CommandLine>cmd /q /c del /q c:\ldsleep.exe</CommandLine>

          <Description></Description>

          <Order>2</Order>

        </SynchronousCommand>

        <SynchronousCommand>

          <CommandLine>cmd /q /c del /q c:\unattend.xml</CommandLine>

          <Description></Description>

          <Order>3</Order>

        </SynchronousCommand>

        <SynchronousCommand>

          <CommandLine>net use \\XXXXXXXXX\ldlogon username /u:domain\username</CommandLine>

          <Description></Description>

          <Order>4</Order>

        </SynchronousCommand>

        <SynchronousCommand>

          <CommandLine>cmd /q /c \\XXXXXXXXX\ldlogon\wscfg32.exe /F /L /STATUS /NOREBOOT</CommandLine>

          <Description></Description>

          <Order>5</Order>

        </SynchronousCommand>

        <SynchronousCommand>

          <CommandLine>cmd /q /c del /q c:\ldiscan.cfg</CommandLine>

          <Description></Description>

          <Order>6</Order>

        </SynchronousCommand>

      </FirstLogonCommands>

    </component>

  </settings>

  <settings pass="specialize">

    <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64">

      <ComputerName>%COMPUTERNAME%</ComputerName>

    </component>

    <component name="Microsoft-Windows-UnattendedJoin" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64">

      <Identification>

        <Credentials>

          <Domain>domain</Domain>

          <Username>username</Username>

          <Password>password</Password>

        </Credentials>

        <JoinDomain>domain</JoinDomain>

        <MachineObjectOU>OU=Computers,OU=XXXXXXXXX,DC=XXXXXXXXX,DC=com</MachineObjectOU>

      </Identification>

    </component>

  </settings>

</unattend>


Viewing all articles
Browse latest Browse all 12704

Trending Articles