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:
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.
That's incorrect, there should be no colon there.Should be:
/I:\\server\netlogon\bginfo\computer.bgi" (colon after the I)
The problem is you're missing the first line.
The second two lines are fine, although you shouldn't need the /nolicpromptCode: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
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.
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.
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 youMy final script will be VBS and will determine the screen resolution
It does depend a lot on the original size of the image, but I take your point, it can look too stretched on widescreens.
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
There are currently 1 users browsing this thread. (0 members and 1 guests)