• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

How To Add a Product Key to An XP RIS Image

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
Grime121
Asked:
Grime121
  • 3
  • 2
1 Solution
 
ColinRoydsCommented:
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
 
ColinRoydsCommented:
Your problem is you are using
ProductID = "xxxxx-xxxxx-xxxxx-xxxxx"
it should be
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
0
 
Grime121Author Commented:
ok, yeah that's probably it. I need to take the quotes off.
0
 
ColinRoydsCommented:
and ProductKey not ProductID
0
 
Grime121Author Commented:
ProductID worked fine, but I did have to take the quotes off. It's working now.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now