Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: need help on my unattended.xml

15 May 2013   #1
junqi89

windows 7 64bit
 
 
need help on my unattended.xml

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" 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>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" 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>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Built in Account</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrator</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>Australian Western Standard Time</TimeZone>
</component>
</settings>
<cpifflineImage cpi:source="wim:f:/it%20stuff/isofile/windows%207%20all%20in%20one/windows%207%20all%20in%20one%20x86%20&amp;x64/sources/install.wim#Windows 7 Professional x64" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I have already create the local admin but it still prompt me to key in username and pc name ?


My System SpecsSystem Spec
.
16 May 2013   #2
Kari

Microsoft Community Contributor Award Recipient

 

That answer file does nothing else than sets US English input language, network location Home and AWST time zone.

Only reference to a user profile in the answer file is to built-in administrator account, which is unnecessary as Windows creates this user profile automatically when installed. As the built-in user account cannot be used as the initial local administrative account and the answer file does not contain any information about initial username and password, Windows of course stops asking them when OOBE boot is made.

BTW, one sure recipe for problems is your way to bury your Windows 7 All In One image so deep; sysprep is very sensitive and that extremely long path with lot of spaces is like telling sysprep "I'll make it a bit more difficult for you, let's see if I can make you crash!". It most probably works as you have it but it is not very good practice. Put the Source folder with install.wim in it to root of a drive.

Kari
My System SpecsSystem Spec
16 May 2013   #3
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
That answer file does nothing else than sets US English input language, network location Home and AWST time zone.

Only reference to a user profile in the answer file is to built-in administrator account, which is unnecessary as Windows creates this user profile automatically when installed. As the built-in user account cannot be used as the initial local administrative account and the answer file does not contain any information about initial username and password, Windows of course stops asking them when OOBE boot is made.

BTW, one sure recipe for problems is your way to bury your Windows 7 All In One image so deep; sysprep is very sensitive and that extremely long path with lot of spaces is like telling sysprep "I'll make it a bit more difficult for you, let's see if I can make you crash!". It most probably works as you have it but it is not very good practice. Put the Source folder with install.wim in it to root of a drive.

Kari
what does that mean can you rephrase into a simple terms ?
My System SpecsSystem Spec
.

16 May 2013   #4
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by junqi89 View Post
Quote   Quote: Originally Posted by Kari View Post
That answer file does nothing else than sets US English input language, network location Home and AWST time zone.

Only reference to a user profile in the answer file is to built-in administrator account, which is unnecessary as Windows creates this user profile automatically when installed. As the built-in user account cannot be used as the initial local administrative account and the answer file does not contain any information about initial username and password, Windows of course stops asking them when OOBE boot is made.

BTW, one sure recipe for problems is your way to bury your Windows 7 All In One image so deep; sysprep is very sensitive and that extremely long path with lot of spaces is like telling sysprep "I'll make it a bit more difficult for you, let's see if I can make you crash!". It most probably works as you have it but it is not very good practice. Put the Source folder with install.wim in it to root of a drive.

Kari
what does that mean can you rephrase into a simple terms ?
Huh ?

Your answer file, no username, no password. Windows install, ask username and password.
My System SpecsSystem Spec
16 May 2013   #5
junqi89

windows 7 64bit
 
 

how can i put username with no password ? please advise me
My System SpecsSystem Spec
16 May 2013   #6
Kari

Microsoft Community Contributor Award Recipient

 

Leave the password field empty when installing Windows, or when creating an answer file.
My System SpecsSystem Spec
16 May 2013   #7
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
Leave the password field empty when installing Windows, or when creating an answer file.
how can i create a answer file with that ? mind assisting me ?
My System SpecsSystem Spec
16 May 2013   #8
Kari

Microsoft Community Contributor Award Recipient

 

My System SpecsSystem Spec
16 May 2013   #9
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
i thought it was the same i do ? i already create the account from the previously post. this was mention that the link you given. i already did that. doesn't it will add into it ?
My System SpecsSystem Spec
16 May 2013   #10
Kari

Microsoft Community Contributor Award Recipient

 

Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
My System SpecsSystem Spec
Reply

 need help on my unattended.xml




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
BSOD-usually When Unattended
I have recently upgraded two virtually identical PCs from XP to W7. One is fine, one crashes, always when not in use. Debug files are attached I have googled a some of the error messages and they seem to indicate a drive going bad, but not sure. The drive is about a year old and was part of the...
BSOD Help and Support
WAIK, unattended.xml and what then...?
I try to make some little modifications to my Win7 installation. I installed WAIK and with some tutorials created unattended.xml. But while the tutorials concentrate on the creation of unattended.xml, they don't communicate to me clearly what to do with the file in order to create a working...
Installation & Setup
Unattended Bluescreens
Hopefully someone will be able to help me as I am coming unravelled trying to fix this problem. I built this PC myself and it has run without issue for months, up until a week ago. At that time I started receiving random BSODs although only when the computer was not being used actively (i.e....
BSOD Help and Support
W7 - WINNT.SIF for unattended ???
Hi guys! I hope someone here could help me out. I'm sort of an XP fanboy. I was so annoyed by the standard folders eg. "Documents and settings" and "Program Files" so I found my way of creating a customized install disc. I simply extracted my whole install disc into a folder, used notepad to...
Installation & Setup
Unattended Install
I'm setting up an answer file for Windows 7 RC so that the only thing it prompts you for is the computer name. It keeps prompting me for the regional settings despite having this in phase 7 <component name="Microsoft-Windows-International-Core" processorArchitecture="x86"...
Installation & Setup
How to..? Unattended Install..?
Hi, I'm interested in creating an unattended Win7 Install, but most important, I would like to add a .exe file after my first reboot. Can someone help me do this? Many thanks in advance. Regards,
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App