MSFN Forum: problem With "BootCFG" and an "ini" file (W2kPro) - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

problem With "BootCFG" and an "ini" file (W2kPro) Rate Topic: -----

#1 User is offline   Porteur 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 10-November 03

  Posted 04 January 2005 - 11:22 AM

hi all and Happy New Year 2005

please help Me

BootCFG Doesn't Work with Windows 2000 Pro SP4 :blushing:

Is There an equivalent of "BootCFG" For Windows 2000 Pro ???

I want that the ini is to modify during unattended windows

Thank you for your help


#2 User is offline   pinout 

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

Posted 04 January 2005 - 12:53 PM

I need this too :)

#3 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 04 January 2005 - 01:26 PM

Why not directly modify/rewrite boot.ini?

#4 User is offline   pinout 

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

Posted 04 January 2005 - 02:36 PM

I need a way to programmatically add a switch like "/sos" to my Windows 2000 entry in the boot.ini. The entry can vary depending on what drive/partition its installed on, so I don't think just copying over a pre-set boot.ini is a good solution.

[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect


#5 User is offline   Porteur 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 10-November 03

  Posted 04 January 2005 - 03:53 PM

soulin, on Jan 4 2005, 08:26 PM, said:

Why not directly modify/rewrite boot.ini?
I want that the ini is to modify during unattended windows

#6 User is offline   pinout 

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

Posted 04 January 2005 - 07:13 PM

Well after a bit of messing around I came up with a method to do what I wanted, this may help others out.

I wanted to add the "/sos" switch to my Windows 2000 entry so this is how I did it.

You need "CHANGEINI.EXE" which you can get from http://www.thorproje...es/chgini02.zip

BOOTINI.BAT
@PUSHD "%~dp0" & ECHO OFF
@SET BOOTINI=%SystemDrive%\boot.ini

ATTRIB -A -H -R -S "%BOOTINI%"
COPY /Y "%BOOTINI%" "%BOOTINI%.old"

FOR /F "tokens=1 delims==" %%i IN ('FINDSTR /I /R "Microsoft Windows 2000 Professional" "%BOOTINI%"') DO (
 CHANGEINI.EXE "%BOOTINI%" "operating systems" "%%i" "\"Microsoft Windows 2000 Professional\" /fastdetect /sos"
)


#7 User is offline   Porteur 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 10-November 03

  Posted 05 January 2005 - 12:35 AM

pinout, on Jan 5 2005, 02:13 AM, said:

Well after a bit of messing around I came up with a method to do what I wanted, this may help others out.

I wanted to add the "/sos" switch to my Windows 2000 entry so this is how I did it.

You need "CHANGEINI.EXE" which you can get from http://www.thorproje...es/chgini02.zip

BOOTINI.BAT
@PUSHD "%~dp0" & ECHO OFF
@SET BOOTINI=%SystemDrive%\boot.ini

ATTRIB -A -H -R -S "%BOOTINI%"
COPY /Y "%BOOTINI%" "%BOOTINI%.old"

FOR /F "tokens=1 delims==" %%i IN ('FINDSTR /I /R "Microsoft Windows 2000 Professional" "%BOOTINI%"') DO (
 CHANGEINI.EXE "%BOOTINI%" "operating systems" "%%i" "\"Microsoft Windows 2000 Professional\" /fastdetect /sos"
)

Thank you pinout :D :thumbup

#8 User is offline   KNARZ 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 20-August 04

Posted 05 January 2005 - 03:44 AM

BOOTCFG /RAW /SOS /A /ID 1


cmd... bootcfg /? helps =)

#9 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 05 January 2005 - 03:56 AM

They were talking about w2k, not wxp...

#10 User is offline   Slip400 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 23-October 04

Posted 05 January 2005 - 03:50 PM

ok I want to change my boot to 0,

Bootcfg /Timeout 0

Then What Command I add to my RunOnceEx.cmd?

I want to add the atribute "A" as well

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