Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

WINNT.SIF and XP SP2

- - - - -

  • Please log in to reply
22 replies to this topic

#1
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts
I like to have a WINNT.SIF on my XP CD that bypasses the "enter your product key" screen and nothing else.

With XP SP1 this WINNT.SIF worked perfectly:

[UserData]
ProductKey="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"

[Data]
MSDosInitiated=0
UnattendedInstall=Yes

This doesn't work on SP2 - the screen comes up asking for a product key. The key I am using is valid - it is my company's volume licensing key. I am using XP volume licensing edition (corporate edition) and I slipstreamed the service packs in myself.

Anyone else run across this?

Or better yet, anyone know how to make this work with SP2?

Thanks!


How to remove advertisement from MSFN

#2
ronnie_t

ronnie_t

    Newbie

  • Member
  • 10 posts
My guess is that you should remove the quotes from ProductKey="XXX.....XXXX"
I Ran setupmgr.exe and the result was an unattend.txt WITHOUT the quotes.

#3
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

My guess is that you should remove the quotes from ProductKey="XXX.....XXXX"
I Ran setupmgr.exe and the result was an unattend.txt WITHOUT the quotes.

that sounds like a good suggestion - I will try it now and post back here

thanks!

#4
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts
nope - didn't work

anyone have any other ideas?

thanks!

#5
argon007

argon007

    Argon Party

  • Member
  • PipPipPip
  • 360 posts
Maybe your product key is on the blacklist of Microsoft...

If you have the BSID key which is following, you can't install the Windows XP SP2.

XXXXX-640-0000356-23XXX
XXXXX-640-2001765-23XXX
XXXXX-640-643718x-23XXX
XXXXX-641-309376x-23XXX
XXXXX-642-064580x-23XXX
XXXXX-642-464364x-23XXX
XXXXX-643-334701x-23XXX
XXXXX-644-081772x-23XXX
XXXXX-644-451265x-23XXX
XXXXX-644-874896x-23XXX
XXXXX-644-933704x-23XXX
XXXXX-644-962396x-23XXX
XXXXX-645-833254x-23XXX
XXXXX-645-994962x-23XXX
XXXXX-646-031843x-23XXX
XXXXX-646-104081x-23XXX
XXXXX-646-105103x-23XXX
XXXXX-647-318838x-23XXX
XXXXX-647-592029x-23XXX
XXXXX-647-677834x-23XXX
XXXXX-648-301691x-23XXX
XXXXX-648-819992x-23XXX
XXXXX-649-106765x-23XXX
XXXXX-649-941392x-23XXX
XXXXX-650-292312x-23XXX

Posted Image

#6
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

Maybe your product key is on the blacklist of Microsoft...

If you have the BSID key which is following, you can't install the Windows XP SP2.

nope, none of those. as i mentioned, this product key is a legitimate key, issued to the company i work for

#7
argon007

argon007

    Argon Party

  • Member
  • PipPipPip
  • 360 posts

Maybe your product key is on the blacklist of Microsoft...

If you have the BSID key which is following, you can't install the Windows XP SP2.

nope, none of those. as i mentioned, this product key is a legitimate key, issued to the company i work for

then why the screen ask you input the product key?!
Posted Image

#8
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,496 posts
you never mentioned whether or not if you pressed enter at that screen if it continues....

Also, double check your key, perhaps ONE character is wrong.
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#9
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,731 posts
  • OS:Windows 7 x64
  • Country: Country Flag
It is the quotation marks man I just did mine with the sp2 deploy tools and no quotes it worked fine...

PS>I also made a bat file that point to winnt32 and tells it to look for winnt.sif so I can do one click re-installs or upgrades through windows.

#10
koszopal

koszopal

    Newbie

  • Member
  • 48 posts
@nick
try in this way :D

[UserData]ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

koszopal

#11
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

then why the screen ask you input the product key?!

it's coming up with a screen and asking me for the product key because it's not reading the key out of the WINNT.SIF

when it comes to that screen, the boxes for the key are blank. if I press next, I get a message that i must type a valid product key

#12
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

It is the quotation marks man I just did mine with the sp2 deploy tools and no quotes it worked fine...

