Subscribe to Windows IT Pro
November 25, 2002 12:00 AM

Change the Windows Logon Screen

Windows IT Pro
InstantDoc ID #26848
Rating: (11)

Recently, our chief operating officer (COO) approached me with a unique request: Change the Windows 2000 Professional logon screen to show our company logo rather than the Win2K logo. I wasn't very enthusiastic about the task because I thought it would require more than my basic programming skills. However, after a brief search of the Internet, I discovered that with the right tools the job would be easy.

When you log on, Win2K uses the default Graphical Identification and Authentication (GINA) file msgina.dll. You can change some of the items in this file, including the top portion of the logon screen (i.e., the logo). You can use several utilities to modify the file; I chose Resource Hacker (ResHack.exe), available at http://www.users.on.net/johnson/resourcehacker.

Before you start, double-click the My Computer icon on your desktop. From the File menu, select Tools, Folder Options. Click the View tab. Then, select the Show hidden files and folders option and clear the Hide protected operating system files (Recommended) option. Next, copy your msgina.dll file onto a 3.5" disk. Finally, install Win2K's Recovery Console for fast access to the recovery options in case you have a problem. (To install the Recovery Console, run \install_source\winnt32 /cmdcons.)

To begin the modification process, copy msgina.dll from \Winnt\System32\msgina.dll to \Winnt\System32\msgina2.dll. Create and save the bitmap you want to load. (Win2K Pro's original bitmap attributes are 413 x 79 pixels, so you need to match this size.)

Use ResHack.exe to open msgina2.dll and navigate to bitmap 101, language 1033. (Note that only Win2K Pro systems use this bitmap. For Win2K Server, Win2K Advanced Server, and Windows NT Server , go to bitmaps 101-114, language 1033. Also, each OS uses different bitmaps during different parts of the logon process.)

From the File menu, select Action, Replace bitmap. Make sure that the bitmap you replace corresponds with the entry under Select bitmap to replace, on the right-hand side of the window. Save the msgina2.dll file and apply the change.

A registry setting identifies the name of the GINA; when this registry setting is missing, the OS uses msgina.dll. Use a registry editor (e.g., regedit; Eytcheson Software's Multi-Remote Registry Change—MRRC—3.5, http://www.eytcheson.com) to add the registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\Ginadll, and set the value to msgina2.dll. (Note that some third-party programs such as Lotus Notes and Symantec's pcAnywhere also change the GINA file. Make sure to check which version of the file you need.)

To check your new entry, run regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Ginadll. You must reboot the machine for the change to take effect, although you'll notice the change on the logoff screen. To revert to the Win2K logo, simply delete the registry subkey you created.

Related Content:

ARTICLE TOOLS

Comments
  • neil
    5 months ago
    Dec 02, 2011

    very nicely written article.........!!
    i too have written a article on how to change startup screen -
    http://techinfoguru.com/change-startup-screen/

  • gogododo
    4 years ago
    Sep 11, 2008

    You're not creating a Key you want to create a String Value and name is Ginadll and then in it give the name of the file (msgina2.dll or whatever).

  • wang
    4 years ago
    Aug 05, 2008

    I have test it in windows xp, I changed this bitmap of 101, i thought the logo will change before logoin
    ,but the bmp appread when i shutdown the computer. :)
    I didn't use registry entry, because i installed two windows xp system.

  • patrick.patrick
    6 years ago
    Nov 16, 2006

    hey
    can i use this for windows XP? know someone that i have try it but it dont works :S lol
    so can someone help me maby?

  • ntgcleaner
    6 years ago
    Apr 25, 2006

    This article was very useful, but if you do not want to change the registry keys at all, heres a fairly simple shortcut.

    Do everything he said to change the msgina.dll (using reshack) then save that as msgina2.dll in the system32 folder.

    Then you need to boot your computer in the recovery console. (i put the windows CD in and went from there) in the console, find the system32 folder and change the name of msgina.dll to msgina_old.dll (so at least you still have it) then you just rename msgina2.dll to msgina.dll then type exit and it will boot regularly with your new gina file.

    We did this for the business school i work for at the moment. its a nice effect to have, although the students hardly notice it.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

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