Jump to content

XML problem


Recommended Posts

I wonder if anyone can please help. Banging my head over and over again on a huge Microsoft brick wall here. I'm making an automated unattended xml file... All I want it to do is login to the WDS Server, pick the image i want to deploy (as if I get this working I will have several to choose from) and then walk away! The first bit works, it deletes the HD and creates partitons etc and then installs the image I have chosen.

Once it's been deployed I want it to automatically setup the language, accept the EULA, pick the type of network it's joining plus the security setting and then pick the correct time zone. I have read loads on this and really can't see what I'm doing wrong. The XML file below is brand new and created using FireGeiers Unattended Vista Guide.

Please help :hello:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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-GB</UILanguage>
</SetupUILanguage>
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UserLocale>en-GB</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">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>*****-*****-*****-*****-*****</Key>
</ProductKey>
<FullName>My Work</FullName>
<Organization>My Work Again</Organization>
<AcceptEula>true</AcceptEula>
</UserData>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>25000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>3</Order>
<Type>Logical</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>2</Order>
<Type>Extended</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Vista-OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<WindowsDeploymentServices>
<Login>
<Credentials>
<Domain>**</Domain>
<Password>******</Password>
<Username>******</Username>
</Credentials>
</Login>
<ImageSelection>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</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>********</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>GMT Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UserLocale>en-GB</UserLocale>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:e:/sources/install_windows vista business.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Link to comment
Share on other sites


:thumbup:thumbup:thumbup

Just incase this helps anyone - I removed all the "OOBE" stuff from the global unattended file and created another one called "Image Unnatend" and added the "OOBE" stuff to that !

Worked a treat, installed totally without stopping once. The only thing it did do which i have to rectify is create a worgroup and dumped itself in that instead of joining AD, but I'm sure I can sort that

:wacko:

Link to comment
Share on other sites

:angry:

I can't get the PC to join the Domain. I get the "Network Settings" box which I believe there is a reg fix for, but instead of joining the domain it's actually creating a workgroup called the domain name... any ideas what I'm doing wrong.

Bellow is the XML snippet, it's in the specialise setting (number 4) and I have added this to the image not the global XML file.

<Identification>

<Credentials>

<Domain>mydomain</Domain>

<Password>mypassword</Password>

<Username>myusername</Username>

</Credentials>

<JoinDomain>mydomain</JoinDomain>

<MachineObjectOU>OU=Default WDS Computer Store, OU=etc etc etc </MachineObjectOU>

</Identification>

Thanks :thumbup

Link to comment
Share on other sites

I've been starting to play with this as well. Unfortunately I am not having too much luck. I can even be sure its picking up the unattend.xml file. Our current setup is RIS/ XP which we have been running for years. I have now added WDS to our ris server. We use a PXE boot to attach to the server. That portion seems ok. The base image we fed the ris server is there and does install to the client. However none of the changes we want are being applied. :angry:

Also the machine does not join the domain. disk partition, etc. It seems like it is not using the setup file.

Any suggestions?

Edited by jimresnikoff
Link to comment
Share on other sites

  • 2 weeks later...

:thumbup

Hurrah for me!

I have pretty much solved it!

Just incase anyone else has these types of problems, here's what I did!

I exported the image I was working with, and created a new WIM file. I then opened up the new WIM file using SIM and created a fresh Image unnatend file which had been specifically made for that image. There was no differences between the one I was using which failed and this one... and it works.

To be honest I just think this technology is just flaky, and If you get it working your just lucky!

jimresnikoff :hello:

Post your XML file up and lets have a look, make sure all the pre enviroment stuff is attached to the Global enviroment and not to the image itself. A couple of pieces of advice would be remove all of it apart from things like the login credentials... and then test it to see if it gets past that stage, then work on from that. I have been working on this bloody thing now 7 or 8 weeks, and only finally got it working today!

:angry:

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...