A. First, a disclaimer: Microsoft doesn't support modifying core system files. Every time a service pack or hotfix replaces one of these files, you must perform the following procedure again. This procedure is provided as is and works as shown; please don't email me to ask for specific assistance. Please post all questions to the Windows & .NET Magazine forums.
When Windows starts, a progress bar indicating the status of the boot process appears on top of a Windows logo background. You can't use the registry or a configuration file (e.g., .ini file) to modify this background. However, you can modify the bitmap resource, which stores the background image, in the ntoskrnl.exe (the Windows kernel) file that's active during the boot process. You'll need to copy the ntoskrnl.exe file and replace the bitmap resource with the bitmap you want to use. If you want to modify an XP boot screen but you're not up to the challenge of manually modifying ntoskrnl.exe, you might want to try BootXP.
You'll need two applications to modify the ntoskrnl.exe file:
Jasc Sofware's Paint Shop Pro to modify an XP boot screen (if you're modifying a Win2K boot screen, you can use any paint program because, unlike XP and as I explain later, Win2K doesn't rely on color palettes)
The boot screen bitmap must consist of 16 colors. When you modify an XP boot screen, you'll need to download a 16-color Windows palette and 16-color viewable palette from the Windows 2000 FAQ Web site. Otherwise, the bitmap image that you create for your boot screen will appear as just a black image.
When Win2K displays the boot screen bitmap image, it loads the colors from the actual bitmap. When XP displays the bitmap image, it loads the colors from a standard palette, which complicates the process of replacing the bitmap image for the XP boot screen. The general steps for replacing the boot screen image in both XP and Win2K are as follows:
Start Resource Hacker.
From the file menu, select Open.
Navigate to the \%systemroot%\system32 folder (e.g., c:\windows\system32) and select ntoskrnl.exe.
From the File menu, select Save As and enter a name of ntoskrmd.exe (now you can safely edit the new file without risk of damaging the original file).
Expand the Bitmap folder in the left-hand pane, expand item 1, and select item 1033.
From the Action menu, select "Save [ Bitmap : 1 : 1033]".
Enter a location and name to use to save the existing bitmap, then click Save (keep Resource Hacker open and running on your system).
Start Paint Shop Pro and load the bitmap you just saved. (If you're modifying an XP boot screen, you'll see only a black image; if you're modifying a Win2K boot screen, skip to step 11).
From the Colors menu, select Load Palette.
Load the 16.pal file (i.e., the viewable palette file) you downloaded and ensure you've selected "Maintain indexes" under the "Apply palette using" section. After you load the viewable palette, the boot screen bitmap will appear on screen.
Modify the boot screen bitmap as you desire.
If you're modifying an XP boot screen, after you finish modifying the bitmap, select Load Palette from the Colors menu, then load the win.pal file (i.e., the Windows palette file) you downloaded. The screen will go black again. If you're modifying a Win2K boot screen, continue to the next step.
Save the bitmap file and close your paint program.
Back in Resource Hacker, ensure that you still have the 1 under Bitmap selected (from step 5).
From the Action menu, select Replace Bitmap.
Press the "Open file with new bitmap" button.
Select the new bitmap you created, then click Open.
On the Replace dialog box, ensure that bitmap 1 is selected, then click Replace.
From the File menu, click Save.
Go to Start, Run, and type
cmd.exe
to open a command prompt.
Navigate to the root of the C: drive by typing
c:
cd \
So that you can edit the file, modify the boot.ini file attributes by typing
attrib boot.ini -r -s -h
Edit boot.ini, copy your current Windows start line to a new entry with a modified kernel to create a modified boot option, then save. For example, you would change
[boot loader]
timeout=5
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
to
[boot loader]
timeout=5
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
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional Modified Start Screen" /fastdetect /kernel=ntoskrmd.exe
Reset the boot.ini attributes to their default state by typing
attrib boot.ini +r +s +h
Reboot the machine and select the modified boot option you just created to view your modified boot screen. If the boot process fails, select the unmodified boot option.
After you're happy with your modified boot screen, you can change the boot.ini file to include only the modified boot entry with the /kernel option. For example,
[boot loader]
timeout=5
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 Modified Start Screen" /fastdetect /kernel=ntoskrmd.exe
Be aware that if you apply a service pack or a hotfix and you continue to use the modified ntoskrnl.exe file, the fixes you apply won't go into effect and you might experience compatibility problems. Should this happen, you can manually replace the standard ntoskrnl.exe file with the modified version by booting into the Recovery Console or by pressing F8 during the boot process to boot into "Safe mode command prompt." If you use either method, you'll boot to a command prompt where you can overwrite the standard ntoskrnl.exe. If a service pack or hotfix replaces ntoskrnl.exe, you'll need to modify the new ntoskrnl.exe file supplied with the fix to restore your modified boot screen.
You can use Resource Hacker to explore the other bitmaps you can change. Just be sure you always have an alternative boot option and that you don't change the original ntoskrnl.exe while experimenting. For example, bitmap 8 for XP is the three progress bars that scroll across the screen during the boot process (you can change this bitmap by following the steps I outlined above and substituting bitmap 1 for bitmap 8).
A few words of warning. I've noticed that when I edit a bitmap in Paint Shop Pro and save the image under a different name, the new picture is a different size. As a result, when I insert the image into ntoskrnl.exe and attempt to boot the system, the boot process fails and displays an error message indicating that the system can't find ntoskrnl.exe. You must save the bitmap image over the existing file that you used Resource Hacker to export.
Reader Comments
Do you know how to change the Windows ME boot screen?
Jamie -June 11, 2004
I can't seem to be able to edit the boot.ini from CMD.
I type in the attrib boot.ini... command, but nothing happens. Then i try to introduce the modified entry and it won't accept it.
I don't wanna sound dumb or anything but please, enlighten me on how to modify the boot.ini .
Anonymous User -January 05, 2005
Works just fine. Can't seem to find the pallet equilivant with Adobe Photoshop so I went ahead and downloaded PSP9 (free for 60 days). The way to get to the pallet is a little different than above but it works just fine and I can even paste items into the field. Thanks
Anonymous User -January 28, 2005
Why Dosnt The Link To Download The Palette Work?
Anonymous User -February 07, 2005
i have change boot screen in adobe photoshop. then i replace that bitamp using resource hacker. it replace that. but when i boot through that modified kernel it is not displaying thet 1033 bitamp. only progress bar and wor professional is there. plz help me to avoid this problem. is there any way to resolve this problem.
Anonymous User -April 09, 2005
where can i download a 16-bit pallette from
Anonymous User -April 12, 2005
Could someone post where too get the 16.pal file from? Good article.
Anonymous User -April 13, 2005
Interesting article. I have used Resource hacker before, but not PSP. I'm gonna try it and see how it goes. If anything fails, then thank god for the windows xp cd, and the backup images I made with acronis. I am gonna try it till I get it right. Ur instructions sound a bit confusing, but I think that my mind will be able to translate it into english, lol. I give the article a 4 because it is hard to understand because of all the posts by people who have tried to change their boot screen, and have run into problems. Can't wait to try this, thanks for the info.
Anonymous User -June 02, 2005
To find the palettes, search google for 16.pal and win.pal. It may save them as test files. If so, you need to remove the .txt and save them as pal files.
Anonymous User -June 28, 2005
I'm running xp pro. i follow the bootscreen page letter by letter and it still boots up with xp screen! why ??? :(
olli__15 -January 06, 2006
You can find the .zip file containing the .pal files at this address on this site now:
http://www.windowsitpro.com/articles/download/25797.zip
Note that the site changed names, and that particular link was not updated, but the file is still there.
I have yet to try it... I found another .pal and tried to load it using irfranview, which turned it black (yippie!) but the splash was still black with the loading animation.
I'm trying to replace mine with the windows 1.01 splash... how cunning, eh?
2000 was much easier to change... I had a custom one for the company I worked for at the time, and I'd put it on every PC I had to load kernel on.
More updates if I reach success on this tid-byte.
Free CDs Offer Fundamental Content for IT Pros Are you up to speed on the latest technologies and solutions? Don't miss out on your chance to get up to speed quickly on fundamental, in-depth information on some of the hottest topics in our library of content.
Let Your Users Reset Their Own Passwords: Free Download Try a 30 day free trial of Desktop Authority Password Self-Service – it provides an easy-to-use, robust system for allowing users to reset their own forgotten passwords or locked accounts.
Get Windows IT Pro & Mark Minasi’s Favorite Power Tools Guide Order Windows IT Pro now and get "More of Mark Minasi's Favorite Power Tools"--a in-depth guide to the most useful Windows commands --FREE with your paid order! Subscribe today, and save 58% off the cover price!
Deep Dive into VMware vSphere, eLearning Series Join John Savill to explore the major functionality capabilities of the vSphere virtualization platform, including identification of the changes from ESX 3.5.