Go to content Go to navigation Go to search

Change Login Background in Windows Vista

July 18th, 2007 by Jake

Yeah… it’s been awhile. I know. Stop complaining, I’ve got something cool to show you.

You know that ugly background that shows up with Windows Vista whenever you lock your computer or log in? Good news: You can change it. Here’s how.

First, download ResHack (Resource Hacker). Open the EXE.

Open an explorer window and navigate to C:\Windows\System32\. Find the file imageres.dll. You’ll need to first take ownership of the file, and then give yourself full permissions. If you don’t know how to do that, Google it or something, I’m not gonna hold your hand through this.

After you’ve taken permissions, open it in ResHack. Look under the IMAGE resources and find your desktop resolution that corresponds to a resource number:

5031 = 1280×1024
5032 = 1280×960
5033 = 1024×768
5034 = 1600×1200
5035 = 1440×900
5036 = 1920×1200
5037 = 1280×768
5038 = 1360×768
5039 = 1024×1280
5040 = 960×1280
5041 = 900×1440
5042 = 768×1280
5043 = 768×1360

Note: If your resolution is not listed, you should use 5031. The image will stretch.

Find the one that matches your resolution, and open that numbered folder. Right click on the “1033″ and select “Replace Resource”. Browse to another image (preferrably of the same size… I don’t know what Vista does as far as stretching/tiling the image). When it asks you for the resource info, type this in:

Resource Type: IMAGE
Resource Name: 50xx (your screen resolution from above, the 50__ number)
Resource Language: 1033

Your new image should appear on-screen. Before you save it, go back to /System32/ and rename your original imageres.dll to something like image.res.dll~. After that, back in ResHack, choose File > Save As, and save it as C:\Windows\System32\imageres.dll. Close ResHack, try a Windows+L, and see if you see your image. If you do, congrats, you don’t have to look at Microsoft’s crappy “abstract wisp” art. If not… something went wrong. Try again, or… go cry or something.

Pictures of it showing it works: (You can’t PrtScr on the login page ;) )

Notice how it handles the transparency well, which is good.

Now, if we didn’t have to hack the damn thing just to change it! Come on Microsoft, think a little!

Digg it!

