[How To] Hide Computer Locked Window In Windows XP

by Abhishek Bhatnagar on August 6, 2009



A good friend of mine is a great photographer and uses her photos as Desktop background. When she locks her Windows computer, the windows Lock Screen appears in the middle of the Monitor, blocking the desktop wallpaper. So she asked me a method by which this lock screen can be hidden. The screen looks like one below

“Computer Locked. This computer is in use and has been locked”


In this article we will show you how you can easily hide this screen to show your wallpaper when you lock the computer.


The trick involves two steps:


Step 1:

Modify msgina.dll File


This dll file is the one which has the code for displaying the lock window. To modify the file, you need to download a tool called Resource Hacker and open the file with the tool.

[Download Resource Hacker Here]


Open Resource hacker, and from resource hacker, open file “c:\WINDOWS\system32\msgina.dll

When you open the file through resource hacker, go to “Dialogue > 1900 > 1033” as shown below:


On the right side text window, delete all the text there and past the following text below which is in blue color:

1900 DIALOGEX 0, 0, 0, 0
0, ""


After you paste the text, save the file in on the desktop with filename as “msgina.dll” . This is the modified file which will replace the original file in the Step 2.


Step 2:

Replace msgina.dll File


To replace a DLL, there is a small and excellent utility called Replacer. You need to use this utility to replace the original file with the file you saved on the desktop in the above step.


[Download Replacer]

Run the replacer, this will open a command prompt window. Open a My Computer Window and Browse to folder “ C:\Windows\system32” . There you will find a file msgina.dll, just drag and drop the file into the Replacer Window as seen below:


After you drag the file, press enter key on the keyboard. After this, drag and drop the file you saved on the desktop into this window:


Simply press the enter key, It will ask for confirmation to replace the existing DLL file as seen below:


Type “yes” and press enter, it will show a confirmation message as below:


This means the file has been successfully replaced. Now simply restart the computer, and when you lock the computer, you will see only Desktop Wallpaper and no lock screen.

Simply press “ALT + CTRL + DEL” keys together to see the password window to unlock the computer.

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 6 comments… read them below or add one }

Cipher December 15, 2009 at 7:20 pm

I couldnt make this work. When i checked the new dll i saved in the desktop, it still has the original text.
Then i tried the compile script button and this came up:
Compiler Error in line 5 at offset 5
Invalid statement: integer expected

What am i doing wrong?

DrStephen February 4, 2010 at 9:41 pm

Woohoo! It worked just fine – with just a few modifications.
1. remove the line brea after FONT (see below)
1900 DIALOGEX 0, 0, 0, 0
FONT 0, “”

then press ‘compile script’.

Happy hunting!


mikef May 21, 2010 at 3:09 am

This still didn’t work for me. I’ve checked the dll in sys32 and it has the correct code and compiles correctly.

Anything else?

Whitey June 7, 2010 at 4:01 pm

Not sure if it’ll help anybody, but make sure you replace the quotation marks. This website uses “curly” style quotes. Just delete the four double quotes within the code and type in your own :).

JeeMarty August 18, 2011 at 7:17 pm

I get an error message when I open the Replacor ” ! extraction failed” please help!!! I tried to open the data file to replace it…nogo. No luck even after creating a data file in my temp folder :(

JeeMarty August 18, 2011 at 8:47 pm

DrStephen…..Thanks a ton!!! it worked for me…..awesome!!!

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2016 . All Rights Reserved.