PS>I also made a bat file that point to winnt32 and tells it to look for winnt.sif so I can do one click re-installs or upgrades through windows.

it's more than just the quotes. like i mentioned in my first post, i am trying to do a minimal WINNT.SIF. these three lines work perfectly in a SP1 CD, but not with SP2

[UserData]ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

[Data]
MSDosInitiated=0
UnattendedInstall=Yes


with this WINNT.SIF on a SP1 CD, the install is just like a CD with no WINNT.SIF at all, except it skips the Product Key screen.

#13
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

Also, double check your key, perhaps ONE character is wrong.

i have :D

#14
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

@nick
try in this way :D


[UserData]
ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

koszopal

I assume you mean with only that one line in the WINNT.SIF (one line in one category that is). I have tried that - that doesn't work either

Thanks!

#15
Daimao

Daimao

    Junior

  • Member
  • Pip
  • 55 posts
[Unattended]
UnattendMode=FullUnattended

is this in your winnt.sif?

#16
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

[Unattended]
    UnattendMode=FullUnattended

is this in your winnt.sif?

no, and I don't want it in there

I am trying make a general purpose XP installation CD. I only want to avoid the hassle of typing a product key each time. I use this CD to install many machines - some join a domain, some don't. some have static IPs some have dynamic. user name and organization are almost always different. sometimes i have to specify device drivers (F6). sometimes i am trying to repair a damaged installation of Windows.

you get the idea :D

#17
Daimao

Daimao

    Junior

  • Member
  • Pip
  • 55 posts
Then you should have it on =Hide
Then it will only show the pages that you didn't fill in
so if you fill in the serial,it wouldn't show that screen but if you didn't fill in a workgroup/domain,it'll show the screen and ask for one

#18
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

It is the quotation marks man I just did mine with the sp2 deploy tools and no quotes it worked fine...

I thought I'd add a bit more info - I have been at this a long time with no success. IMO SP2 and WINNT.SIF is buggy - the installer is just not reading the WINNT.SIF the way it's supposed to.

If you go through the SP2 setupmgr.exe from the DEPLOY directory and provide only the product key and choose "Provide Defaults" for "User Interaction level" this is the unattend.txt you get

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

[Unattended]
    UnattendMode=ProvideDefault
    OemPreinstall=No
    TargetPath=\WINDOWS

[GuiUnattended]
    EncryptedAdminPassword=NO
    OEMSkipRegional=1

[UserData]
    ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    FullName=""
    OrgName=""

[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=Yes


A lot of this i just don't want. I don't want autopartitioned hard drives. I don't want to skip regional. I don't want the workgroup specified. I don't want the networking settings specified. I don't want to specify the target directory. so you clean out those entries and you come up with this:

[Data]    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    UnattendMode=ProvideDefault
    OemPreinstall=No

[UserData]
    ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx


the only problem is if you use this as your WINNT.SIF the setup skips many of the screens I need to access. it skips the text welcome screen (where you can choose to repair or install). it skips the license agreement (well that's ok). it skips the 15 second reboot pause (again ok - just explaining how even tho i didn't add those lines, it does it anyways). once in GUI mode, it does skip the product key screen (that's good!) but also skips the networking screens for typical/custom settings as well as workgroup/domain settings

if you take it down to the bare minimum... (without the two entries in DATA section setup crashes)

[Data]    MsDosInitiated=0
    UnattendedInstall=Yes

[UserData]
    ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx


it doesn't skip any screens, but also ignores the product key

again, on an SP1 CD this worked. on an SP2 CD is doesn't

i have made about 15 CDs now trying to get this to work and I am about to give up I guess, unless anyone else has an idea :)

thanks to everyone here for their time in trying to help!

#19
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

Then you should have it on =Hide
Then it will only show the pages that you didn't fill in
so if you fill in the serial,it wouldn't show that screen but if you didn't fill in a workgroup/domain,it'll show the screen and ask for one

see my loooong post above this one :)

basically, i chose "ProvideDefault" instead of "Hide" but same difference, since I am not giving any of the settings in the WINNT.SIF besides the product key

