arnebjarnesius Posted September 13, 2004 Share Posted September 13, 2004 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. Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 13, 2004 Share Posted September 13, 2004 Notice in [userData] ProductID renamed ProductKey with SP1 CD or later otherwise use ProductID Link to comment Share on other sites More sharing options...
arnebjarnesius Posted September 13, 2004 Author Share Posted September 13, 2004 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? Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 13, 2004 Share Posted September 13, 2004 Wait you have ProductKeyUserdata usually looks like this[userData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="Thatsme" OrgName="MyOrg" ComputerName=54HtsTy Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 13, 2004 Share Posted September 13, 2004 No if you slipping SP2 you need ProductKeylooking Link to comment Share on other sites More sharing options...
arnebjarnesius Posted September 13, 2004 Author Share Posted September 13, 2004 Okay. I'll just keep the ProductKey Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 13, 2004 Share Posted September 13, 2004 You're also missing[unattended] UnattendSwitch=Yes Link to comment Share on other sites More sharing options...
arnebjarnesius Posted September 13, 2004 Author Share Posted September 13, 2004 Oh I see. I do not`hope I will be of too much trouble if I ask what the UnattendSwitch=Yes does? Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 13, 2004 Share Posted September 13, 2004 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 Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 13, 2004 Share Posted September 13, 2004 Use UnattendSwitch only when you perform an unattended Setup with Winnt.exe, Winnt.sif, and the CD boot method. Link to comment Share on other sites More sharing options...
arnebjarnesius Posted September 13, 2004 Author Share Posted September 13, 2004 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"? Link to comment Share on other sites More sharing options...
argon007 Posted September 13, 2004 Share Posted September 13, 2004 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. Link to comment Share on other sites More sharing options...
arnebjarnesius Posted September 13, 2004 Author Share Posted September 13, 2004 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 Link to comment Share on other sites More sharing options...
arnebjarnesius Posted September 15, 2004 Author Share Posted September 15, 2004 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? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now