Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2007-11-19
8
Medium Priority
?
1,891 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

650 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