Jump to content

boot.ini problem


Recommended Posts

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

cheers

pirrup

Link to comment
Share on other sites


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

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 tweaks

ps i tried to use some console ini changers but they can't seem to change the long string :(

Edited by pirrup
Link to comment
Share on other sites

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 SystemStartupOptions

At 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 helps

CF

Link to comment
Share on other sites

:( run command in cmd prompt to change attributes of "BOOT.INI"

attrib -h -s -a -r boot.ini

then edit it with the text editor

------------------------------------------------------------------------------------------

timeout=30

default=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=OPTOUT

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /FASTDETECT /NOEXECUTE=OPTOUT /kernel=OEMKernel.exe

------------------------------------------------------------------------------------------

second option boot with your custom bootscreen

and first for default

save & exit ...............

Lets do fun and enjoy...................! Balle Balle :P

Ramesh Kumar Pilani INDIA

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...