Jump to content

Unattended windows xp installation without 'Press any key..'


jduk

Recommended Posts

Hello,

I have a unattended windows cd made using nlite.

I am trying to get rid of the press any key prompt to boot the cd but havent found a way to do this.

If i use nlite to remove the prompt the cd will just loop through the setup every time the PC reboots.

** In the bios the cdrom drive must be set to boot first **

Is there a custom cd rom bootloader that will get around this annoying limitation, to allow true unattended installation with no user interaction whatsoever. (Hint: I have alot of pcs to auto install)

Link to comment
Share on other sites


nLite is for personal use only.

Which doesn't mean that one might own a lot of personal computers :whistle: .

In any case, if the question is:

How can I remove the "press any key prompt to boot the cd" WITHOUT using nlite?

The answer is:

Delete from source BOOTFIX.BIN, or change the bootsector or .... see:

http://www.911cd.net/forums//index.php?showtopic=19987

jaclaz

Link to comment
Share on other sites

Thanks jaclaz

Looks like I would have to have a bootmanager check if the hdd was still in 'Windows Setup Mode' and bypass the CD in that case and boot CD in all other cases.

No idea how to do this tho :S

Can bootmanagers check existence of certains files on the hdd? If so I could try and detect a temp file/folder used while windows is still in setup mode.

Link to comment
Share on other sites

Looks like I would have to have a bootmanager check if the hdd was still in 'Windows Setup Mode' and bypass the CD in that case and boot CD in all other cases.

I cannot see a reason for this.

With a "normal", "attended" CD the procedure is simple and there are only two possible cases:

  1. new (or wiped) disk (no MBR/no partitions) -> Bootfix is NOT invoked at first boot, then text mode setup is run -> MBR and partition made, AND formatted AND setup files copied to hard disk -> bootfix is invoked to allow - if needed - to STOP the installing (the procedure is that second boot comes from hard disk, and the bootfix.bin is there because after text mode you should boot from HD, and without it (or changing the BIOS boot order) the install would start again from CD, which is wrong.
  2. if you are re-installing, the bootfix.bin is invoked on first boot, you press the any key, and you enter the needed, F8, etc., then you can go away as the mechanism will reboot second time, noone will press the key and second boot will work as designed, then you will need to be back in - say - 15 to 30 minutes to input the other info that needs to be input on the GUI mode part .

In unattended mode, #1 you need to press nothing, in #2 you need to press the key ONCE at first boot (and anyway *someone* must be there to insert the CD, change BIOS order if needed, actually connect the machine to mains, etc.), once you have pressed it you can walk away and come back later just to check if everything went OK.

WHAT is the problem? :unsure:

Can bootmanagers check existence of certains files on the hdd? If so I could try and detect a temp file/folder used while windows is still in setup mode.

Sure, grub4dos as an example, can do *almost anything*.

jaclaz

Link to comment
Share on other sites

I want the simplest possible unattended scenario for the user (dummy) :)

The pc is only connected to power and ethernet.

I want the user to be able to power on the machine, open the cd tray, put cd in, close and reboot.

When my unattended cd completes it opens the cd tray and beeps to alert the user, who then removes the cd, closes the tray thus stopping the cd from being booted on reboot.

There is no keyboard or monitor to wait for and press the 'any' key :)

The hdd can be blank or have a previous xp install

Link to comment
Share on other sites

Sorry, I agree with jaclaz. The current, normal situation is already the simplest possible unattended scenario for the user. If the user is working on a system with a blank HDD then the user just has to start the computer and load the CD and press nothing at all. If the user is working on a system with a existing XP install in place, then they will have to do the "Press any key" bit once, when first started, and nothing else at all. I know you say your user is a dummy, but how big an id*** are they to not be able to follow that one instruction? (No offense meant.) Yes, grub4dos or something could be used to do almost anything, but why is that necessary? it will be a very specialized application, and definitely not for use in the home. Especially considering your comments of "no keyboard or monitor" and "I have alot of pcs to auto install". Considering that you have already admitted that you have an "unattended windows cd made using nlite", I'm going to also agree with -X- in his admonition that nLite is for home use only and suggest that this thread be locked. It seems you have already violated nLite's EULA.

Cheers and Regards

Link to comment
Share on other sites

I am using nlite for personal use. By 'alot of pcs' i mean single digit numbers and some of these pcs need reinstalled frequently. I am also not at my home all the time and need someone (old family member/completely computer illiterate) to stick the cd in (with me on the phone telling them what to do lol).

Telling someone on the phone to stick a cd in the pc and leave it,

vs

Me: connect vga cable,

Dummy: whats that?

Me: the cable that goes to the screen

Dummy: oh ok..wait a min

(2mins later)

Dummy: ok, i think thats it

Me: ok, now connect the keyboard

Dummy: mmm, wait 1 min

(3 mins later)

Dummy: ok

Me: ok, turn the computer on, you need to press any key when it says that on the screen

Dummy: ok, turning on

Me: ok

Dummy: Ok, it says press any key, but where is any key?

Me: ...

Me: just press d (for Dummy)

Dummy: ok, i pressed d, now i see a windows picture

(Dummy has not pressed it quick enough and has skipped cd boot)

Me: eh ok, you will need to press it quicker next time, ok lets try again....find the reset switch on the front...

