Jump to content

Failed to read Product ID from unattend.txt


Recommended Posts

Posted

Hello,

I tried to run unattended installation of XP from a network share using WinPE. However, I got a message after running unattended.bat from command prompt say "the setup script does not contain a valid Product ID Contact your system administrator for a valid Product ID". If I manually enter the product ID (same as the one in the unattend.txt), it seems the installation will go on.

I have created an ISO file using the same network share and installed the XP sucessfully on a VM (by mounting the iso file to the cdrom and rename the unattend.txt to winnt.sif, and save it to a floppy) using the same product ID.

Here is my unattend.txt:

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

Repartition=Yes

UseWholeDisk=Yes

UnattendMode=FullUnattended

OemPreinstall=Yes

OemSkipEula=Yes

OemPreinstall=Yes

OemSkipWelcome=0

TargetPath=\WINDOWS

UnattendSwitch=Yes

[GuiUnattended]

AdminPassword="password"

EncryptedAdminPassword=NO

AutoLogon=Yes

AutoLogonCount=1

OEMSkipRegional=1

TimeZone=20

OemSkipWelcome=1

[userData]

ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

FullName="test"

OrgName="test"

ComputerName=*

[Display]

BitsPerPel=16

Xresolution=1024

YResolution=768

Vrefresh=60

[TapiLocation]

CountryCode=1

Dialing=Tone

AreaCode=111

LongDistanceAccess="9"

[RegionalSettings]

LanguageGroup=1

Language=00000409

[branding]

BrandIEUsingUnattended=Yes

[GuiRunOnce]

Command0=a:\copyi386.bat

Command1=%systemdrive%\install\appinst.bat

[identification]

JoinDomain=xxx.xxx.org

DomainAdmin=xxxxxx

DomainAdminPassword=xxxxxx

[Networking]

InstallDefaultComponents=Yes


Posted

heres a copy of mine.

maybe you can see what the differences are and work out whats wrong with yours.

[unattended]

Unattendmode = FullUnattended

OemPreinstall = Yes

TargetPath = *

Filesystem = LeaveAlone

OemSkipEula = YES

FactoryMode = YES

KeyboardLayout= "United Kingdom"

DriverSigningPolicy = Ignore

OEMPnPDriversPath = OEM\DRIVERS\Audio\Realtek\WDM;OEM\DRIVERS\Audio\RealtekHD\WDM;OEM\DRIVERS\Audio\SigmatelHD\WDM;OEM\DRIVERS\Audio\SoundMaxHD\SMAXWDM\W2K_XP;OEM\DRIVERS\Audio\VIAHD\VIAHDAud\Drivers\HDUAA;OEM\DRIVERS\Chipset\ATI;OEM\DRIVERS\Chipset\Intel;OEM\DRIVERS\Chipset\NVIDIA\MCP61;OEM\DRIVERS\Chipset\NVIDIA\680i;OEM\DRIVERS\Chipset\SIS;OEM\DRIVERS\Chipset\VIA;OEM\DRIVERS\LAN\Attansic;OEM\DRIVERS\LAN\Broadcom;OEM\DRIVERS\LAN\Intel\PRO100;OEM\DRIVERS\LAN\Intel\PRO1000;OEM\DRIVERS\LAN\Intel\WLAN;OEM\DRIVERS\LAN\Marvell;OEM\DRIVERS\LAN\NSC;OEM\DRIVERS\LAN\Nvidia\MCP61;OEM\DRIVERS\LAN\Nvidia\680i;OEM\DRIVERS\LAN\Ralink;OEM\DRIVERS\LAN\Realtek\8168;OEM\DRIVERS\LAN\Realtek\8169;OEM\DRIVERS\LAN\Realtek\8187L;OEM\DRIVERS\LAN\SIS;OEM\DRIVERS\LAN\VIA;OEM\DRIVERS\MODEM\Moto;OEM\DRIVERS\OTHER\AMD;OEM\DRIVERS\OTHER\HECI;OEM\DRIVERS\OTHER\ATK;OEM\DRIVERS\OTHER\CardReader;OEM\DRIVERS\RAID\Intel;OEM\DRIVERS\RAID\NVIDIA;OEM\DRIVERS\RAID\Silicon\3132;OEM\DRIVERS\RAID\Silicon\3532;OEM\DRIVERS\RAID\VIA;OEM\DRIVERS\SATA\Silicon\3132;OEM\DRIVERS\VGA\ATI;OEM\DRIVERS\VGA\Intel;OEM\DRIVERS\VGA\NVIDIA;OEM\DRIVERS\VGA\8700MGT;OEM\DRIVERS\VGA\SIS;OEM\DRIVERS\VGA\VIA;OEM\DRIVERS\VGA\VIA2;

