Solved

How To Add a Product Key to An XP RIS Image

Posted on 2004-09-05
5
231 Views
Last Modified: 2010-04-19
I asked this question last night, and thought I got the correct answer. Maybe I did, but something else just isn't working. The answer I was giving was to add this to the answer file under the [UserData] section:

ProductID = "xxxxx-xxxxx-xxxxx-xxxxx"

I did that though, and today when I pulled 5 installs from my RIS image, all 5 of them prompted me for my key. The OS image is XP Pro Corporate w/ SP2 slipstreamed. When I type the key in it works fine. I can post my answer file if you need me to....
0
Comment
Question by:Grime121
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:ColinRoyds
ID: 11983869
Maybe your syntax is wrong or you have it in the wrong place.

Here is a sample
;SetupMgrTag
[Data]
    AutoPartition=1
    MsDosInitiated="1"
    UnattendedInstall="Yes"
    floppyless="1"
    OriSrc="\\%SERVERNAME%\RemInst\%INSTALLPATH%"
    OriTyp="4"
    LocalSourceOnCD=1

[SetupData]
    OsLoadOptions="/noguiboot /fastdetect"
    SetupSourceDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"

[Unattended]
    UnattendMode=ProvideDefault
    OemPreinstall=No
    TargetPath=\WINDOWS
    FileSystem=LeaveAlone
    NtUpgrade=No
    OverwriteOemFilesOnUpgrade=No

[GuiUnattended]
    AdminPassword="xxxxxxx"
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    TimeZone=%TIMEZONE%

[UserData]
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    FullName="Admin"
    OrgName="Company"
    ComputerName=%MACHINENAME%

[Display]
    BitsPerPel=32
    Xresolution=1024
    YResolution=768
    Vrefresh=72

[RegionalSettings]
    LanguageGroup=1
    Language=00000809

[SetupMgr]
    DistFolder=C:\windist
    DistShare=windist

[Identification]
    JoinDomain=%MACHINEDOMAIN%
    DoOldStyleDomainJoin=Yes

[Networking]
    InstallDefaultComponents=Yes
    ProcessPageSections=Yes

[RemoteInstall]
    Repartition=Yes

[OSChooser]
    Description="Windows Professional - Standard Installation"
    Help="This will install Windows Professional in a standard configuration."
    LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
    ImageType=Flat

hope this helps
0
 
LVL 12

Accepted Solution

by:
ColinRoyds earned 500 total points
ID: 11983878
Your problem is you are using
ProductID = "xxxxx-xxxxx-xxxxx-xxxxx"
it should be
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
0
 
LVL 1

Author Comment

by:Grime121
ID: 11985284
ok, yeah that's probably it. I need to take the quotes off.
0
 
LVL 12

Expert Comment

by:ColinRoyds
ID: 11985514
and ProductKey not ProductID
0
 
LVL 1

Author Comment

by:Grime121
ID: 11986705
ProductID worked fine, but I did have to take the quotes off. It's working now.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 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