Ascii2 Posted October 10, 2008 Share Posted October 10, 2008 (edited) I want to set the timeout value that exists in boot.ini of Windows 2000 System Drives to 2.I want to modify the BOOT.INI timeout value without using the Windows Graphical User Interface (GUI) for the purpose (as necessary during an unattended Windows install).I am aware of the existence of the bootcfg.exe utility; however, the bootcfg.exe utility does not work on Windows 2000. Attempting to use bootcfg.exe on a Windows 2000 family operating system yields the following error:ERROR: The target system must be running Windows XP or above.If a patched utility with the OS check removed exists, please make it known.How can the BOOT.INI file be modified without using a GUI? Edited October 10, 2008 by Ascii2 Link to comment Share on other sites More sharing options...
IcemanND Posted October 10, 2008 Share Posted October 10, 2008 It's a text file, your just have to turn of the read-only attribute. and any method to edit a text file. CMD file vb script, or replace it with your own file (not 100% reliable). Link to comment Share on other sites More sharing options...
Ascii2 Posted October 10, 2008 Author Share Posted October 10, 2008 It's a text file, your just have to turn of the read-only attribute. and any method to edit a text file. CMD file vb script, or replace it with your own file (not 100% reliable).Other than replacing a file completely (which is not desireable for boot.ini), I am uncertain about methods to edit a text file other than via a GUI.How can it be done via CMD file? Link to comment Share on other sites More sharing options...
OuTmAn Posted October 10, 2008 Share Posted October 10, 2008 using NirCmdATTRIB -R -S -H C:\boot.iniNIRCMDC inisetval "C:\boot.ini" "boot loader" "timeout" "2"cheers Link to comment Share on other sites More sharing options...
Ascii2 Posted October 10, 2008 Author Share Posted October 10, 2008 Thank you OuTmAn. Your suggestion performed as expected; boot.ini was correctly modified.I have added NirCMD to my utilities set. Link to comment Share on other sites More sharing options...
jaclaz Posted October 11, 2008 Share Posted October 11, 2008 It's a text file, your just have to turn of the read-only attribute. and any method to edit a text file. CMD file vb script, or replace it with your own file (not 100% reliable).Other than replacing a file completely (which is not desireable for boot.ini), I am uncertain about methods to edit a text file other than via a GUI.How can it be done via CMD file?Here:http://www.msfn.org/board/Hand-BOOTINI-t66101.htmlhttp://www.msfn.org/board/Hand-BOOTINI-t66101.html&st=15NIRCMD is great, but remember:Make everything as simple as possible, but not simpler."jaclaz Link to comment Share on other sites More sharing options...
Ascii2 Posted October 11, 2008 Author Share Posted October 11, 2008 It's a text file, your just have to turn of the read-only attribute. and any method to edit a text file. CMD file vb script, or replace it with your own file (not 100% reliable).Other than replacing a file completely (which is not desireable for boot.ini), I am uncertain about methods to edit a text file other than via a GUI.How can it be done via CMD file?Here:http://www.msfn.org/board/Hand-BOOTINI-t66101.htmlhttp://www.msfn.org/board/Hand-BOOTINI-t66101.html&st=15NIRCMD is great, but remember:Make everything as simple as possible, but not simpler."jaclazThanks, jaclaz.I note the posts in the referenced threads. Link to comment Share on other sites More sharing options...
OuTmAn Posted October 11, 2008 Share Posted October 11, 2008 jaclaz's method (in his 2nd link), using "TYPE | FIND /V", is simple and interesting I could use this method for some of my personal stuff!(but my method using NirCmd is good too ) 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