- Thread Author
- #1
Hi there, I've successfully made an answer file on SIM that gets through the whole process unattended. However right at the end it always asks for user name-also it hasn't named the computer. Here is my answer file.
I've been stuck on this for the past few days and have tried a number of different things. Any help is welcome
Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing></servicing>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<UILanguage>en-us</UILanguage>
<WillShowUI>OnError</WillShowUI>
</SetupUILanguage>
<InputLocale>en-us</InputLocale>
<SystemLocale>en-us</SystemLocale>
<UILanguage>en-us</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<UserLocale>en-us</UserLocale>
</component>
<component name="Microsoft-Windows-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">
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="modify">
<CreatePartitions>
<CreatePartition wcm:action="modify">
<Extend>true</Extend>
<Order>1</Order>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>Never</WillShowUI>
</OSImage>
</ImageInstall>
<UpgradeData>
<Upgrade>false</Upgrade>
<WillShowUI>Never</WillShowUI>
</UpgradeData>
<UserData>
<AcceptEula>true</AcceptEula>
<Organization>************</Organization>
</UserData>
<EnableFirewall>false</EnableFirewall>
<EnableNetwork>false</EnableNetwork>
<UseConfigurationSet>false</UseConfigurationSet>
<Restart>Restart</Restart>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Domain></Domain>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<LogonCount>5</LogonCount>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<VisualEffects>
<FontSmoothing>Standard</FontSmoothing>
</VisualEffects>
<RegisteredOrganization>***********</RegisteredOrganization>
<TimeZone>UTC</TimeZone>
</component>
</settings>
<settings pass="auditSystem">
<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">
<AuditComputerName>
<Name>LDNPSM7</Name>
<MustReboot>true</MustReboot>
</AuditComputerName>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:c:/extracted win7/sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
- Joined
- Mar 14, 2023
- Messages
- 38,611
It looks like the issue you are facing with your answer file is related to the unattended setup process not completing fully and prompting for the username and computer name at the end. To address this, you need to specify the required settings in your answer file. In your specific case, you need to make sure that the "component" for the "Microsoft-Windows-Shell-Setup" in the "oobeSystem" pass includes the necessary configuration for specifying the username and computer name. Here are the changes you should make to your answer file to include the username and computer name settings: 1. Add the following lines within the "Microsoft-Windows-Shell-Setup" component in the "oobeSystem" pass:
2. Include the necessary values for the password and other details as required. 3. Ensure that the "HideLocalAccountScreen" is set to true to avoid the prompt for the username setup. By adding these settings to your answer file, the unattended setup process should be able to proceed without prompting for the username and computer name at the end. After making these changes, try running the unattended setup again with the modified answer file to see if the issue has been resolved. Let me know if you encounter any further issues or need additional assistance!
XML:
true true true true Work UABhAHMAcwB3AG8AcgBkAA== false password true Local Admin Account Administrator Administrators Administrator
Similar threads
- Replies
- 0
- Views
- 1K
- Replies
- 1
- Views
- 2K
- Replies
- 1
- Views
- 2K
- Solved
- Replies
- 1
- Views
- 3K
- Replies
- 2
- Views
- 3K