Configuring the Default Wallpaper with CPS

Last reviewed: July 3, 1996
Article ID: Q151192
The information in this article applies to:
  • Microsoft Windows NT Workstation version 3.51
  • Microsoft Windows NT Server version 3.51

SUMMARY

This article tells you how to change the default wallpaper to a company logo or other Bitmap graphic (BMP). Windows NT Workstation uses WINNT.BMP or WINNT256.BMP as the default wallpaper. Windows NT Server uses LANMAN.BMP or LANMA256.BMP as the default wallpaper. The number of colors used by the video adapter determines which BMP is used. Systems set to 16 colors use WINNT.BMP for Workstation and LANMAN.BMP for Server. Systems set to 256 colors use WINNT256.BMP for Windows NT Workstation and LANMA256.BMP for Windows NT Server.

MORE INFORMATION

Do the modifications required for Computer Profile Setup (CPS) in the %SystemRoot%\System32\Profile.inf of the image created with Uplodprf.exe. The BMP file you use must be in the %SystemRoot% (WINNT35) directory when you run Uplodprf.exe.

Original PROFILE.INF:

Ifstr(i) $(!STF_PRODUCT) == "WINNT"

    ReplaceIniKeyValue "Win.ini", DeskTop,  Wallpaper, "winnt.bmp "
Else
    ReplaceIniKeyValue "Win.ini", DeskTop,  Wallpaper, "winnt256.bmp "
Endif

Example:

Ifstr(i) $(!STF_PRODUCT) == "WINNT"

    ReplaceIniKeyValue "Win.ini", DeskTop,  Wallpaper, "BMP16.bmp"
Else
    ReplaceIniKeyValue "Win.ini", DeskTop,  Wallpaper, "BMP256.bmp"
Endif

You can specify the same BMP filename for both lines if desired.


KBCategory: kbsetup
KBSubcategory: ntsetup ntreskit ntsrvwkst
Additional reference words: prodnt 3.51


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 3, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.