Discussion Locked

Auto enter product ID with sysprep

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am creating a sysprep image of Windows 2000 Pro with SP2. I cant seem to get the product ID to automatically enter during the mini setup. I added the line under [user data] ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXX , but when it appears on the mini setup program, it's always blank. I have also tried with quotation marks arond the ID number and I also tried running
sysprep -defeat which is supposed to force the mini setup to look to the sysprep.inf file for the product ID which also didnt work.
Any Ideas????

6 replies

by miha.pihler

I think you have to enter it manually by editing file unatendent.txt with program like Notepad...

Regards, Mike

by ken howard

Here is a portion of the sysprep file I use that has worked flawlessly in the past. This is only a portion and has been used with Sysprep 1.1. You can create a good one by creating two answer files with the setup wizard. One should be a full unnattend and the other default hide. Combine the two to create your own custom answer file (sysprep.inf....

[Unattended]
OemSkipEula=Yes
InstallFilesPath=C:\sysprep\i386
ExtendOemPartition=1
UnattendMode=DefaultHide

[GuiUnattended]
AdminPassword=yadapassword
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
OEMDuplicatorstring="Standard 4-09-02 "
TimeZone=4
OemSkipWelcome=1

[UserData]
FullName="User Name"
OrgName="Org Name"
productid=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

BOL,
Ken

by mccoyjj

I am putting the productid line in as stated, but it still does not enter it. I have done it like productid=xxxxx-xxxx... as well as productid="xxxxx-xxxx..."

This discussion is closed to new replies.