Jump to content

Recommended Posts

Posted

I'm making my first unattended Win XP (SP2) cd. But unfortunately I’m having some problems with my install. When the installation has copied all the files to the hard drive and rebooted for the install, it displays “Unable to get a product id for the computer” (direct translation from Danish so don’t know if it matches the English display). The log says “RegOpenKeyEx[system\setup\Pid] returned error 2”. My winnt.sif is as follows

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

FileSystem = *

DriverSigningPolicy=Ignore

OemPnPDriversPath="drivers\000_memctrl;drivers\001_gart; etc.”

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=105

OemSkipWelcome=1

[userData]

ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

[Networking]

InstallDefaultComponents=Yes

Home_Page=http://www.dr.dk

[GuiRunOnce]

%systemdrive%\install\start.cmd

I have even tried to remove the UserData section. I've also tried with a more detailed UserData where FullName, OrgName and ComputerName were included.

I would be very pleased if somebody was able to give me a solution to my problem. But please explain detailed because this is my first unattended Cd (which actually is a DVD) and I have only very limited experience in programming

And I do apologize for my English since I haven’t written or spoken any English for a very long time. I hope you’ll understand my intensions.


Posted

And therefore i should rename ProductKey ProductID since I'm making an unattended Win XP SP2, from an original Win XP SP1. But why does the installation display error when the [userData] is removed from winnt.sif?

Posted

Wait you have ProductKey

Userdata usually looks like this

[userData]

ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

FullName="Thatsme"

OrgName="MyOrg"

ComputerName=54HtsTy

Posted

Couple other things missing this is a Generic Winnt.sif that work's

;SetupMgrTag
[Data]
   AutoPartition=1
   MsDosInitiated="0"
   UnattendedInstall="Yes"
[Unattended]
   AutoActivate="no"
   CrashDumpSetting="0"
   DisableDynamicUpdates=Yes
   DriverSigningPolicy="Ignore"
   FileSystem=NTFS
   Hibernation=0
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=No
   Repartition=Yes
   TargetPath=\WINDOWS
   UnattendSwitch="yes"
[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=20
   OemSkipWelcome=1
[UserData]
   ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
   FullName="User"
   OrgName="MyOwn"
   ComputerName=*
[TapiLocation]
   Dialing=Tone
   AreaCode=xxx
[Branding]
   BrandIEUsingUnattended=Yes
[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=1
[Identification]
   JoinWorkgroup=WORKGROUP
[Networking]
   InstallDefaultComponents=Yes

Posted

Thank for letting me look at your own winnt.sif. But don't know what the new things mean. I like to leave out the FullName, OrgName and ComputerName. I don't use [TapiLocation] (have cable) and [Proxy]. What is "Hypernation"?

Posted

Maybe your product key is on the blacklist of Microsoft Windows XP SP2.

The setup will check if the product key is illegal or not, if yes, you can not install Windows XP SP2.

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...