[shell]

CustomDefaultThemeFile = "C:\Windows\System32\oobe\XP.Theme"

[userData]

FullName = "User"

OrgName = "User"

ComputerName = *

ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

[GuiUnattended]

TimeZone = "085"

AdminPassword = *

AutoLogon = Yes

OEMSkipRegional = 1

OEMSkipWelcome = 1

[RegionalSettings]

LanguageGroup = 1

Language = 809

[TapiLocation]

AreaCode = 023

CountryCode = 44

[LicenseFilePrintData]

AutoMode = "PerServer"

AutoUsers = "5"

[Display]

BitsPerPel = 32

Vrefresh = 60

Xresolution = 1024

Yresolution = 768

[branding]

BrandIEUsingUnattended = No

IEBrandingFile = install.ins

[Networking]

[identification]

JoinWorkgroup = Workgroup

[MassStorageDrivers]

"IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller" = "RETAIL"

"Intel® ICH9 SATA AHCIController (Desktop ICH9R)" = "OEM"

"Intel® 82801HEM SATA RAID Controller (Mobile ICH8M-E)" = "OEM"

"Intel® 82801HEM/HBM SATA AHCI Controller (Mobile ICH8M-E/M)" = "OEM"

"Intel® ICH8R/ICH9R SATA RAID Controller" = "OEM"

"Intel® 82801HR/HH/HO SATA AHCI Controller (Desktop ICH8R)" = "OEM"

"Intel® 631xESB/632xESB SATA RAID Controller (Server/Workstation ESB2)" = "OEM"

"Intel® 631xESB/632xESB SATA AHCI Controller (Server/Workstation ESB2)" = "OEM"

"Intel® 82801GHM SATA RAID Controller (Mobile ICH7MDH)" = "OEM"

"Intel® 82801GR/GH SATA RAID Controller (Desktop ICH7R/DH)" = "OEM"

"Intel® 82801GR/GH SATA AHCI Controller (Desktop ICH7R/DH)" = "OEM"

"Intel® 82801GBM SATA AHCI Controller (Mobile ICH7M/DH)" = "OEM"

"Intel® 82801FBM SATA AHCI Controller (Mobile ICH6M)" = "OEM"

"NVIDIA RAID CLASS DRIVER (required)" = "OEM"

"NVIDIA nForce Storage Controller (required)" = "OEM"

"Silicon Image SiI 3132 SoftRAID 5 Controller for Windows XP/Server 2003" = "OEM"

"Silicon Image SiI 3531 SATALink Controller for Windows XP/Server 2003" = "OEM"

"VIA V-RAID Controller Series(Windows SRV2003)" = "OEM"

[OEMBootFiles]

disk1

iaahci.cat

iaahci.inf

iastor.cat

iastor.inf

iastor.sys

nvatabus.sys

nvraid.cat

nvraid.inf

nvraid.sys

si3132r5.cat

si3132r5.inf

si3132r5.sys

si3531.cat

si3531.inf

si3531.sys

sippd.inf

siremfil.sys

siwinacc.sys

viamraid

viamraid.cat

viamraid.inf

viamraid.sys

txtsetup.oem

Posted

The difference is that with SP2 Unattended requires you to use ProductKey instead of ProductID.

I have no idea why the changed the name of the key, just change it and use the same number and it works

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...