Jump to content

Unattended install not asking for cd key


Bry

Recommended Posts

Hi, ive almsot finished my unattended cd but am having one minor problem. The installation program is not asking for the cd key. I have entered it correctly in my WINNT.SIF and windows installs fine.

However, i want it to show the entered cd key and to allow me to modify it if i want.

This is becase i intend to use this cd to help fix other people's computers and need to be able to enter their cd key. But, i want mine one to be in there as default so i can use the cd to reinstall my OS.

Is this possible? As i thought i have seen this before? if so why isn't it working?

Many Thanks

;SetupMgrTag
[Data]
Autopartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=ProvideDefault
UnattendSwitch=No
OemPreinstall=Yes
OemSkipEula=Yes
FileSystem=*
WaitForReboot=No
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
TargetPath=\WINDOWS
KeyboardLayout="United Kingdom"

[GuiUnattended]
TimeZone=85
OEMSkipRegional=1
OemSkipWelcome=1
EncryptedAdminPassword=NO

[GuiRunOnce]
Command0=%CDROM%\WPI\WPI.cmd

[UserData]
ProductKey=xxxx-xxxx-xxxx-xxx-xxxx
FullName=""
OrgName=""

[RegionalSettings]
LanguageGroup=1
Language=00000809

[Networking]
InstallDefaultComponents=Yes

[Components]
msnexplr=off

[Identification]
JoinWorkgroup=WORKGROUP

[TapiLocation]
CountryCode=44

Link to comment
Share on other sites


The easiest way to do that would be to leave off the product key entirely, but that wouldn't solve the problem of showing yours by default...maybe you could enter it wrong in the last character.

Here's a stretch: Try making a setup billboard with your cd key on it so you won't forget it. Making a billboard is pretty trivial, so maybe that could help.

Link to comment
Share on other sites

No, this is a wierd answer file option, and doesn't work if it's added the way you think it would. If you provide the ProductKey vairable, it gets used but never shown. If you don't provide the ProductKey variable, install will always ask you to add it no matter what install level you choose.

I've got a hunch this was added so that product keys were never shown during setup in case the admin made a mistake in the answer file setup, but it would be nice to have this value work like the rest.

So to answer your question, there's no way to show the key in a modifyable form. You either have it blank, or provide a value in your unattend file and it doesn't get shown at all :no: .

Link to comment
Share on other sites

cheers for the info. Looks like handwriting them on the back of the cd case will be best then

try with these settings

[Data]MsDosInitiated="0"

UnattendedInstall="Yes"

AutoPartition=1

[unattended]

UnattendMode=ProvideDefault

OemSkipEula=Yes

TargetPath=\WINDOWS

WaitForReboot=No

UnattendSwitch=Yes

[GuiUnattended]

AdminPassword="123456"

EncryptedAdminPassword=No

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=1

AutoLogon=Yes

AutoLogonCount=1

[userData]

FullName="Some name"

OrgName="Some organisation"

[Display]

BitsPerPel=32

Xresolution=1024

Yresolution=768

Vrefresh=72

[TapiLocation]

CountryCode=44

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

Just leave the serial number out of UserData section of your answer file.

vv

Link to comment
Share on other sites

  • 2 weeks later...

cheers for the info. Looks like handwriting them on the back of the cd case will be best then

Just leave the serial number out of UserData section of your answer file.

vv

Hmmz, that would leave you with the same answer that cluberti gave, then it pops up with a blank serial-field whcih you have to fill in, it won't show any, that's what the poster wanted....................

It's not possible I think, it's either blank, or when filled in winnt.sif, it passes without showing anything.........just like cluberti said before actually......... :yes:

Edited by EagleForce
Link to comment
Share on other sites

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