Solved

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

Posted on 2007-11-19
8
1,886 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

717 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