+ Post New Thread
Results 1 to 8 of 8
Windows Thread, Blank BGinfo.bmp in Technical; Hi. Got a confusing one for you now. Trying to setup BGinfo to show the computer name at the logon ...
  1. #1

    Join Date
    Jan 2008
    Location
    Kingston Upon Thames
    Posts
    102
    Thank Post
    11
    Thanked 22 Times in 20 Posts
    Rep Power
    18

    Blank BGinfo.bmp

    Hi.

    Got a confusing one for you now. Trying to setup BGinfo to show the computer name at the logon screen. I'm eventually going to set it up using a logon script, but now I'm just trying to test it out.

    What happens is: I run BGinfo from the command line using a modification of Michael's script:

    @ECHO OFF
    REM * Sets Logon Desktop Background *
    copy \\server\netlogon\BGINFO\BGINFO.EXE %SYSTEMROOT% /Y
    %SYSTEMROOT%\bginfo.exe /I"\\server\netlogon\bginfo\computer.bgi" /timer:0 /nolicprompt

    It runs, generates the bginfo.bmp and sets it as the background, but it is compleatly blank. It only has the green background we set, but no information, not even the static text I entered.

    I am very puzzelled by this one. Its obviously not a permissions issue, and the script is deffinately running because it creates the file.

    Any thoughts would be very much appreciated.

    Thanks,

    David

  2. #2
    altecsole's Avatar
    Join Date
    Jun 2005
    Location
    Whittington, Lancashire
    Posts
    286
    Thank Post
    40
    Thanked 37 Times in 27 Posts
    Rep Power
    26
    Quote Originally Posted by dyoung5 View Post
    %SYSTEMROOT%\bginfo.exe /I"\\server\netlogon\bginfo\computer.bgi" /timer:0 /nolicprompt
    Should be:
    /I:\\server\netlogon\bginfo\computer.bgi" (colon after the I)

    We don't bother copying bginfo to the local machine; we just run it from the netlogon share using
    Code:
    %logonserver%\netlogon\bginfo_folder\bginfo.exe

  3. #3

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    Should be:
    /I:\\server\netlogon\bginfo\computer.bgi" (colon after the I)
    That's incorrect, there should be no colon there.

    ---------------------------------------------

    The problem is you're missing the first line.

    Code:
    if exist %systemroot%\bginfo.exe goto BGINFO
    copy \\server\netlogon\BGINFO\BGINFO.EXE %SYSTEMROOT% /Y
    %SYSTEMROOT%\bginfo.exe /I"\\server\netlogon\bginfo\computer.bgi" /timer:0 /nolicprompt
    The second two lines are fine, although you shouldn't need the /nolicprompt

  4. #4

    Join Date
    Jan 2008
    Location
    Kingston Upon Thames
    Posts
    102
    Thank Post
    11
    Thanked 22 Times in 20 Posts
    Rep Power
    18
    Thanks for your help guys.

    I still don't know why it did it, but recreating the .bgi file seems to have solved it. Maybe it was because I created it on Vista and tried to run it on XP. Who knows!

    Turns out it works with or without the colon.

    @Michael

    This isn't the finished script that will be going into the GPO, I just used it to test. My final script will be VBS and will determine the screen resolution and copy the relevent desktop background to match.

    David

  5. #5

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    My final script will be VBS and will determine the screen resolution
    You don't need to do this. Double click your .bgi file and it should open within BGInfo itself. Click the Background button, then half way down you'll see an entry called 'Wallpaper Position'. Set it to Stretch and it will work for any resolution for you

  6. #6

    Join Date
    Jan 2008
    Location
    Kingston Upon Thames
    Posts
    102
    Thank Post
    11
    Thanked 22 Times in 20 Posts
    Rep Power
    18
    Quote Originally Posted by Michael View Post
    You don't need to do this. Double click your .bgi file and it should open within BGInfo itself. Click the Background button, then half way down you'll see an entry called 'Wallpaper Position'. Set it to Stretch and it will work for any resolution for you
    Except that will distort the image for widescreen monitors!

  7. #7

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    It does depend a lot on the original size of the image, but I take your point, it can look too stretched on widescreens.

  8. #8
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,726
    Thank Post
    176
    Thanked 229 Times in 211 Posts
    Rep Power
    69
    Yup I did a VBS to set a different res bitmap for widescreens, I used the room OU as our widescreens are all in the same room - works a treat



SHARE:
+ Post New Thread

Similar Threads

  1. BGInfo
    By techie08 in forum Network and Classroom Management
    Replies: 8
    Last Post: 19th August 2010, 11:04 PM
  2. BGinfo help!
    By mmoseley in forum Windows
    Replies: 34
    Last Post: 3rd October 2008, 07:29 PM
  3. BGInfo in logon script example?
    By ninjabeaver in forum How do you do....it?
    Replies: 16
    Last Post: 24th August 2007, 01:49 PM
  4. Batch .bmp to jpeg convertor?
    By ChrisH in forum Educational Software
    Replies: 5
    Last Post: 13th November 2006, 04:13 PM
  5. BGInfo on logon screen
    By Ric_ in forum Windows
    Replies: 17
    Last Post: 16th September 2006, 02:25 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •