September 13, 200421 yr 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.cmdI 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 programmingAnd 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.
September 13, 200421 yr Notice in [userData] ProductID renamed ProductKey with SP1 CD or later otherwise use ProductID
September 13, 200421 yr Author 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?
September 13, 200421 yr Wait you have ProductKeyUserdata usually looks like this[userData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="Thatsme" OrgName="MyOrg" ComputerName=54HtsTy
September 13, 200421 yr Author Oh I see. I do not`hope I will be of too much trouble if I ask what the UnattendSwitch=Yes does?
September 13, 200421 yr 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
September 13, 200421 yr Use UnattendSwitch only when you perform an unattended Setup with Winnt.exe, Winnt.sif, and the CD boot method.
September 13, 200421 yr Author 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"?
September 13, 200421 yr 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.
September 13, 200421 yr Author 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
September 15, 200421 yr Author Thank you Max! You just saved me from becoming bald at a very low age The missing was UnattendSwitch=Yes. But one thing didn't work - the . When I started Explorer it the page was just default. What have I done wrong?
Create an account or sign in to comment