63 Responses to “Change Login Background in Windows Vista”

    Dan says:

    Pfft. I see what you did there, Spike. You stole that CG image from some fantasy game concept-character or something. -Lame-.

    *Wink* I’m just joking with you, man.


    Change Logon Background in Vista « Bon Echo Tech Blog 2.0 says:

    […] Change logon screen background in Windows Vista […]


    ophis says:

    Perfect explanation, worked in one go here, tanks


    Leiv says:

    thanks alot for this.
    and i agree why should it be so hard changing the back ground on the log on screen…


    Brandon says:

    It won’t let me save it, Says I need the proper permissions… What did I do wrong?


    Jake says:

    You need to take full ownership and then full permissions of the file. Google it ;)


    MR says:

    Can you stretch over two monitors?

    Right now only one monitor is showing the picure.


    Jake says:

    Can you stretch over two monitors?

    Right now only one monitor is showing the picure.

    Whats the other one showing?


    Grizz0 says:

    I found that you cannot use bitmap (.bmp) images for this. It must be a .jpg


    tevin says:

    Yeah I did it yo but the image just came up black in lock errr.


    lordy says:

    Nice - works a treat!


    Sri says:

    I could not find imageres.dll file


    Idetrorce says:

    very interesting, but I don’t agree with you
    Idetrorce


    Martin says:

    Nice, dude!
    Works like a charm! How to take ownership can be found @ http://www.joejoe.org/forum/index.php?s=5d471241bb82644bb4f9842089099f90&showtopic=6253&pid=152065&st=0&#entry152065

    When having multiple monitors, the other one just shows black color ,not turned off, but black backgroundcolor :(

    /Martin


    Mathew says:

    Thanks! Worked like a charm.


    Ryan says:

    I tried to do this and I messed something up. Now I can’t control any of my windows programs. When I need to give permission for a program to run I am not able to. I can’t run system restore or check the volume for errors. I need help please!


    V4mp says:

    Awesome worked right away, thanks alot!


    Mads says:

    I am experiencing exactly the same problem as Ryan, which happened right after using the trick that Martin links so, so be carefull :-/


    Matt says:

    everything up to renaming imageres.dll has worked. no option to rename…?


    JerkyChew says:

    Ryan and Mads, it sounds like you changed ownership of either your windows folder, or the system32 folder, or both. You may be boned; See if you can change the owner back to system or whoever normally owns those folders.

    Worked great for me - One thing of note: You can’t delete the imageres.dll file but you can rename it. Once I renamed it I was able to save the file in reshack. Now if only there was a way to span monitors! Win2K3 spanned both monitors when locked, I hope somebody figures out a way to do it in Vista! I’m running ultramon which lets me span one image across both monitors, I wonder what would happen if I loaded up a 2560×1024 image…


    Emgey says:

    Somehow the new imageres.dll was not saved under system32 causing me a bunch of problems, such as no access to to most control panel options, permissions, and renaming files. Safe mode seem to let me rename the original imageres.dll file to solve theses issues. After that i tried again, got it right, and it worked like a charm ^^


    depps says:

    DO NOT DO IT PEOPLE!

    This f@ked up my comp. Had to run restore disk on boot-up.


    Anonymous says:

    @ depps, maybe you didn’t follow the instructions correctly? Works fine for me. If you’re really a slacker though and can’t hack it yourself use a program like Logonstudio Vista to change your background.


    anon says:

    This will only screw up your PC if you do it wrong. For people who don’t know what they’re doing, you shouldn’t be screwing around in your sys32 folder to BEGIN with. Take the advice of the guy above me and install Logonstudio vista. Google it. It’s free, easy to use, and works like a charm. While the OP’s hack does work, I’d suggest Logonstudio to 99% of the people who probably have tried this and failed. It just has a few point and click options, and your done. No .dll renaming, no resource hacking, and most importantly, no way the majority of you pc-illiterate people out there can fuck up your computer.


    Floostuct says:

    Do you know if some company use the same marketing concept as Webkinz?

    I’m writing a few articles right now and want to get some info and opinions.


    Sepiraph says:

    Thanks for this trick, works fine.


    Stefan says:

    THIS TOOL(HACK=BUG) is bullshit. It fucks up your system. DON’T USE IT!



    doug says:

    i found a program that lets you change the logon screen without all this.

    http://www.download.com/1200-2018-5186348.html?tag=vtsplashpc


    ShYnE says:

    This tool does not mess up your computer. These steps are perfect and will work exactly as stated. But dont try to tell people that this tool and this method do not work and that ResHack is is bullshit. Just because some of you messed your pc’s up dont mean the method dont work…it means you dont know what you are doing. PERIOD… Same for registry hacks…If you dont know what youre doing, stay away from it. If you feel comfortable that you can follow a few simple instructions, then give it a try…Key thing is to make backups of files that you attempt to change…likewise with registry keys…Quit whining people.


    b says:

    this worked fine for me, but does anyone know how to take a screen shot of the login screen?


    RRyan says:

    I fucked it up and now I am stuck with the black background.

    How do I fix it?


    Greg says:

    This worked perfectly.

    I agree that it’s not for novice users; most of the folks who reportedly screwed up their PCs probably shouldn’t have been messing around with a hack like this anyway. For them, LogonStudio is a better solution.

    For the rest of us, I prefer not having to install an unnecessary program on my PC.

    Microsoft should take note here and develop a TweakUI Vista PowerToy to do some of these nifty customizations.

    I do have a related question, please. Is there a way to change the color of the screen text on the login screen to black (for use with light colored backgrounds)? Thanks much!


    kraut says:

    i can only agree with Greg. Thanks for the tipp that 5031 is the default screen size for all other resolutions..

    @Greg: i did something like that in XP with reshack and logonui… but it was horrible and don’t know how the structure on vista might be :-(


    redlab says:

    @all who says it sucks.
    1. You are not mature enough to fool with these things.
    2. Learn through mistakes! Don’t flame others, and if you even have trouble to find sys32 or
    3. sys32 is FUN to toy with!!!!

    ShYnE says:
    April 17th, 2008 at 5:16 pm

    This tool does not mess up your computer. These steps are perfect and will work exactly as stated. But dont try to tell people that this tool and this method do not work and that ResHack is is bullshit. Just because some of you messed your pc’s up dont mean the method dont work…it means you dont know what you are doing.

    SPOKEN VERY WELL!!


    doogi says:

    how change system32 permission HELP ME


    doogi says:

    CAN’T replace imageres.dll


    Sakkraya says:

    Thanks for the instructions, works perfectly. Cheers!


    ken says:

    thanks alot. works great! It works just as promised, yaaay!


    MasterCJ says:

    Close the comments, everything that needs to be said has been said.


    Flint says:

    So far, all of the sites that are on the internet say the above instructions — what I have been searching for, is ……

    How in the hell do I change the location of the accounts listing, how do I change the shape of the account picture/avatar — you know, all of the cool little tweaks that ResHacker is capable of changing for XP logon screens….

    Anyone know any of those things??


    UniversalSailor says:

    Ok now i have a questiong that you all might be wondering or just know better then me. I have been able to change my longon screen to a picture using a similar method (this one works well i used it on my work computer)
    Here is the question is there any way that you can make the background a movie clip or maybe that little pict above your user name a movie clip??? i really wanna know this.

    Also for bonus points how do you change the boot sound?


    Footballfanisheretuta says:

    Card debt without bankruptcy one free credit report per credit scores banner life insurance refinance houses buy filing e tax tramadol hydrocodone drug generic sample. Online buy sildenafil prime diflucan combining zoloft and extacy buy viagra phentermine weight loss prescription buy steroids without prescription generic cialis per pill ordering.

    Next day cleocin purchase cialis online discount drug phentermine cimetidine generic viagra pill buy vs viagra cod online tramadol interstitial cystitis+xanax phentermine discount
    what is zoloft used for. Understanding credit score cheap effexor propecia generic statistics student information credit report diflucan buy zoloft in addition, tens lions of dollars per year will.


    Levent says:

    Thnx for your help
    great tool


    NexiumMan says:

    Nexium decreases the amount of acid produced in the tummy and buy nexium, acid reflux nexium. Nexium is tolerant of to take up symptoms of gastroesophageal reflux infection (GERD) and other conditions involving inordinate tummy acid such as Zollinger-Ellison syndrome. Nexium is also old to advance healing of erosive esophagitis (wound to your eso
    phagus against by paunch acid). Nexium may also be allowed to prohibit gastric cancer caold by infection with helicobacter pylori (H. pylori), or by the use of nonsteroidal anti-explosive drugs (NSAIDs).


    xangamanns says:

    Charge-privation medications should unendingly be combined with a program of robust eating and proportional doc activity buy rimonabant visa. So rotundity is a persistent illness that affects sundry people. To throw manipulate and plead for moment impaboveishment cgive upd the covet stipulations, it is great-priority to reorganize one’s subsistence and tie up in good mortal activity. Some people, how, may coerce addingal treatment. As with other confirmed conditions, such as diabetes or sybaritic blood oppression, the use of formula medications may be right for some people who are once againmoment or obese.


    simon says:

    Wow, thanks.


    Hazz Tazz says:

    wORKS FINE FOR ME….. nICE WORK


    dyncdycleri says:

    bsa rifle g36 airsoft rifle 7mm browning rifle specs 22 pistol 22 revolvers


    GEATOBEEN says:

    compass forever viagra on dollop while


    GEATOBEEN says:

    billy constantly viagra bridge
    ically fleetingly


    WereHatter says:

    Thanks so much! I forgot that ResHacker even existed and that it could do so much good. Worked great on the first try!

    Anymore good ideas or small hacks?


    Vista locked computer wallpaper change - Page 2 - Windows Vista Forums says:

    […] Re: Vista locked computer wallpaper change Geek and a Half » Blog Archive » Change Login Background in Windows Vista Super easy with the right tool. Follow the guys instructions. […]


    the_syco says:

    Cheers for the links.


    thi ha says:

    Thanks. It works.

    For those who failed are
    1. You didn’t read the instructions properly or
    2. You didn’t understand the instructions or
    3. You didn’t know how to follow up the instructions
    4. You may not have the permission (which is crap!)

    keep up the good work, dude.

    cheers,
    thi ha


    Andrew says:

    LOL
    that doesn’t even make any sense!


    Verbosity says:

    Thanks for the tip. Here’s some extra information that could help a few people. Well, it would have helped me!

    (1) Producing the pictures

    The pictures should be in “progressive JPEG” format. Regular JPEG will not work. The original pictures also are set to 100 dpi x 100 dpi, so I conservatively did the same.

    To produce my pictures, I used IrfanView (free for non-commercial use). With IrfanView 4.10, once you have a picture resized correctly:
    - Menu: Image / Information
    In the image information dialogue box, set the
    “Resolution” to 100 dpi x 100 dpi and click
    “Change”.
    - Menu: File / Save as
    In the file save dialogue box:
    - Select type “JPG/JPEG format”
    - Enable “Show options dialog”
    - In the options dialogue box, enable “Save
    as progressive JPG”.
    - Save your file.

    (2) Replacing the resources

    Resource Hacker is indeed a good choice to replace the resources. Don’t use Microsoft Visual Studio to edit the DLL: it does not flush the old resources and you’ll end up with a file twice the original size!

    (3) Installing the modified DLL

    I could not just copy the DLL back over the original, because the file was “in use”. I didn’t try editing in place (i.e., I worked on a copy of the file), but it would have probably refused to save for the same reason. It’s possible to rename a file that is mapped by a process (and then copy a new one in its place) but, in this particular case, doing so invites disaster: once the file is renamed, UAC will stop functioning. The UAC confirmation dialogue box fetches its icon from the DLL, and it will give up upon failing to find it, as if you had clicked “Cancel” or “Skip”. At that point, you won’t be able to do anything that requires administrative privileges (including renaming back the original DLL or copying your new custom version in its place). Perhaps you could log as “Administrator” (I believe that UAC is disabled for that account) and copy the DLL with that account; but the Administrator account is disabled by default and enabling it requires… going through UAC. You’re screwed.

    The simplest escape route is using the Vista recovery console. Fortunately, that’s easy but you need your installation DVD. From memory:
    (a) Boot on your Vista installation DVD.
    (b) Pass the language/keyboard selection.
    (c) Instead of clicking “Install”, select “Repair”
    (at the bottom).
    (d) Choose your installation of Vista in the list
    (already selected if it’s the only one).
    (e) Select “command prompt” in the menu.
    (f) Go to the System32 folder by typing:
    cd “C:\Windows\System32″
    (g) Copy your new version (or a backup of the
    original if you need). For example,
    if the DLL that you want to copy is on your
    desktop and your user name is “johndoe”,
    type:
    copy “C:\Users\johndoe\Desktop\imageres.dll” .
    (h) Exit by typing:
    exit
    (i) Restart normally.

    By the way, a plain black background is easy to make and, in the end, much better than the abstract art shipped with Vista!

    Good luck to all.


    JohnDoe says:

    Everybody talks about using recovery disk and getting stuck after messing up their DLL’s. Has anyone ever heard of Safe Mode? When the computer is booting up hit F8 after the hardware loads up and before the Vista logo comes up. Go to Safe mode and forget about UAC dialogs and permissions!


    Arcadias says:

    Ok I did what you said, whoever write this blog, and my stuff got all messed up. Lucky for you i did a system recovery and everything is ok again. I dont care if I get smashed about this, but i am going to speak my mind. Honestly bro, you got balls for posting such a disrespectful blog. Your telling people to modify their windows system files, and if they mess up f em basically. I think thats rude, disrespectful, and upseting. You saying “if it doesnt work try again or go crying” bro honestly you dont need to be a jerk to people. Your little step by step doesnt work, it not full of useful information, its all half info. Seriously man if your gonna tell people to modify their system files and if it doesnt work f em? You got some nerve. And whats this about you not holding anyones hand? Again disrespectful. What if people want to only get the info from you, what then?? Next time you post something like this, try to take into consideration other peoples personal computer and also take into consideration the consequences of telling people what to do when it comes to modifying system files. I am prolly going to get flamed or booted or whatever, but I just want to speak my mind. Show some respect for others before you post something like this again….I’m done.


    Lula Mcclure says:

    f7a4n7nz384wt10d


    goodstuff says:

    Arcadias,

    No one pointed a gun to your head and told you to do it.
    This worked like a charm for me. Tata bonehead. And thanks to the Author for this tip.


    Mikey says:

    Any suggestions on how to do this automatically from a script/program very early in the boot process? I have a need to dynamically generate/install a logon screen at boot time that includes assorted system data.


    ian says:

    There is a program taht allows you do change your backround. heres the link http://www.toggle.com/lv/group/view/kl36758/LogonStudio_Vista.htm


Leave a Reply: