Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > BgInfo
  New Posts New Posts RSS Feed: Deploying BGInfo using a GPO
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Deploying BGInfo using a GPO

 Post Reply Post Reply Page  12>
Author
Message Reverse Sort Order
timraines View Drop Down
Newbie
Newbie
Avatar

Joined: 21 November 2007
Location: Australia
Online Status: Offline
Posts: 26
Post Options Post Options   Quote timraines Quote  Post ReplyReply Direct Link To This Post Topic: Deploying BGInfo using a GPO
    Posted: 21 November 2007 at 5:09pm
Originally posted by Edigs

kbuchanan

I put my logon script in defaul domain policy; under Computer configuration.

 

Nothing happens on my clients

 
Hey just a tip, you may want to try putting your script into the User Configuration in the GPO rather than the Computer Configuration section.
 
Place it in User Configuration > Windows Settings > Scripts Logon/Logout > Logon. Since you want it to run after a user authenticates instead of before the logon screen even appears. Smile


Edited by timraines - 21 November 2007 at 5:10pm
Tim Raines
- Microsoft Certified Professional
- Microsoft Certified Technology Specialist
- Small Business Specialist
Back to Top
Bryce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 June 2005
Online Status: Offline
Posts: 196
Post Options Post Options   Quote Bryce Quote  Post ReplyReply Direct Link To This Post Posted: 08 March 2007 at 10:09pm

Originally posted by markvr

It works great except occasionally it doesn't use the config file, and instead just does the default option of displaying tons of data on their desktop. Only occasionally, and it seems to be random machines.

You'll see this behavior if it checks for the existence of the BGI file and sees it exists, but when it tries to open the file it fails (because the file is busy? network timeout? I don't know). In that scenario it will use the default values.

In the next release (in a week or two) I've changed it so that when the config file cannot be read it will either issue a warning (and use the defaults) or if /silent is specified it will exit silently (and not update anything).



Edited by Bryce - 08 March 2007 at 10:10pm
Back to Top
markvr View Drop Down
Newbie
Newbie


Joined: 02 March 2007
Online Status: Offline
Posts: 4
Post Options Post Options   Quote markvr Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2007 at 10:54am
bobtrie,
I think it might be updating the database, but I'm not entirely sure I'm afraid.

It isn't a permissions thing, it happened to me this morning when I logged on, and I have admin rights to the script folder, and made no changes yesterday, it all just suddenly popped onto my desktop.

It does seem to randomly display on the desktop for no apparent reason.  Really quite frustrating, because otherwise it is a very useful utility!
Back to Top
bobtrie View Drop Down
Newbie
Newbie
Avatar

Joined: 03 May 2006
Location: United States
Online Status: Offline
Posts: 32
Post Options Post Options   Quote bobtrie Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2007 at 11:02am

Markvr,

      When the user gets all of the info on the desktop, does the info also go into your database? Can you see the login date, on the desktop of the ones that show all the info. Check that to make sure that it's not just an old desktop background showing up from maybe the script not running. Can all of this happen on one client, works fine, then doesn't work, then work?

Back to Top
markvr View Drop Down
Newbie
Newbie


Joined: 02 March 2007
Online Status: Offline
Posts: 4
Post Options Post Options   Quote markvr Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2007 at 12:15pm
bobtrie:
"Do you have more then one login server" - yes, several.
"are all the computers on the same domain" - yes
"can everyone get to the share that you put this in?" - yes, the bginfo.exe file is in the same directory as the config file with same permissions so if they can't access the config file they shouldn't be able to run the program either.

It is random when it doesn't get applied, some users in the same OU and settings occasionally get it displaying, but not always.  it'll be fine for someone, then they will log on one day and suddenly everything will appear on the dekstop. Strange.

I think that if it can't find a config file it defaults to registry settings, then inbuilt defaults so I am trialling updating the users registry with a .reg file exported from my system for the bginfo settings so hopefully it provides a fall back.

ie:
regedit /S \\server\share\bginfo.reg
\\server\share\bginfo.exe \\server\share\bginfo.bgi /silent.
Back to Top
bobtrie View Drop Down
Newbie
Newbie
Avatar

Joined: 03 May 2006
Location: United States
Online Status: Offline
Posts: 32
Post Options Post Options   Quote bobtrie Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2007 at 4:20pm

jdeagro, Edigs

I am currently running BGinfo on my 2003 network with Active Directory,and have it sending the info to an SQL server. One thing you might want to think about is making a new GPO just for BGinfo. Your Default Domain, and Domain Controller policies should never be touched. If they get messed up you can not replace them if you have added things to your environment like exchange, if you mess up one that you made, you can just delete it  and start over again . You can run it from a batch file in login script, in the users side of the GPO. Create a new GPO, Put it in the Users, login part of the GPO, reboot .

Do you have Group Policy already forcing the background?

 

markvr

Currently we are showing some info on the desktop, so when the user puts in a Help-Desk request, he/she can give us info like the computer name. With BGinfo you can choose what info is displayed on the desktop. Do you have more then one login server, are all the computers on the same domain, can everyone get to the share that you put this in?

 

Back to Top
markvr View Drop Down
Newbie
Newbie


Joined: 02 March 2007
Online Status: Offline
Posts: 4
Post Options Post Options   Quote markvr Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2007 at 6:00am
ps - regarding group policy if you have fast logon enabled (by default) then you need to reboot TWICE for it to take effect.

I have more info at http://www.markvr.co.uk/article-1171386147.html
Back to Top
markvr View Drop Down
Newbie
Newbie


Joined: 02 March 2007
Online Status: Offline
Posts: 4
Post Options Post Options   Quote markvr Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2007 at 5:59am
Hi,
I am using bginfo in a GP logon script:
\\server\logonscripts\bginfo.exe \\server\logonscripts\bginfo.bgi /timer:0 /NOLICPROMPT /SILENT

To update a SQL database which I've written a quick web form to search and show me the users IP from their name.  Nothing *should* appear on their desktop.

It works great except occasionally it doesn't use the config file, and instead just does the default option of displaying tons of data on their desktop. Only occasionally, and it seems to be random machines.

Anyone got any ideas?!  The system works great but I just can't deploy because of this issue.
Back to Top
SLMHC View Drop Down
Newbie
Newbie


Joined: 30 November 2006
Location: Canada
Online Status: Offline
Posts: 3
Post Options Post Options   Quote SLMHC Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2007 at 4:16pm
try forcing the client to update gpo

gpupdate /force

Also if this is on a Win2k client computer config options will not work.

I went with a user config logon script for 2 reasons.
1. I have a mix of 2k and XP clients
2. I didnt want system info showing up on the login screen

Back to Top
Edigs View Drop Down
Newbie
Newbie


Joined: 19 February 2007
Online Status: Offline
Posts: 3
Post Options Post Options   Quote Edigs Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2007 at 7:31am

kbuchanan

I put my logon script in defaul domain policy; under Computer configuration.

 

Nothing happens on my clients

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down