Help - Search - Members - Calendar
Full Version: problem With "BootCFG" and an "ini" file (W2kPro)
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
Porteur
hi all and Happy New Year 2005

please help Me

BootCFG Doesn't Work with Windows 2000 Pro SP4 blushing.gif

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
pinout
I need this too smile.gif
Martin Zugec
Why not directly modify/rewrite boot.ini?
pinout
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.

CODE
[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
Porteur
QUOTE (soulin @ Jan 4 2005, 08:26 PM)
Why not directly modify/rewrite boot.ini?
I want that the ini is to modify during unattended windows
pinout
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.thorprojects.com/files/chgini02.zip

BOOTINI.BAT
CODE
@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"
)
Porteur
QUOTE (pinout @ Jan 5 2005, 02:13 AM)
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.thorprojects.com/files/chgini02.zip

BOOTINI.BAT
CODE
@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 biggrin.gif thumbup.gif
KNARZ
BOOTCFG /RAW /SOS /A /ID 1


cmd... bootcfg /? helps =)
Martin Zugec
They were talking about w2k, not wxp...
Slip400
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




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.