Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

July 08, 2002 12:00 AM

How can I change the Windows XP or Windows 2000 boot screen?

Windows IT Pro
InstantDoc ID #25797
Rating: (10)

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)
  • Angus Johnson's Resource Hacker

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:

  1. Start Resource Hacker.
  2. From the file menu, select Open.
  3. Navigate to the \%systemroot%\system32 folder (e.g., c:\windows\system32) and select ntoskrnl.exe.
  4. 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).
  5. Expand the Bitmap folder in the left-hand pane, expand item 1, and select item 1033.
  6. From the Action menu, select "Save [ Bitmap : 1 : 1033]".
  7. Enter a location and name to use to save the existing bitmap, then click Save (keep Resource Hacker open and running on your system).
  8. 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).
  9. From the Colors menu, select Load Palette.
  10. 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.
  11. Modify the boot screen bitmap as you desire.
  12. 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.
  13. Save the bitmap file and close your paint program.
  14. Back in Resource Hacker, ensure that you still have the 1 under Bitmap selected (from step 5).
  15. From the Action menu, select Replace Bitmap.
  16. Press the "Open file with new bitmap" button.
  17. Select the new bitmap you created, then click Open.
  18. On the Replace dialog box, ensure that bitmap 1 is selected, then click Replace.
  19. From the File menu, click Save.
  20. Go to Start, Run, and type
    cmd.exe
    to open a command prompt.
  21. Navigate to the root of the C: drive by typing
    c:
    cd \ 
  22. So that you can edit the file, modify the boot.ini file attributes by typing
    attrib boot.ini -r -s -h 
  23. 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 
  24. Reset the boot.ini attributes to their default state by typing
    attrib boot.ini +r +s +h 
  25. 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.

Related Content:

ARTICLE TOOLS

Comments
  • franc
    6 years ago
    Feb 22, 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.

  • olli__15
    6 years ago
    Jan 06, 2006

    I'm running xp pro. i follow the bootscreen page letter by letter and it still boots up with xp screen! why ??? :(

  • Anonymous User
    7 years ago
    Jun 28, 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
    7 years ago
    Jun 02, 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
    7 years ago
    Apr 13, 2005

    Could someone post where too get the 16.pal file from? Good article.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.