(10mins later)

Get my point?

Edited by jduk
Link to comment
Share on other sites

What an incredibly nice family story. I like to call my relatives "users" or "dummies", it makes me feel close to them. :thumbup

Why does the CD have to stay 1st boot device ? Does your administrator one of your relatives say so ? :angel

Link to comment
Share on other sites

But then, if you are positive that the peep there WILL remove the CD, all you have to do is to remove the BOOTFIX.BIN from the CD.

Making a grub4dos based CD that checks *something* on hard disk is perfectly possible of course, only, if your CD already opens he CD tray and beeps it sounds, it seems to me overkill.

If you need help with grub4dos, just say so.

jaclaz

Link to comment
Share on other sites

Let me think:

They (Your "Family") will somehow know in their limited PC knowledge that a tower without monitor or keyboard is no longer working?

I have seen some high quality Swiss cheese that has less holes in it.

Don't bullsh*t us it is not our first rodeo.

Explain to us what the actual purpose of a freshly installed pc without monitor or keyboard? (Especially to your dummy family and friends)

Link to comment
Share on other sites

http://en.wikipedia.org/wiki/Headless_system

http://www.techopedia.com/definition/27269/headless-computer

Via RDP BUT... -

http://control.com/thread/1026235771

WinXP-Pro lets you remotely access the headless computer's desktop through RDP, so it shouldn't be a problem to manage. But this service is not installed by default.
There can be problems in headless operation specific to particular PC hardware. You need to check if the particular BIOS you will be using can be set to ignore missing keyboards and monitors (some will stop and report an error and wait for you to "press a key to continue").

The "family scenario" given makes no sense.

Link to comment
Share on other sites

What an incredibly nice family story. I like to call my relatives "users" or "dummies", it makes me feel close to them. :thumbup

Why does the CD have to stay 1st boot device ? Does your administrator one of your relatives say so ? :angel

Thanks :thumbup

I have setup the PC's beforehand to boot cd-rom first so I can ring them up to put the CD in and know it will work.

But then, if you are positive that the peep there WILL remove the CD, all you have to do is to remove the BOOTFIX.BIN from the CD.

Making a grub4dos based CD that checks *something* on hard disk is perfectly possible of course, only, if your CD already opens he CD tray and beeps it sounds, it seems to me overkill.

If you need help with grub4dos, just say so.

jaclaz

the problem removing bootfix.bin is after 1st reboot the CD will boot setup again and this will continue in a loop

actually thank you for mentioning grub4dos. I have customised the menu.lst to allow for proper 100% unattended install so problem solved :-)

Let me think:

They (Your "Family") will somehow know in their limited PC knowledge that a tower without monitor or keyboard is no longer working?

I have seen some high quality Swiss cheese that has less holes in it.

Don't bullsh*t us it is not our first rodeo.

Explain to us what the actual purpose of a freshly installed pc without monitor or keyboard? (Especially to your dummy family and friends)

I ring them to tell them to put the CD for that pc in its drive and reboot. most of the time I will be there anyway to stick the CD in and go do something else more productive.

lots of purposes for a pc without monitor considering I can rdp and vnc into the machine...

http://en.wikipedia.org/wiki/Headless_system

http://www.techopedia.com/definition/27269/headless-computer

Via RDP BUT... -

http://control.com/thread/1026235771

WinXP-Pro lets you remotely access the headless computer's desktop through RDP, so it shouldn't be a problem to manage. But this service is not installed by default.
There can be problems in headless operation specific to particular PC hardware. You need to check if the particular BIOS you will be using can be set to ignore missing keyboards and monitors (some will stop and report an error and wait for you to "press a key to continue").

The "family scenario" given makes no sense.

BIOS is set to ignore keyboard errors and nlite has option to enable rdp plus my custom script makes sure pc is accessible from my main pc so it does make sense.

how does the family scenario not make sense. a lot of people live with families...

anyway, like I said I have built a solution with grub4dos to fully automate this without 'press any key'

I thought this would of been a useful feature to discuss and offer other peeps interested in fully unattended nlite installs but I guess not. :-(

Edited by jduk
Link to comment
Share on other sites

If you think it could be useful, and have come up with a solution, would you mind sharing? I would also be interested to know the uses you have come up with for your headless systems in the home, not just theoretical ones but ones you have actually implemented and found useful. I have several old systems, in pieces, available that I might could cannibalize and add a few things to and maybe make a working system out of if I had something worthwhile that it could do. I don't have an extra monitor, so a headless system would be good, if it had a practical use.

Cheers and Regards

Link to comment
Share on other sites

(heh...) My POINT was you keep talking about your "family" at remote locations and then proceed to say that they hook up Keyboard/Monitor to install (whatever) and then talk about "headless systems" (first several posts). THAT makes no sense. What good is a Remote Headless System to a "family member"? Seriously.... It REALLY sounds like you want to ship this "CD/DVD" to "someone" that has "headless systems" in place and you wish to install/upgrade since (WOW!!!) the BIOS would HAVE to be entered to disable said peripherals, correct?

Makes absolutely NO sense! SERIOUSLY sounds like you have "family" at remote locations with "headless systems" that YOU use Remotely for some (unknown) purpose.

post-72994-0-85818800-1359044766_thumb.j

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