/build/static/layout/Breadcrumb_cap_w.png

How to be prompted for computer name ?

Hello,

Our company purchased a Kbox 2000 licence and I am preparing the Win7 deployment at the moment.

We are using Kbox 2000 version 3.2.31608.

I've set up an unattend.xml file to deploy Win7. We don't want to deploy with sysprep as we want an hardware independant deployment.

The problem I am facing is with computer name. I don't want to use wsname, I need the IT guy preparing the PC to be prompted for the computer name. I removed the computer name line from the unattend.xml, but it didn't help: no prompt for the computer name.

Furthermore, I get an error message on the end of the Win7 installation: "Windows could not parse or process unattend answer file for pass oobeSystem. A component or non-list setting is specified more than once in the answer file".

Here is my unattend.xml, I don't see any duplicate in the oobeSystem pass. Thanks a lot for your help :)

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<UseConfigurationSet>true</UseConfigurationSet>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>[removed here]</FullName>
<Organization>[removed here]</Organization>
</UserData>
<ImageInstall>
<OSImage>
<InstallToAvailablePartition>true</InstallToAvailablePartition>
<InstallFrom>
<MetaData>
<Key>/IMAGE/Name</Key>
<Value>windows 7 ultimate</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<SetupUILanguage>
<UILanguage>fr-FR</UILanguage>
</SetupUILanguage>
<InputLocale>080c:0000080c</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>fr-BE</SystemLocale>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<RegisteredOwner>[removed here]</RegisteredOwner>
<RegisteredOrganization>[removed here]</RegisteredOrganization>
<TimeZone>Romance Standard Time</TimeZone>
<Display>
<ColorDepth>32</ColorDepth>
</Display>
<AutoLogon>
<Enabled>true</Enabled>
<Username>administrator</Username>
<Password>
<PlainText>true</PlainText>
<Value>[removed here]</Value>
</Password>
<LogonCount>3</LogonCount>
</AutoLogon>
</component>
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<Identification>
<Credentials>
<Domain>[removed here]</Domain>
<Password>[removed here]</Password>
<Username>[removed here]</Username>
</Credentials>
</Identification>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Path>reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 00000000 /f</Path>
<Description>Setting Network Location</Description>
<Order>1</Order>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<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="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<DisableAccelerators>true</DisableAccelerators>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<SkipMachineOOBE>false</SkipMachineOOBE>
<SkipUserOOBE>false</SkipUserOOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<TimeZone>Romance Standard Time</TimeZone>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\Console /v QuickEdit /t REG_DWORD /d 1 /f</CommandLine>
<Order>1</Order>
<Description>Enable QuickEdit mode</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v HideFileExt /t REG_DWORD /d 0 /f</CommandLine>
<Order>2</Order>
<Description>Show file extensions in Explorer</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v Start_ShowRun /t REG_DWORD /d 1 /f</CommandLine>
<Order>3</Order>
<Description>Show Run command in Start Menu</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v StartMenuAdminTools /t REG_DWORD /d 1 /f</CommandLine>
<Order>4</Order>
<Description>Show Administrative Tools in Start Menu</Description>
</SynchronousCommand>
</FirstLogonCommands>
<AutoLogon>
<Password>
<Value>[removed here]</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
</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="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<InputLocale>fr-BE</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>fr-BE</UserLocale>
</component>
</settings>
</unattend>

0 Comments   [ + ] Show comments

Answers (10)

Answer Summary:
Posted by: dmontgomery 13 years ago
Senior Yellow Belt
0
Did you check the post about 6 threads below this one titled "Pre-Install Computer Name Capture Script?"

That will do exactly what you need it to do.

Dave
Posted by: OBI 13 years ago
Orange Belt
0
Thanks for your answer, Dave.

I got the zip file from the Kace support but still have computer naming issues. I opened a ticket with Kace.
Posted by: OBI 13 years ago
Orange Belt
0
Hello Corey,

The parsing error is now solved, but not the computer naming one.

The first step (getcomputername /dialog) is working OK, I am prompted for the computer name.

On the other hand, the second step (setcomputername) doesn't work.
I created a postinstall script in the winpe environment as described in the txt file.
This postinstall script calls for the x64 exe file and still the computer is named with a random name not matching at all the one typed in the prompt of step 1.

I got no feedback from the Kace support so far...
Posted by: OBI 13 years ago
Orange Belt
0
Further info on the setcomputername problem:


When the post install script launches, I get the following error message:

"AutoIt error, Line 1882: SetComputerNamex64.exe, Subscript used with non array variable."
Posted by: OBI 13 years ago
Orange Belt
0
Yep, thanks a lot Corey :-)
Posted by: vtphilk 13 years ago
Orange Senior Belt
0
I had this same problem after trying to do a sysimage and use a unattend.xml I created using the XML from a scripted install. I sysprep'ed with that which did have computer name in it but assume it got lost somehow. Once our kace server is back up (Its totally down right now :( ) I will check to see if the file in panther folder has the computer name I guess.
Posted by: awingren 12 years ago
8th Degree Black Belt
0
Hello!
I am having an issue with the GetComputerName_x64.exe

I am trying to build an SI with Windows 7 64bit and the "get" isn't prompting for a computer name. I have the command line for my Preinstall task set to:
GetComputerName_x64.exe /dialog

The x86 version works fine for my Windows XP install, so I don't know what I'm doing wrong here.

Thanks,
Alicia
Posted by: awingren 12 years ago
8th Degree Black Belt
0
Hi Corey,
I appreciate your quick response. I thought I had the newest one, but I didn't. Thanks a ton!

Have a Happy New Year!! =)
-Alicia
Posted by: bradwin 12 years ago
Yellow Belt
0
Hi there
I cannot seem to download the script Corey posted about. I am not a Kace user. Using SCCM. Please post script
Posted by: bradwin 12 years ago
Yellow Belt
0
Hi there
I cannot seem to download the script Corey posted about. I am not a Kace user. Using SCCM. Please post script
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

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