/build/static/layout/Breadcrumb_cap_w.png

KACE Sysprep Windows 7 Get/Set Name

I am creating a Windows 7 WIM file for deployment from our KBOX.  The last thing I am trying to figure out is how to set the computer name in KACE and bypass OOBE Sysprep process from prompting.  Should I add a in the Run Preinstallation Task a "Get Computer Name x64 (Prompt) tasks then in the Run Postinstallation Tasks have a "Set Computer Name (x64)"?  In my unattend.xml do I leave itthe tag blank?  


0 Comments   [ + ] Show comments

Answers (2)

Posted by: nheyne 11 years ago
Red Belt
1

Yes, leave the name section of your unattend.xml blank:  <ComputerName></ComputerName>

You are also correct about the placement of the tasks.


Comments:
  • Maybe I'm not reading the question right. Shouldn't the <ComputerName></ComputerName> be <ComputerName>*</ComputerName> to bypass the OOBE prompt? Wouldn't leaving it blank prompt still? - dugullett 11 years ago
    • Both might work, we leave ours blank and it works. Without the tasks, blank will leave the name as is and * will give a randomized name. - nheyne 11 years ago
  • I leave mine blank and it prompts my techs for the name in OOBE. Useful since 90% of the PC's that get imaged are new. - RandomITPro 11 years ago
Posted by: BBates 11 years ago
Yellow Belt
1

I am still having issues with getting the name to apply.  The error I am receiving is right before windows loads, "Unable to open x:\BCXXXXXXXX, it may not exit.  Was GetComputerName.exe used as a preinstall task?  When I click okay it sits on a blank page.  My unattend file has <ComputerName>*<ComputerName> to bypass OOBE prompt.  

Here is my installation plan.  Does anyone see an issue?

Preinstallation Tasks

  • Create Two Partitions
  • Windows 7 format disk 
  • Get Computer Name x64 (Prompt) - Uses command "getcomputername_x64.exe /dialog"

PostInstallation Tasks

  • Set Computer Name (x64) - Uses command "setcomputername_x64.exe"
  • Windows 7 - Two Partition BCD Fix
  • Office install
  • KBOX Agent Install

Comments:
  • Set computername should be a midlevel task. - dugullett 11 years ago
  • Moving the Get Name from PreInstallation to Mid Level worked. Thanks for all the help. - BBates 11 years ago
    • Get name should be the first preinstall task (you had it after formatting, therefore no name existed on the workstation) and set name should be a mid level task.

      Corey
      Lead L3 Enterprise Solutions Consultant, K2000
      If my response was helpful, please rate it! - cserrins 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