How to replace msgina.dll across domain?

Posted on 2009-04-22
Last Modified: 2012-05-06
Hi all,

I have modified msgina simply to change from MS logo to our company logo. Tested it quite a bit on an XP workstation and several XP VM's. Works as I want it to.

The question is how can I roll this out to the other machines in the domain? All (apart from servers) are XP Pro.
Question by:Craignunn
    LVL 66

    Accepted Solution

    In a machine startup script, you could do something like the following.....

    Course you see the idea here, and you could do it in VB as well, but I am unable to help you with that......

    copy /y "\\server\share\yourgina.dll" "c:\windows\system32"
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "GinaDLL" /d yourgina.dll /f
    shutdown -f -r -t 02

    Open in new window


    Author Comment

    But doesn't msgina.dll startup early in the boot sequence? Windows won't let you override...

    Oh, I see. You mean rename the altered msgina.dll to something else, copy it over, and change registry to load it. Can you confirm that?

    I suspect the shutdown command is to make it apply sooner, and not relevant if we are happy to wait till the user restarts their computer.

    Author Closing Comment

    Thanks very muh for this, exatly what I was after!
    LVL 66

    Expert Comment

    Yea, if you are ok with a later shutdown, no biggie.

    It just creates an alternate. I dont think the GINA loads until AFTER startup scripts. Basically if there is no GinaDLL value, it defaults to msgina.dll. All you are doing is specifying a custom one.

    Please test this to your satisfaction prior to mass deployment though. I tested the reg command fine, just wanna make sure nothing goes terribly wrong....

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now