MSFN Forum: Product id error - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Product id error Rate Topic: -----

#1 User is offline   arnebjarnesius 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 13-September 04

Posted 13 September 2004 - 09:28 AM

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

[URL]
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.


#2 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 September 2004 - 09:37 AM

Notice in [UserData] ProductID renamed ProductKey with SP1 CD or later otherwise use ProductID

#3 User is offline   arnebjarnesius 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 13-September 04

Posted 13 September 2004 - 09:42 AM

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?

#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 September 2004 - 09:43 AM

Wait you have ProductKey
Userdata usually looks like this
[UserData]
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
FullName="Thatsme"
OrgName="MyOrg"
ComputerName=54HtsTy

#5 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 September 2004 - 09:46 AM

No if you slipping SP2 you need ProductKey
looking

#6 User is offline   arnebjarnesius 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 13-September 04

Posted 13 September 2004 - 09:49 AM

Okay. I'll just keep the ProductKey

#7 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 September 2004 - 09:50 AM

You're also missing
[Unattended]
UnattendSwitch=Yes

#8 User is offline   arnebjarnesius 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 13-September 04

Posted 13 September 2004 - 09:54 AM

Oh I see. I do not`hope I will be of too much trouble if I ask what the UnattendSwitch=Yes does?

#9 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 September 2004 - 09:55 AM

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


#10 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 September 2004 - 09:57 AM

Use UnattendSwitch only when you perform an unattended Setup with Winnt.exe, Winnt.sif, and the CD boot method.

#11 User is offline   arnebjarnesius 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 13-September 04

Posted 13 September 2004 - 10:14 AM

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"?

#12 User is offline   argon007 

  • Argon Party
  • PipPipPip
  • Group: Members
  • Posts: 360
  • Joined: 09-July 04

Posted 13 September 2004 - 10:56 AM

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.

#13 User is offline   arnebjarnesius 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 13-September 04

Posted 13 September 2004 - 11:11 AM

I do not hope that they have blacklisted my Key (if they have, they'll recieve an angry mail). It worked before and I have, as written, tried to remove the Key for winnt.sif

#14 User is offline   arnebjarnesius 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 13-September 04

Posted 15 September 2004 - 07:30 AM

Thank you Max! You just saved me from becoming bald at a very low age :D The missing was UnattendSwitch=Yes. But one thing didn't work - the [URL]. When I started Explorer it the page was just default. What have I done wrong?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy