pirrup Posted April 6, 2006 Share Posted April 6, 2006 hello guys,i'm using a custom bootlogo (OEMkrnl.exe)but i want a option to remove the /kernel=OEMKrnl.exe from my boot.ini so i can have the normal bootlogo i tried replacing boot.ini with a batch file but it doens't seem to work with an unattended setup.any help would be nice cheerspirrup Link to comment Share on other sites More sharing options...
possy_99 Posted April 6, 2006 Share Posted April 6, 2006 should just be a case of copying the line for your current windows in boot.ini and pasting it to second line adding /kernel switch to second line. Make sure you have got the option turned on to display list of operating systems and rename one so they both don't use same name Link to comment Share on other sites More sharing options...
pirrup Posted April 6, 2006 Author Share Posted April 6, 2006 (edited) nah don't want a boot menu what i want is the option to say i want a normal bootlogo when installing soft unattended.i use wpi to install software and reg tweaksps i tried to use some console ini changers but they can't seem to change the long string Edited April 6, 2006 by pirrup Link to comment Share on other sites More sharing options...
cancerface Posted April 6, 2006 Share Posted April 6, 2006 Here is a cool trick using wmic.exe:The following code would give you the current entry (or entries?) in Boot.ini:%SystemRoot%\system32\wbem\wmic.exe ComputerSystem get SystemStartupOptionsAt work the above gives me:SystemStartupOptions{""Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn"}Now if I want to change it by adding the /kernel=OEMKrnl.exe option I would have to give:%SystemRoot%\system32\wbem\wmic.exe ComputerSystem Set SystemStartupOptions= '"Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn /kernel=OEMKrnl.exe'Note that I am using single quotes around the expression that I am supplying to wmic.exe ...I guess you would have to play around with this if you had multiple entries in your boot.ini file ...Hope this helpsCF Link to comment Share on other sites More sharing options...
pirrup Posted April 7, 2006 Author Share Posted April 7, 2006 great man it works tnx alot Link to comment Share on other sites More sharing options...
neo Posted April 7, 2006 Share Posted April 7, 2006 run command in cmd prompt to change attributes of "BOOT.INI"attrib -h -s -a -r boot.inithen edit it with the text editor------------------------------------------------------------------------------------------timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /FASTDETECT /NOEXECUTE=OPTOUTmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /FASTDETECT /NOEXECUTE=OPTOUT /kernel=OEMKernel.exe------------------------------------------------------------------------------------------second option boot with your custom bootscreenand first for defaultsave & exit ...............Lets do fun and enjoy...................! Balle Balle Ramesh Kumar Pilani INDIA Link to comment Share on other sites More sharing options...
laura Posted April 7, 2006 Share Posted April 7, 2006 use built in command to edit boot.inibootcfg /raw "/fastdetect /noexecute=optin /kernel=oemkrnl.exe" /ID 1for more info run cmd and type bootcfg /? Link to comment Share on other sites More sharing options...
pirrup Posted April 7, 2006 Author Share Posted April 7, 2006 you can't change with bootcfg , only add.and wmic.exe is also built in 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