MSFN Forum: Unattended Boot.ini Modifcation - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Unattended Boot.ini Modifcation Rate Topic: -----

#1 User is offline   Erlkönig 

  • Newbie
  • Group: Validating
  • Posts: 25
  • Joined: 08-May 04

  Posted 19 December 2004 - 12:29 PM

Hi everybody,

does anyone know how to add the /noguiboot switch to the boot.ini,
so that i would never see the windows boot screen, when i install my winxp.
So is there any way to replace the boot.ini, with a modified one or to add the switch
unattended.

ThX a lot,

Greetings,
Erlkönig


#2 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 19 December 2004 - 12:39 PM

you can specify it in cmdlines.txt:

[COMMANDS]
"bootcfg /Default /ID 1"
"bootcfg /Addsw /NG /ID 1"


Have fun!

#3 User is offline   Tsunami 

  • Member
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 05-March 04

Posted 19 December 2004 - 12:39 PM

BOOTCFG /RAW "/NOGUIBOOT" /A /ID 1

will add /noguilogo to the first OS in boot.ini.

Edit: doh, too late :) hp38guser's commands will work too.

#4 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 19 December 2004 - 12:41 PM

My method will set the installing os as first id.

#5 User is offline   pinout 

  • Junior
  • Pip
  • Group: Members
  • Posts: 61
  • Joined: 25-January 04

Posted 19 December 2004 - 06:21 PM

BOOTCFG only works for XP, anyone know something similar for 2000?

#6 User is offline   nakira 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 18-July 04

Posted 19 December 2004 - 08:07 PM

Maybe use AutoIT, it has IniRead/IniWrite commands.

#7 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 20 December 2004 - 01:57 AM

i thought bootcfg works on 2000, just that it's not included with 2000.

#8 User is offline   pinout 

  • Junior
  • Pip
  • Group: Members
  • Posts: 61
  • Joined: 25-January 04

Posted 20 December 2004 - 01:59 AM

Alanoll, I don't think it does... I'm pretty sure long ago I tried taking bootcfg from XP and using it on 2000 and it wouldn't let me run it.

Maybe I'll try it again.

#9 User is offline   cybpsych 

  • Member
  • PipPip
  • Group: Members
  • Posts: 283
  • Joined: 02-December 03

Posted 20 December 2004 - 02:43 AM

a bit confused here ...

what if i wanted to change from

/noexecute=optin -=> /noexecute=AlwaysOff ???

#10 User is offline   Kishiro 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 25-August 04

Posted 20 December 2004 - 11:17 AM

@cybpsych

-------------------------------------------------
@echo off
bootcfg /raw "/Execute /fastdetect" /id 1
-------------------------------------------------

This disables DEP (Data Execution Prevention) completely. I use it on my unattended WindowsXP CD, and it works like a charm :P

#11 User is offline   cybpsych 

  • Member
  • PipPip
  • Group: Members
  • Posts: 283
  • Joined: 02-December 03

Posted 20 December 2004 - 05:35 PM

thanks Kishiro,

i'm not sure what the /Execute switch do, but i've corrected it to be this way:

bootcfg /raw "/noexecute=AlwaysOff /fastdetect" /id 1


thanks again!

*EDIT* OK, found out that /Execute is the reverse of /noexecute ... use /noexecute if you want to determine the switch above or just put /Execute to remove it totally :)

Kishiro, your code is fine ... sorry for my previous reply ;)

For all, here's an explanation guide to the switches available for boot.ini.

http://www.sysinternals.com/ntw2k/info/bootini.shtml


#12 User is offline   cybpsych 

  • Member
  • PipPip
  • Group: Members
  • Posts: 283
  • Joined: 02-December 03

Posted 21 December 2004 - 12:47 AM

hi again ... having trouble with boot.ini ..

what i have here is this for my cmdlines.txt:

[COMMANDS]
"RunOnceEx.cmd"
"UserAccounts.cmd"
"IESmallIcon.cmd"
"REGEDIT /S RegTweaks.reg"
"bootcfg /raw "/Execute /fastdetect" /id 1"


the bootcfg command didn't modify the string at all ...

should i ammend it to be this?:

[COMMANDS]
"bootcfg /raw \""/Execute /fastdetect\"" /id 1"


#13 User is offline   Tsunami 

  • Member
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 05-March 04

Posted 21 December 2004 - 02:18 AM

This should work:

[COMMANDS]
"RunOnceEx.cmd"
"UserAccounts.cmd"
"IESmallIcon.cmd"
"REGEDIT /S RegTweaks.reg"
"BOOTCFG /RAW \"/EXECUTE /FASTDETECT\" /ID 1"


#14 User is offline   cybpsych 

  • Member
  • PipPip
  • Group: Members
  • Posts: 283
  • Joined: 02-December 03

Posted 21 December 2004 - 02:45 AM

ok now is see what has confused me :)

lemme try again in VM ...

*UPDATE* No luck, it's not added to boot.ini at all.

The only way i tested working is through batch file and point it from cmdlines.txt

#15 User is offline   Br4tt3 

  • World famous sausage eater...
  • PipPipPipPip
  • Group: Members
  • Posts: 566
  • Joined: 20-April 04

Posted 21 December 2004 - 06:30 AM

think u can obtain BBD 2.0 from MS webby freely, contains script for modifying the boot.ini.....

#16 User is offline   Erlkönig 

  • Newbie
  • Group: Validating
  • Posts: 25
  • Joined: 08-May 04

  Posted 21 December 2004 - 11:11 AM

:thumbup thx a lot people, :thumbup
i'll give it a try soon.

Greetings,
Erlkönig

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy