imthemp3king Posted May 19, 2004 Posted May 19, 2004 I was wondering if anyone out there might know of a utility like bootcfg.exe for Windows XP that will allow me to change the wait period on the OS selection screen for Windows 2000 Server?
Alanoll Posted May 19, 2004 Posted May 19, 2004 if you do have a WindowsXP machine, you could try using bootcfg from it on your Win2k machine. Should still work.
mdes Posted May 19, 2004 Posted May 19, 2004 That's what I am using at and of RunOnceEx.reg (which is called in command.txt):SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONTITLE Modifiy Boot DelaySET ProgPath=C:SET ORIG=%ProgPath%\Boot.iniSET NEW=%ProgPath%\Boot_New.iniATTRIB -R -S -H %ORIG%IF EXIST "%NEW%" ( ATTRIB -R -S -H %NEW% DEL /Q "%NEW%")FOR /F "delims=*" %%L IN (%ORIG%) DO ( SET Begin=%%L IF "!Begin:~0,8!" == "timeout=" ( ECHO.timeout=5 >>"%NEW%" ) ELSE ( ECHO.%%L >>"%NEW%" ))COPY /Y %ORIG% %ORIG%_OLDCOPY /Y %NEW% %ORIG%
imthemp3king Posted May 20, 2004 Author Posted May 20, 2004 Alanoll, Bootcfg will not run on Windows 2000 and will tell you so if you attempt to run it on a Win2k system.mdes, Should that code snippet be saved as VBS script?Thanks
Alanoll Posted May 20, 2004 Posted May 20, 2004 the code is a BATCH file.just copy and past into Notepad, and save as a CMD or BAT file.
Jazz Posted May 21, 2004 Posted May 21, 2004 Ok i got a similar problem...I wanna after install, modify the boot.ini so that it displays more than one list of Boot screens to choose, so i have this command in my batch file.@echo offclsEcho Changing the Default Boot Screens..bootcfg /copy /D "Windows XP Professional (Pirated)" /id 1bootcfg /copy /D "Windows XP Professional (Gabrial)" /id 1bootcfg /RAW /fastdetect /Kernel=pirated.exe /ID 2bootcfg /RAW /fastdetect /Kernel=gabrial.exe /ID 3bootcfg /default /id 2Bootcfg /Timeout 0But the errors i get are..E:\xpmod_test\xptest\$OEM$\$1\install>Echo Changing the Default Boot Screens..Changing the Default Boot Screens..E:\xpmod_test\xptest\$OEM$\$1\install>bootcfg /copy /D "Windows XP Professional(Pirated)" /id 1SUCCESS: Made a copy of the boot entry "1".E:\xpmod_test\xptest\$OEM$\$1\install>bootcfg /copy /D "Windows XP Professional(Gabrial)" /id 1SUCCESS: Made a copy of the boot entry "1".E:\xpmod_test\xptest\$OEM$\$1\install>bootcfg /RAW /fastdetect /Kernel=pirated.exe /ID 2ERROR: Invalid Syntax. Default option is not allowed more than '1' time(s).Type "BOOTCFG /RAW /?" for usage.E:\xpmod_test\xptest\$OEM$\$1\install>bootcfg /RAW /fastdetect /Kernel=gabrial.exe /ID 3ERROR: Invalid Syntax. Default option is not allowed more than '1' time(s).Type "BOOTCFG /RAW /?" for usage.E:\xpmod_test\xptest\$OEM$\$1\install>bootcfg /default /id 2SUCCESS: Changed the default OS in the BOOT.INI.E:\xpmod_test\xptest\$OEM$\$1\install>Bootcfg /Timeout 0SUCCESS: Changed the timeout value in the BOOT.INI.And as result, my boot.ini becomes[boot loader]timeout=0default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional (Pirated)" /FASTDETECTmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /FASTDETECTmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional (Gabrial)" /FASTDETECTSee there is no /kernel option now.. how do i change this ??Bye,Jazz
[BM]Crusher Posted May 21, 2004 Posted May 21, 2004 This is how I do it:bootcfg /RAW /A /Kernel=kernel1.exe /ID 1I don't do the copy section that you are doing... That works good, I believe it even keeps the /fastdetect feature
Jazz Posted May 21, 2004 Posted May 21, 2004 @echo offclsEcho Changing the Default Boot Screens..bootcfg /copy /D "Windows XP Professional (Pirated)" /id 1bootcfg /copy /D "Windows XP Professional (Gabrial)" /id 1bootcfg /RAW /A /fastdetect /Kernel=pirated.exe /ID 2bootcfg /RAW /A /fastdetect /Kernel=gabrial.exe /ID 3bootcfg /default /id 2Bootcfg /Timeout 0is the new code that i'm using now.. what ur code does is it directly replaces the default entry in the boot.ini with the specified entry.. so the user has to modify the boot.ini to get the previous boot screen, but with my method, u can add as many as boot screens u want ot the boot.ini the /copy command copies the id1 entry to the id2 and id3 and then the next section modifies the paramaters for them..Works like a aharm now, Thanks anyways.BYe,Jazz
[BM]Crusher Posted May 21, 2004 Posted May 21, 2004 i use only the command i previously stated, and it makes a second item in the boot list which is set to the default item (so I end up with 2 choices of what to boot, one with normal boot screen and one with my modified boot screen)oh, i also set the timeout to 1 on the next line of that CMD file (i didn't copy+paste that line) but that doesn't affect the list having 2 items
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