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 ...
-
22nd August 2007, 08:08 AM #1 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
-
-
IDG Tech News
-
23rd August 2007, 07:51 AM #2 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.
-
-
23rd August 2007, 07:56 AM #3 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"
-
-
23rd August 2007, 08:35 AM #4 Re: BGInfo in logon script example?
Thanks ChrisH, highly appreciated.
-
-
23rd August 2007, 08:57 AM #5
- 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!
-
-
23rd August 2007, 09:46 AM #6 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.
-
-
23rd August 2007, 10:48 AM #7 Re: BGInfo in logon script example?
Make sure its not saving to the windows directory too (it an option when you create the bgi)
-
-
23rd August 2007, 12:06 PM #8 Re: BGInfo in logon script example?
Aye, done that. Its set to save into a Temp folder in the User Area.
-
-
23rd August 2007, 01:03 PM #9 Re: BGInfo in logon script example?
Theres something wrong somewhere if your network cannot resolve \\yourdomain\netlogon to one of the DCs netlogon shares.
-
-
23rd August 2007, 11:12 PM #10 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.
-
-
24th August 2007, 07:29 AM #11 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.
-
-
24th August 2007, 08:54 AM #12
- Rep Power
- 14
Re: BGInfo in logon script example?

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.
-
-
24th August 2007, 10:17 AM #13 Re: BGInfo in logon script example?
^ cause your users shouldnt have permissions to write to thw windows folder.
-
-
24th August 2007, 11:54 AM #14 Re: BGInfo in logon script example?

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.
-
-
24th August 2007, 12:34 PM #15
- Rep Power
- 14
Re: BGInfo in logon script example?

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:
Similar Threads
-
Replies: 6
Last Post: 22nd November 2007, 04:03 PM
-
By Galway in forum Windows
Replies: 3
Last Post: 29th August 2007, 11:00 AM
-
Replies: 17
Last Post: 16th September 2006, 01:25 AM
-
By ajbritton in forum Windows
Replies: 3
Last Post: 19th June 2006, 09:47 AM
-
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
-
Forum Rules