Windows 7 to officially support logon UI background customization

Page 1 of 3 123 LastLast

  1. Posts : 94
    Windows Se7en Ultimate Beta x86 Build 7057
       #1

    Windows 7 to officially support logon UI background customization


    Windows 7 to officially support logon UI background customization

    As you probably know, Windows 7 build 7057, a build recently leaked to the public, sports a new (yet ugly) login UI background. Delivering on the most-customizable promise, Windows 7 now supports the ability to load images into the background of the login screen without the use of third-party software or manual hacks.



    Although this functionality was designed for OEMs in mind, it is pretty easy to turn on and off using regedit and some images lying around your hard drive.

    First, a check is made to determine if the customization functionality is enabled or not. More precisely, a registry value named OEMBackground in the HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background key is checked. Its data, of Boolean type, defines whether or not this behavior is turned on, i.e. 1 for enabled, 0 for disabled. Set this to 1.

    Afterwards, if customization is enabled, the primary monitor’s screen height and width are retrieved via calls to GetSystemMetrics. These values are used in the computation of the screen width (w)/height (h) ratio. For example, my desktop resolution is 1920×1200. The ratio, computed by the division of w/h, is 1.6:1.

    The result of this computation is looked up in an internal table that drives what image to load on disk. Although I don’t have a large enough monitor to test, it appears resolutions higher than 1920×1200 will force the loading and zooming of an image of closest compatibility (i.e. same ratio, smaller image).

    As this is an OEM feature, images are derived from %windir%\system32\oobe\info\backgrounds. The following files are supported in this folder:

    * backgroundDefault.jpg
    * background768×1280.jpg
    * background900×1440.jpg
    * background960×1280.jpg
    * background1024×1280.jpg
    * background1360×768.jpg
    * background1280×768.jpg
    * background1920×1200.jpg
    * background1440×900.jpg
    * background1600×1200.jpg
    * background1024×768.jpg
    * background1280×960.jpg
    * background1280×1024.jpg

    The backgroundDefault.jpg image is loaded and stretched-to-fit when a resolution/ratio-specific background cannot be found. The other resolution/ratio-specific files are self-explanatory. If the background cannot be loaded (e.g. image physically too large, incorrect ratio, etc.), the default SKU-based image is loaded from imagesres.dll. You’ll see a Windows Server-themed grayish background in there, too, suggesting this functionality is not specific to client SKUs.
    Keeps getting better.

    SEE ALSO: Log On Screen - Change
      My Computer


  2. Posts : 8,375
    W7 Ultimate x64/W10 Pro x64/W11 Pro Triple Boot - Main PC W7 Remote PC Micro ATX W7 Pro x64/W11 Pro
       #2

    You mean I won't need Logon Studio Vista http://www.stardock.com/products/logonstudio/index.asp anymore to change the logon screen in 7 as well as Vista? Gee? Now for the RC1 to become available if so.
      My Computers


  3. Posts : 4,282
    Windows 7 Ultimate Vista Ultimate x64
       #3

    Here are all the current Logon images in the imageres.dll for anyone who wants to play with them and see if they can replace or customize them. :)

    Attachment 5886

    Windows 7 to officially support logon UI background customization-2009-03-16_114830.jpg
      My Computer


  4. Posts : 675
    Windows 7 Enterprise SP1 x64 Windows 8 Enterprise RTM x64
       #4

    Great find this! Thanks :)
      My Computer


  5. Posts : 910
    Win 7
       #5

    Mr GRiM said:
    Here are all the current Logon images in the imageres.dll for anyone who wants to play with them and see if they can replace or customize them. :)

    Attachment 5886

    Windows 7 to officially support logon UI background customization-2009-03-16_114830.jpg
    Yes you can customize them or create new ones but there seems to be a 250 kb size limit.

    Edit: 250 kb was the size limit shown in paint.net, size on disk limit is 256
    Last edited by YupYup; 15 Mar 2009 at 22:34.
      My Computer


  6. Posts : 1,003
    Win7 Ultimate x64 on Desktop / Win7 Ultimate x86 on laptop / Win7 x86 Starter on Netbook
       #6

    Thanks for the info. :)
      My Computer


  7. Posts : 186
    Windows 7 Ultimate x64
       #7

    Hi,

    If you're using the 7000 build Beta just add the registry key "HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background key" value 1
    Go to the %windir%\system32\oobe and create the info and Background folders. Add the background picture of your choice using the above file sizes and names. Logoff and see the change. This worked on 64-Bit

    Thanks for the info as I've been looking for a way to do this
      My Computer


  8. Posts : 910
    Win 7
       #8

    MS should just integrate this into the themes, it seems odd when that screen does not match your theme.
      My Computer


  9. Posts : 8,375
    W7 Ultimate x64/W10 Pro x64/W11 Pro Triple Boot - Main PC W7 Remote PC Micro ATX W7 Pro x64/W11 Pro
       #9

    Loki said:
    Hi,

    If you're using the 7000 build Beta just add the registry key "HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background key" value 1
    Go to the %windir%\system32\oobe and create the info and Background folders. Add the background picture of your choice using the above file sizes and names. Logoff and see the change. This worked on 64-Bit

    Thanks for the info as I've been looking for a way to do this
    I'll give that one a try on the 32bit side of life here besides having some 347 pages full of logon screens to choose from with the 3rd party tool at WinCustomize: LogonStudio Vista Gallery

    Here's how that key looks in the 32bit beta seeing "Background\OEMbackground" as the DWord value there.

      My Computers


  10. Posts : 256
    Windows 7 RTM
       #10

    Ok, got it now.

    I screwed up and didnt correctly name the file. You must use the naming convention stated in the first post. is background1280x1024.jpg, which also must be what your display is set to.

    Thanks for posting this. Great find.
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:41.
Find Us