Solved

WDS is not using the ImageUnattended.xml file when it deploys vista images.

Posted on 2007-11-19
8
1,885 Views
Last Modified: 2008-07-17
Steps Taken
1.  I copied the install.wim file from my Windows Vista Business VLK CD.
2.  I used the WAIK Windows System Image Manager (WSIM) to create an answer file that automatically enters the cd key as well as a user name.
3.  I added the install.wim image to my Vista images group using WDS snap in.
4.  I accessed the properties of the new image and enabled the "Allow image to install in unattended mode" checkbox and then browsed to the ImageUnattended.xml file I created in step 2.

When I press F12 on one of the client machines it boots to Windows PE as expected and allows me to select which image I would like to install from the list.  I select the Vista Business image and it installs normally.  I am promted for a user name and password during installation and they CD key that is used is one generated internally by Vista as a temporary key.  

I am unsure what steps needs to be taken for WDS to copy the ImageUnattended.xml file to the Vista client during installation.

I have attached a copy of my XML file that is referenced on the Install Images unattended dialog box.  
I only want to have the CD key entered for now and I will adjust other settings once WDS starts working.   I also am looking for a "Lite Touch" install.   I do not mind having to select the image from a list in Windows PE or Selecting the installation language to get the install started.  Once the install starts though I would like it to run unattended.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <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>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                    <WillShowUI>Never</WillShowUI>
                </ProductKey>
                <FullName>LocalAdmin</FullName>
                <Organization>MHSAA</Organization>
                <AcceptEula>true</AcceptEula>
            </UserData>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:D:\remoteinstall\Images\Vista\install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Open in new window

0
Comment
Question by:skykingjwc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 20317084
If "ImageUnattended.xml" is the name of the file, you need to rename it to simply "Unattended.xml".

0
 
LVL 4

Author Comment

by:skykingjwc
ID: 20319343
Renamed to Unattended.xml and restarted WDS service.  Still not working.
0
 
LVL 4

Author Comment

by:skykingjwc
ID: 20319352
Also the WDS service wants the file to be named ImageUnattended.xml and will rename any file you choose as your answer file to ImageUnattended.xml
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 51

Expert Comment

by:Netman66
ID: 20319359
Interesting....the fact that it's renaming it means it's getting used.

I wonder if the format of the file isn't quite right.
0
 
LVL 4

Author Comment

by:skykingjwc
ID: 20319717
This is partially working now.  I downloaded a sample XML file from here.
http://www.deployvista.com/Default.aspx?tabid=78&EntryID=41


It seems like everything is working now accept the product key.  WDS keeps givng out random Keys to the vista installations.
What in the world?
0
 
LVL 51

Expert Comment

by:Netman66
ID: 20319860
Strange.

Formatting in an XML file is significant, are you sure the key section is as expected?
0
 
LVL 4

Author Comment

by:skykingjwc
ID: 20321864
I figured it out.  There is another ProductKey property in x86_Microsoft-Windows-Shell-Setup_neutral.  I added this to the Step4 Specialize pass in Windows System image Manager.  Now it is taking the key.

I have no idea why it wouldnt work in the Step1 windowsPE pass as the Microsoft documentation shows recommends that the Product Key be intered in the WindowsPe pass.

I wierd that the MS docs were wrong,  no way does that happen all the time.  :)

Thanks for the help though.
0
 
LVL 4

Accepted Solution

by:
skykingjwc earned 0 total points
ID: 20321883
Also upon further review and forum reading, it appears that WDS will assign a random temporary key if ones is not specified.  This explains why I was getting a different key each time I installed Vista from WDS.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Learn about cloud computing and its benefits for small business owners.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question