and there is a big difference in the way setup acts when you have a "UnattendMode=" entry and when you don't. with that entry in there, a lot of screens are skipped, no matter what you set it to

#20
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

It is the quotation marks man I just did mine with the sp2 deploy tools and no quotes it worked fine...

ok you were right! it is quotes - bu it's quotes on the other two entries that were messing me up also

i'll make a new thread with the exact details for anyone who tries to do the same thing and starts tearing out clumps of hair like i have! B)

thanks, kelsenellenelvian - you were right on the money

#21
drbadami

drbadami

    Newbie

  • Member
  • 12 posts
This is from the SP2 Ref.chm file.I hope this helps to sort out your problem with the winnt.sif file. My suggestion is to keep the winnt.sif file on a floppy and keep trying and when you get it right,then burn it on a CD
UnattendMode
Defines the unattended mode to use during GUI-mode Setup.

Syntax UnattendMode = DefaultHide | FullUnattended | GuiAttended | ProvideDefault | ReadOnly
Values DefaultHide
Specifies that answers in the answer file are defaults. Unlike UnattendMode = ProvideDefault, Setup does not display the user interface to end users if you specify in the answer file all the answers relating to a particular Setup page. If you specify only subsets of the answers on a page, the page appears with the provided answers. The end user can modify any of the answers on the displayed page.

Use UnattendMode = DefaultHide in deployment scenarios where an administrator might want only end users to provide the administrator password on the computer. This behavior is the default if you do not specify unattended mode.

FullUnattended
Specifies a fully unattended GUI-mode Setup. If you do not specify a required Setup answer in the answer file, Setup generates an error.

During an attended Setup, improperly signed hardware drivers generate a warning dialog box. If UnattendMode = FullUnattended, then Setup does not install hardware drivers unless they are properly signed.

Use UnattendMode = FullUnattended in deployment scenarios where you require a complete unattended installation.

GuiAttended
Specifies an attended GUI-mode section of Setup. When specified, the end user must answer all questions in the GUI-mode portion of Setup before Setup finishes.

Use UnattendMode = GuiAttended in preinstallation scenarios when you want to automate only text-mode Setup.

ProvideDefault
Specifies default answers in the answer file. In this case, Setup displays these default answers to the end user, who can change them if they are not appropriate.

Use UnattendMode = ProvideDefault in preinstallation scenarios where the OEM or administrator wants to give the person setting up the computer the option to change the predefined default answers (especially network options).

ReadOnly
Specifies read-only answers in the answer file if the Windows Setup pages containing these answers appear to the end user. Like UnattendMode = ProvideDefault, no user interface appears if the answer file contains all the answers on a page. Unlike UnattendMode = DefaultHide, however, the end user can specify only new answers on a displayed page.

Use UnattendMode = ReadOnly in scenarios where an administrator wants to force specific answers on one page but not others.

Default Value DefaultHide
Example UnattendMode = FullUnattended

Comments The default value is DefaultHide when you do not specify the entry. When you specify this entry, it fully automates text-mode Setup with or without the necessary answers

#22
NickAtNight

NickAtNight

    Newbie

  • Member
  • 14 posts

Comments The default value is DefaultHide when you do not specify the entry. When you specify this entry, it fully automates text-mode Setup with or without the necessary answers


it would be nice if it actually worked that way, but it doesn't. the documentation in the ref.chm is a nice starting point, but frankly it's outright wrong in some places and doesn't explain well enough in others

for example if you use quotes or don't use quotes in certain lines, it messes up the parsing of WINNT.SIF somehow. the ref.chm doesn't explain this and in fact tells you to use quotes on some entries where you can not use them

that's the problem i had when i moved my WINNT.SIF from my SP1 CD to my new SP2 CD

just SOP for microsoft, IMO

My suggestion is to keep the winnt.sif file on a floppy and keep trying and when you get it right,then burn it on a CD


Actually I test by making Nero NRG files, Daemon Manager to mount the image, and then using VMWare to test the install - much faster :D

#23
sangwooksohn

sangwooksohn

    Newbie

  • Member
  • 41 posts
NickAtNight,

I know the post is quiet old, but I wonder if you have made it work.
Did you make it work??




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN