Jump to content

Recommended Posts

Posted

So I've got this working - applying the background as an image through bginfo and then the info displays on that.

 

It is deployed as a script via a user GPO.

 

It works great - except for the first logon. So, for people working at the same desk every day, it's wonderful. For people who move around, it doesn't work at first log on.

 

I'm wanting to deploy to students soon so this will be an issue. The standard windows background is displayed. If you log off and back on, then it works.

 

Does anyone know what might cause this?

 

Thank you

Posted

We script a (one off) copy of BGinfo, a bgi file and the script below to a folder on C:\ (guess it could go anywhere) and invoke the script with a GPO.

 

@echo off

C:\StartMenu-Desktop-Background\BGInfo\bginfo.exe C:\StartMenu-Desktop-Background\BGInfo\StudentBGI.bgi /TIMER:0 /SILENT /NOLICPROMPT

exit

Posted

We use it, and it works, but if the user sets their own wallpaper, it takes another login before the bginfo stuff appears again over that new image. Perhaps when a new profile is being created (first logon for that user) a wallpaper is being applied after bginfo has run?

 

Our students use a mandatory profile here, which doesn't include a wallpaper image (other than the one applied by bginfo), and we don't have that problem with bginfo disappearing.

Posted
We script a (one off) copy of BGinfo, a bgi file and the script below to a folder on C:\ (guess it could go anywhere) and invoke the script with a GPO.

 

@echo off

C:\StartMenu-Desktop-Background\BGInfo\bginfo.exe C:\StartMenu-Desktop-Background\BGInfo\StudentBGI.bgi /TIMER:0 /SILENT /NOLICPROMPT

exit

This is interesting - similar to the script I'm running at log on. How does this work re: teachers / students. Do you deploy a different one to teacher PC's than students? What happens if a teacher logs onto a student machine or vice versa? Do you set the desktop background separately via GPO then and this just runs the bginfo? Thanks for the info!

Posted (edited)
This is interesting - similar to the script I'm running at log on. How does this work re: teachers / students. Do you deploy a different one to teacher PC's than students? What happens if a teacher logs onto a student machine or vice versa? Do you set the desktop background separately via GPO then and this just runs the bginfo? Thanks for the info!

 

Teachers get to choose their own wallpaper (normally their offspring), but if I was allowed I'd just have a TeacherBGI.bgi with a different wallpaper specified in it. I just ran the script on my machine, and it performed as expected: applied the "student" wallpaper and showed the info I'd specified:

 

BGI.PNG

 

Only students have the logon script applied, so when I log off/restart I'll get my own wallpaper back. I hope. Let you know soon!

 

Edit: Looks like it's cached somewhere as I got the student background with the time I rebooted. (Though if you're forcing a Teacher background I can't see it would be a problem). Quite busy this afternoon, but will try in the suite if I get time.

Edited by LeMarchand
Posted

OK, went to the suite this morning. Cached profiles greater than x days get deleted, so both users were "new" to PC.

 

1) Logged on as Student, got BGinfo wallpaper and info plus correct desktop shortcuts from a separate GPO. Logged off.

2) Logged on as Teacher, didn't get BGinfo wallpaper or info (as expected); did get correct desktop shortcuts. Logged off.

 

Repeated with both accounts and same results - so it should work.

  • Thanks 1
Posted
OK, went to the suite this morning. Cached profiles greater than x days get deleted, so both users were "new" to PC.

 

1) Logged on as Student, got BGinfo wallpaper and info plus correct desktop shortcuts from a separate GPO. Logged off.

2) Logged on as Teacher, didn't get BGinfo wallpaper or info (as expected); did get correct desktop shortcuts. Logged off.

 

Repeated with both accounts and same results - so it should work.

 

Thanks for your help with this. I've done as you suggested.

 

I've put all the files in C:\BGInfo - (got a few vbs scripts to pull names and password expiry etc from the system) and also put the script to run in there - using the same one you wrote in the second post.

 

Then I've added a group policy to run the script at logon (from the C Drive).

 

Also given unrestricted permissions to the folder in our software restriction policy as staff don't have access to the C Drive.

 

But it's still not applying anything on the first log on. It works great at second log on. But at first getting no BGInfo and no wallpaper (which is set via bginfo and the jpg is also in the BGInfo folder on the C Drive).

 

It's a real puzzler!

Posted
I run the script from NETLOGON, but have the files in C: (there was probably a reason for this...). Try knocking out the extra vbs scripts for now and just running the BGinfo script via GPO (from NETLOGON). Also, what happens if you run it manually?
Posted
I run the script from NETLOGON, but have the files in C: (there was probably a reason for this...). Try knocking out the extra vbs scripts for now and just running the BGinfo script via GPO (from NETLOGON). Also, what happens if you run it manually?

 

So I spent most of Friday faffing about with this and it just wouldn't work. I tried so many things. Then, I couldn't get it back to it's 'semi working' order that it had been in to begin with. It just kept crashing.

 

I realised this morning that the newer version of the bginfo.exe doesn't work properly. I'd decided to use that on Friday and that's why nothing I tried would work.

 

I've now gone back to the previous version and the script in your first post works perfectly. Thank you so much for all the time with this!

Posted
I've now gone back to the previous version and the script in your first post works perfectly. Thank you so much for all the time with this!

 

Cool! Glad you got it sorted in the end.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...