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>
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:
Please log in to answer
Posted by:
dmontgomery
13 years ago
Posted by:
OBI
13 years ago
Posted by:
OBI
13 years ago
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...
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
Posted by:
vtphilk
13 years ago
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
13 years ago
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
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
Posted by:
bradwin
12 years ago
Posted by:
bradwin
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.