+ 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,050
    Thank Post
    164
    Thanked 87 Times in 77 Posts
    Rep Power
    37

    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. IDG Tech News

  3. #2
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,050
    Thank Post
    164
    Thanked 87 Times in 77 Posts
    Rep Power
    37

    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.

  4. #3
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,810
    Thank Post
    89
    Thanked 212 Times in 195 Posts
    Rep Power
    83

    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"

  5. #4
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,050
    Thank Post
    164
    Thanked 87 Times in 77 Posts
    Rep Power
    37

    Re: BGInfo in logon script example?

    Thanks ChrisH, highly appreciated.

  6. #5

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

    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!

  7. #6
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,050
    Thank Post
    164
    Thanked 87 Times in 77 Posts
    Rep Power
    37

    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.

  8. #7
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,085
    Thank Post
    9
    Thanked 396 Times in 342 Posts
    Rep Power
    91

    Re: BGInfo in logon script example?

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

  9. #8
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,050
    Thank Post
    164
    Thanked 87 Times in 77 Posts
    Rep Power
    37

    Re: BGInfo in logon script example?

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

  10. #9
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,810
    Thank Post
    89
    Thanked 212 Times in 195 Posts
    Rep Power
    83

    Re: BGInfo in logon script example?

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

  11. #10

    Join Date
    Oct 2006
    Posts
    2,933
    Thank Post
    171
    Thanked 273 Times in 215 Posts
    Rep Power
    91

    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.

  12. #11
    kearton's Avatar
    Join Date
    May 2007
    Location
    Essex. A long way from NZ!
    Posts
    582
    Thank Post
    75
    Thanked 31 Times in 28 Posts
    Rep Power
    25

    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.

  13. #12

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

    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.

  14. #13

    Join Date
    Oct 2006
    Posts
    2,933
    Thank Post
    171
    Thanked 273 Times in 215 Posts
    Rep Power
    91

    Re: BGInfo in logon script example?

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

  15. #14
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,050
    Thank Post
    164
    Thanked 87 Times in 77 Posts
    Rep Power
    37

    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.

  16. #15

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

    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, 04: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 2 users browsing this thread. (0 members and 2 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
  •