/build/static/layout/Breadcrumb_cap_w.png

Computer name not applying to sysprepped image when deploying a KIMAGE

Not sure if this question is addressed somewhere else... I am trying to deploy a sysprepped image from my K2000 appliace via Image Deployment. I have a mid-level task that is supposed to apply the computer name to the image. After the imaging, it goes through the whole OOBE setup and then joins the domain with the domain join task. Which tasks do I need to run at mid-level to avoid the OOBE?


2 Comments   [ + ] Show comments
  • Thanks everyone! That all makes sense. - cmeisch 7 years ago
  • It worked - cmeisch 6 years ago

Answers (2)

Posted by: SMal.tmcc 7 years ago
Red Belt
1

Do not put a machine name line in your answer file.

http://www.itninja.com/blog/view/windows-7-image-process-for-the-college-s-classrooms

If you do not use the get/apply name scripts it will prompt for a name


Comments:
  • here is my current answer file

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
    <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" 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">
    <Path>net user administrator /active:yes</Path>
    <Order>1</Order>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <CopyProfile>true</CopyProfile>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>Pacific Standard Time</TimeZone>
    <ProductKey>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</ProductKey>
    <TaskbarLinks>
    <Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Mozilla Firefox.lnk</Link0>
    <Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk</Link1>
    </TaskbarLinks>
    <WindowsFeatures>
    <ShowInternetExplorer>true</ShowInternetExplorer>
    <ShowMediaCenter>true</ShowMediaCenter>
    <ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
    </WindowsFeatures>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DisableFirstRunWizard>true</DisableFirstRunWizard>
    <DisableWelcomePage>true</DisableWelcomePage>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" 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>
    <JoinWorkgroup>tmccacad.tmcc.e</JoinWorkgroup>
    </Identification>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>en-us</InputLocale>
    <SystemLocale>en-us</SystemLocale>
    <UILanguage>en-us</UILanguage>
    <UserLocale>en-us</UserLocale>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <PlainText>false</PlainText>
    <Value>kflahasljkfhsjklafhslajkfhsklajn slakfhlainvlsdkfj==</Value>
    </Password>
    <DisplayName>F13Master</DisplayName>
    <Name>F13Master</Name>
    <Group>Administrators</Group>
    </LocalAccount>
    </LocalAccounts>
    <AdministratorPassword>
    <PlainText>false</PlainText>
    <Value>VwBflahasljkfhsjksdafSADgfsaglafhslajkfhsklajn slakfhlainvlsdkfj==A</Value>
    </AdministratorPassword>
    </UserAccounts>
    <RegisteredOrganization>tmcc</RegisteredOrganization>
    <RegisteredOwner>staff</RegisteredOwner>
    <AutoLogon>
    <Password>
    <Value>VwBpflahasljkfhsjklafhslajkfhsklajn slakfhlainvlsdkfj===</Value>
    <PlainText>false</PlainText>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>1</LogonCount>
    <Username>installer</Username>
    </AutoLogon>
    </component>
    </settings>
    <settings pass="generalize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OEMInformation>
    <HelpCustomized>true</HelpCustomized>
    <Manufacturer>TMCC Helpdesk</Manufacturer>
    <SupportHours>8 - 5</SupportHours>
    <SupportPhone>673-7800</SupportPhone>
    <SupportURL>http://www.tmcc.edu/ito/contact/</SupportURL>
    <Model>Compuiter Support</Model>
    </OEMInformation>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="catalog:c:/w7image/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend> - SMal.tmcc 7 years ago
    • FYI the productkey shown is the kms key - SMal.tmcc 7 years ago
Posted by: nheyne 7 years ago
Red Belt
0

You need to define all of the oobe parameters in your unattend.xml answer file.


Comments:
  • Do I need to do that at the time I sysprep the machine? If so, can I still set the computer name on the fly? - cmeisch 7 years ago
    • Yes the Get/SetComputerName mid level tasks will put the name in your unattend file. - nheyne 7 years ago
 
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