Porteur Posted January 4, 2005 Share Posted January 4, 2005 hi all and Happy New Year 2005please help MeBootCFG Doesn't Work with Windows 2000 Pro SP4 Is There an equivalent of "BootCFG" For Windows 2000 Pro ???I want that the ini is to modify during unattended windowsThank you for your help Link to comment Share on other sites More sharing options...
pinout Posted January 4, 2005 Share Posted January 4, 2005 I need this too Link to comment Share on other sites More sharing options...
Martin Zugec Posted January 4, 2005 Share Posted January 4, 2005 Why not directly modify/rewrite boot.ini? Link to comment Share on other sites More sharing options...
pinout Posted January 4, 2005 Share Posted January 4, 2005 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=1default=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 Link to comment Share on other sites More sharing options...
Porteur Posted January 4, 2005 Author Share Posted January 4, 2005 Why not directly modify/rewrite boot.ini?I want that the ini is to modify during unattended windows Link to comment Share on other sites More sharing options...
pinout Posted January 5, 2005 Share Posted January 5, 2005 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.zipBOOTINI.BAT@PUSHD "%~dp0" & ECHO OFF@SET BOOTINI=%SystemDrive%\boot.iniATTRIB -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") Link to comment Share on other sites More sharing options...
Porteur Posted January 5, 2005 Author Share Posted January 5, 2005 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.zipBOOTINI.BAT@PUSHD "%~dp0" & ECHO OFF@SET BOOTINI=%SystemDrive%\boot.iniATTRIB -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 Link to comment Share on other sites More sharing options...
KNARZ Posted January 5, 2005 Share Posted January 5, 2005 BOOTCFG /RAW /SOS /A /ID 1cmd... bootcfg /? helps =) Link to comment Share on other sites More sharing options...
Martin Zugec Posted January 5, 2005 Share Posted January 5, 2005 They were talking about w2k, not wxp... Link to comment Share on other sites More sharing options...
Slip400 Posted January 5, 2005 Share Posted January 5, 2005 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now