+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
How do you do....it? Thread, BGInfo in logon script example? in Technical; Hi everyone, I'm just tidying up the RIS Images and etc for the roll out into the school, and was ...
  1. #1
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    BGInfo in logon script example?

    Hi everyone, I'm just tidying up the RIS Images and etc for the roll out into the school, and was wondering (hoping) if someone could post me a copy of a startup / logon script with BGInfo inside it so I can implement into mine. I would ideally love one for when the PC reaches the logon screen, and then one for when the user eventually logs on.

    I am slowly learning scripting, but this has taken the majority of my time.

    Hope someone can help.

    Cheers,

    Simon

  2. #2
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: BGInfo in logon script example?

    I'm going to have to be cheeky and bump this. Has anyone got BGInfo to load inside a VBS Script? Could someone PM or post on here the code for me please.

    Sorry to pester and be a pain.

  3. #3
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,993
    Thank Post
    120
    Thanked 286 Times in 263 Posts
    Rep Power
    108

    Re: BGInfo in logon script example?

    Code:
    Set ObjShell = CreateObject("Shell.Application")
    'Run BGInfo to update wallpaper
    ObjShell.Run "\\yourdomain\netlogon\BGinfo\bginfo.exe \\yourdomain\netlogon\BGinfo\standardsetting.bgi /timer:0"

  4. #4
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: BGInfo in logon script example?

    Thanks ChrisH, highly appreciated.

  5. #5

    Join Date
    Mar 2007
    Location
    Central Scotland
    Posts
    829
    Thank Post
    12
    Thanked 8 Times in 8 Posts
    Rep Power
    19

    Re: BGInfo in logon script example?

    I'll keep a note of that too, got it running in an NT login batch file style logon script at the moment but the VB alternative would be ace!

  6. #6
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: BGInfo in logon script example?

    OK, I could not get ChrisH's example to work. So a little bit of digging and this snippet works on my Windows 2003 Network.

    Code:
    Set objShell = CreateObject("Wscript.Shell")
    objShell.Run "\\SERVER\Netlogon\BGinfo.exe \\SERVER\Netlogon\Config.bgi /timer:0", 1, True
    Change SERVER to your servers name and also copy BGInfo.exe and any .bgi config files into there as well. All you can be tidy like me and have a BGInfo folder with it all in.


    Thanks for the help all.

  7. #7
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114

    Re: BGInfo in logon script example?

    Make sure its not saving to the windows directory too (it an option when you create the bgi)

  8. #8
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: BGInfo in logon script example?

    Aye, done that. Its set to save into a Temp folder in the User Area.

  9. #9
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,993
    Thank Post
    120
    Thanked 286 Times in 263 Posts
    Rep Power
    108

    Re: BGInfo in logon script example?

    Theres something wrong somewhere if your network cannot resolve \\yourdomain\netlogon to one of the DCs netlogon shares.

  10. #10


    Join Date
    Oct 2006
    Posts
    3,414
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149

    Re: BGInfo in logon script example?

    IIRC i just made it run locally. I made an msi to deploy the program (rather than using the startup script to copy it) and then put the launch command in the startup and logon scripts so that it was applied both when the user was logged on and the windows logon screen.

    And also i seem to recall i had to make the config.bgi go in the users temp for logon, and in the windows temp for startup.

    TBH thinking about it its messier than i thought lol, but effective and cuts network traffic and bypass' policies issues such as students not being able to use UNC paths.

  11. #11
    kearton's Avatar
    Join Date
    May 2007
    Location
    Yorkshire, via NZ ;)
    Posts
    887
    Thank Post
    175
    Thanked 113 Times in 91 Posts
    Rep Power
    48

    Re: BGInfo in logon script example?

    I too, just packaged it up to install locally, with a shortcut in Startup Items to launch it, and the .bmp saving in their H: drive.

  12. #12

    Join Date
    Mar 2007
    Location
    Central Scotland
    Posts
    829
    Thank Post
    12
    Thanked 8 Times in 8 Posts
    Rep Power
    19

    Re: BGInfo in logon script example?

    Quote Originally Posted by DMcCoy
    Make sure its not saving to the windows directory too (it an option when you create the bgi)
    Why? I've done that and it works fine for everyone :? I had some issues on 10 PCs where pupils couldn't write to the c:\windows\bginfo.bmp but I just changed the permissions on that file to allow it.

  13. #13


    Join Date
    Oct 2006
    Posts
    3,414
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149

    Re: BGInfo in logon script example?

    ^ cause your users shouldnt have permissions to write to thw windows folder.

  14. #14
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: BGInfo in logon script example?

    Quote Originally Posted by ChrisH
    Theres something wrong somewhere if your network cannot resolve \\yourdomain\netlogon to one of the DCs netlogon shares.
    I'm being thick again I know. What is the %yourdomain% command please? e.g. \\%yourdomain\netlogon etc.

  15. #15

    Join Date
    Mar 2007
    Location
    Central Scotland
    Posts
    829
    Thank Post
    12
    Thanked 8 Times in 8 Posts
    Rep Power
    19

    Re: BGInfo in logon script example?

    Quote Originally Posted by j17sparky
    ^ cause your users shouldnt have permissions to write to thw windows folder.
    Seeing as the users in question can't actually get anywhere near the windows folder I don't see it as an enormous worry. They can't actually access the windows folder other than to change the bginfo.bmp, which is a pretty specific file.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. logon script for printer
    By ozzy in forum Scripts
    Replies: 6
    Last Post: 22nd November 2007, 03:03 PM
  2. Logon script & Printer script question.
    By Galway in forum Windows
    Replies: 3
    Last Post: 29th August 2007, 11:00 AM
  3. BGInfo on logon screen
    By Ric_ in forum Windows
    Replies: 17
    Last Post: 16th September 2006, 01:25 AM
  4. Yet another Logon Script
    By ajbritton in forum Windows
    Replies: 3
    Last Post: 19th June 2006, 09:47 AM
  5. Stupid CMD error with logon script
    By tarquel in forum Windows
    Replies: 37
    Last Post: 14th June 2006, 09:07 AM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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