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

16 May 2013   #11
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
how can i do that ?


My System SpecsSystem Spec
.
16 May 2013   #12
Kari

Microsoft Community Contributor Award Recipient

 

Please do not understand me wrong now: Maybe you should first study sysprep and using answer files a little bit more before trying them?

Your original question was why Windows asks a username and password when sysprepped with your answer file. I told you it is because your answer file has no reference to any other user account than the built-in administrator.

Next you asked how to leave the password away, using username without password. I answered that. Your next question was how to do that, I linked you to a tutorial where the procedure is described.

And now, your question:
Quote   Quote: Originally Posted by junqi89 View Post
Quote   Quote: Originally Posted by Kari View Post
Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
how can i do that ?
My answer: Read the tutorial, study sysprep and answer file. At the end of the tutorial you'll find more links to sysprep and answer file related articles.

Kari
My System SpecsSystem Spec
16 May 2013   #13
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
Please do not understand me wrong now: Maybe you should first study sysprep and using answer files a little bit more before trying them?

Your original question was why Windows asks a username and password when sysprepped with your answer file. I told you it is because your answer file has no reference to any other user account than the built-in administrator.

Next you asked how to leave the password away, using username without password. I answered that. Your next question was how to do that, I linked you to a tutorial where the procedure is described.

And now, your question:
Quote   Quote: Originally Posted by junqi89 View Post
Quote   Quote: Originally Posted by Kari View Post
Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
how can i do that ?
My answer: Read the tutorial, study sysprep and answer file. At the end of the tutorial you'll find more links to sysprep and answer file related articles.

Kari
Thanks but would u mind helping me take a look to see whether this correct i not good at creating help me see is there anywrong ?

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<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">
<CopyProfile>true</CopyProfile>
<DoNotCleanTaskBar>false</DoNotCleanTaskBar>
<RegisteredOwner>testing</RegisteredOwner>
<TimeZone>Singapore Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Testing account</Description>
<DisplayName>testing</DisplayName>
<Group>Administrators</Group>
<Name>testing</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</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>
My System SpecsSystem Spec
.

16 May 2013   #14
Kari

Microsoft Community Contributor Award Recipient

 

Please use the [code] Your code here [/code] tags when posting scripts and code, it makes it easier to read.

You need to test your answer file yourself, I have no capacity to do that. The syntax seems OK.

This last answer file of yours makes Windows to skip auto activation (why?) and creates an administrative user account called "testing".

Kari
My System SpecsSystem Spec
16 May 2013   #15
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
Please use the [code] Your code here [/code] tags when posting scripts and code, it makes it easier to read.

You need to test your answer file yourself, I have no capacity to do that. The syntax seems OK.

This last answer file of yours makes Windows to skip auto activation (why?) and creates an administrative user account called "testing".

Kari
this my company want me to do it so i have no idea why. so the account creation is right ? am i right to say that ?
My System SpecsSystem Spec
16 May 2013   #16
Kari

Microsoft Community Contributor Award Recipient

 

It looks to be OK.
My System SpecsSystem Spec
18 May 2013   #17
junqi89

windows 7 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
It looks to be OK.
I have already tested it out but it didn't create a testing account for me ? can advise me on this ?
My System SpecsSystem Spec
18 May 2013   #18
junqi89

windows 7 64bit
 
 

now it successful create the testing account but it prompt me to change password for first login how do i disable it ? i didn't set the administrator password. i remove it but it still prompt me ?
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 02:16.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App