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: Autounattend.xml doesn't work properly

27 Nov 2010   #1

Windows 7 Professional 32-bit
 
 
Autounattend.xml doesn't work properly

Hi!
I'm about to prepare some OEM computers and have made a simple unattend.xml-file with help from the answering file sample from WAIK, but I can't get it to work properly.

I have copied the file to the root directory of an USB drive and it seemes like the installation program is reading the file (e.g. I don't have to specify an computer name when finalizing the installation) but it's not as automated that I would like it to be. I have to choose wich Windows version to install (basic, HP etc.), the disk partitions listed in the xml-file is not automated (I have to choose wich drive to use for installation), I need to confirm the license agreement, choose date and time options.

What can be wrong? I would like a clean, working autounattend.xml-file that automatically installs and also temporarily activates the administrator account so I can install updates, drivers and such and then seal everything up with sysprep.

Can anyone help me with this?
Here's my autounattend.xml file (I've deleted the OEM info):

autounattend.xml

//Henrik


My System SpecsSystem Spec
.

27 Nov 2010   #2

win 7 ultimate32bit, Win8.1pro wmc 32bit
 
 

Hi HITData, welcome to the forums, Have a look at this Windows 7 doesn't detect autounattend.xml? It may help you
My System SpecsSystem Spec
27 Nov 2010   #3

Windows 7 Professional 32-bit
 
 
Thnks

Thnks for the reply. I replaced all the "x86" posts with "AMD64" and now it works much better.

I still have to choose wich version of Windows I want to install thought (basic, HP, pro or ultimate). Any way of getting around that?

Regards, Henrik
My System SpecsSystem Spec
.


27 Nov 2010   #4

win 7 ultimate32bit, Win8.1pro wmc 32bit
 
 

Quote   Quote: Originally Posted by HITData View Post
Thnks for the reply. I replaced all the "x86" posts with "AMD64" and now it works much better.

I still have to choose wich version of Windows I want to install thought (basic, HP, pro or ultimate). Any way of getting around that?

Regards, Henrik
I will have another search for you

are you adding this line /settings>
<cpifflineImage cpi:source="wim:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

add whichever version you wish to install

Dont know why it put the smily face instead of an "o"
My System SpecsSystem Spec
27 Nov 2010   #5

Windows 7 Professional 32-bit
 
 

I have this info at the end of the xml:

</settings>
<cpifflineImage cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I loaded the Home Premium catalogue file when making the file. Should I change (or add) something here?
My System SpecsSystem Spec
27 Nov 2010   #6

win 7 ultimate32bit, Win8.1pro wmc 32bit
 
 

Quote   Quote: Originally Posted by HITData View Post
I have this info at the end of the xml:

</settings>
<cpifflineImage cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I loaded the Home Premium catalogue file when making the file. Should I change (or add) something here?
I'm not 100% certain but I think you have got it right ,Maybe one of our excellent resident programming experts will be along shortly to verify it for you
My System SpecsSystem Spec
27 Nov 2010   #7

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Quote   Quote: Originally Posted by HITData View Post
I have this info at the end of the xml:

</settings>
<cpifflineImage cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I loaded the Home Premium catalogue file when making the file. Should I change (or add) something here?
Using Image Manager (wim) or catalog (clg) file has no difference, they will do the same, according to available info.

Shouldn't there be a Windows version after the used clg or wim file name? Like "catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM"? Other than that, syntax of that line is correct, of course replacing that embarrasment-smiley with ":" followed by "o"

Have you checked your tags? That every tag <XML TAG> is also closed </XML TAG>?

Kari
My System SpecsSystem Spec
28 Nov 2010   #8

Windows 7 Professional 32-bit
 
 

Quote:
Shouldn't there be a Windows version after the used clg or wim file name? Like "catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM"? Other than that, syntax of that line is correct, of course replacing that embarrasment-smiley with ":" followed by "o"

Have you checked your tags? That every tag <XML TAG> is also closed </XML TAG>?
Hi, I've tried with the strings: cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM" and cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 Home Premium" but neither does work.
I noticed that my <Xml> tag isn't "ended" properly at the end of my autounattend-file. I've tried with adding a </xml> at the end but that gives me an error like, "something went wrong when reading the autounattend.xml file.....".
My <xml> line at the top looks like this: "<?xml version="1.0" encoding="utf-8"?>".
How do I "end" that correctly?

Thanks!
//Henrik
My System SpecsSystem Spec
28 Nov 2010   #9

win 7 ultimate32bit, Win8.1pro wmc 32bit
 
 

Quote   Quote: Originally Posted by HITData View Post
Quote:
Shouldn't there be a Windows version after the used clg or wim file name? Like "catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM"? Other than that, syntax of that line is correct, of course replacing that embarrasment-smiley with ":" followed by "o"

Have you checked your tags? That every tag <XML TAG> is also closed </XML TAG>?
Hi, I've tried with the strings: cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM" and cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 Home Premium" but neither does work.
I noticed that my <Xml> tag isn't "ended" properly at the end of my autounattend-file. I've tried with adding a </xml> at the end but that gives me an error like, "something went wrong when reading the autounattend.xml file.....".
My <xml> line at the top looks like this: "<?xml version="1.0" encoding="utf-8"?>".
How do I "end" that correctly?

Thanks!
//Henrik
HITData, the first line ends correctly ,your second line should look like this
<unattend xmlns="urn:schemas-microsoft-com:unattend">
My System SpecsSystem Spec
28 Nov 2010   #10

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Could you post the whole xml, with tags, only replacing sensitive information wit xxx's?
My System SpecsSystem Spec
Reply

 Autounattend.xml doesn't work properly




Thread Tools



Similar help and support threads for2: Autounattend.xml doesn't work properly
Thread Forum
YT doesn't work properly in HD Browsers & Mail
5.1 surround doesn't work properly in all apps . Sound & Audio
One of the most useful features in W8 doesn't work properly in CP General Discussion
Solved Windows 7 Search Doesn’t Work Properly – Yet Again! General Discussion
esata doesn't work properly Hardware & Devices
IE9 from server doesn't work properly Browsers & Mail
Network and Sharing Doesn't work properly Network & Sharing

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 11:18 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33