Windows Thread, Edit win XP classic logon look - msgina.dll in Technical; Hi, i'm in the process of customizing the XP professional logon screens that are stored in the msgina.dll file.
In ...
Hi, i'm in the process of customizing the XP professional logon screens that are stored in the msgina.dll file.
In this file I have found the string "Optional Legal Announcement" within Dialog\1500\1033. However when I edit this and save the file the announcement isn't displayed. I know by default it is hidden but how do I make windows display the message?
If i alter the controls ID from it's default 2400 to something else, e.g. 1510 it does display the message but the logon dialog box stretches larger than the monitor height and the username / password boxes are off screen.
To use the file I'm editing the registry key GinaDLL in HKLM\Software\Microsoft\WindowsNT\winlogon and using a customised copy of the default windows dll not the original.
I wasn't actually planning on altering the images used accept possibly to add our school logo to the default images.
As far as legality goes - i visited a university a few weeks ago that have edited the msgina.dll file to add there own "legal announcement" so i'd have thought they would no whether it was legal or not to do so. Microsoft themselves have some articles regarding editing the file.
I've been playing with it this afternoon and still can't get the "Optional Legal Announcement", 2400 to display.
I've just had a look at setting those registry values - once set they open a window between pressing ctrl + alt + del and the logon dialog box appearing. I was hoping to avoid this becuase we use Net Support School for remotely logging on multiple workstations and this doesn't work if the this legal logon box comes up.
I've attached an example of what i'm trying to achieve if it's possible.
Your bound by the EULA to 'not modify the program'. Thanks to recent fun copyright laws, this is also a criminal offence.
You can however replace the msgina.dll with your own that implements the original functionality and whatever extra functionality you require. I believe a developer kit can be downloaded from MS
However as webman pointed out, there's an extensible Open Source implementation that you can use as a base. That's probably a better approach than reinventing the wheel.