Solved

BGinfo: Auto Refresh

Posted on 2010-08-16
6
4,943 Views
Last Modified: 2013-11-10
I have BGinfo running across my domain. we are using it to collect software install and uptime, we are currently working on running it into SQL.

Right now I log into ALL of my servers every morning in order to gather some information from BGinfo into a spreadsheet.

I am VERY interested in finding something that will allow BGinfo to 'refresh' automatically at the same time everyday.

I attempted this with a scheduled task...however that didn't seem to work. I am open to ideas here, BUT I thought that there may be some way to write a script that will 'call' the Bginfo.bgi file and then I could schedule the script as a task.

0
Comment
Question by:Sleestack90
  • 3
  • 3
6 Comments
 
LVL 8

Expert Comment

by:SylvainDrapeau
ID: 33448428
Hello !

I remember running BGInfo as a scheduled task so you may want to troubleshoot that instead of creating a script.

The most common problems I had with scheduled tasks were :

- Executable files located on a network drive not available when the user was not logged on (drive not mapped)
- Password changed after the task was created and the task was not updated
- Task run as local admin trying to write data to a network share (access denied)
- The executable string was written incorrectly when LFN are used with parameters. Ex.: "C:\Long File Name\exe.exe -option" is wrong, it should be "C:\Long File Name\exe.exe" -option

Syldra
0
 

Author Comment

by:Sleestack90
ID: 33453882
Actually, it's probably the first problem you mentioned affecting me. What did you do to correct this? Just drop a copy of the file on each local machine it was susposed to run on? I can see where that might fix it, I really wanted a centerally located solution...but i would rather have it automated than central.
0
 
LVL 8

Expert Comment

by:SylvainDrapeau
ID: 33454082
Hello !

I'm not 100% sure that this is what I did then, but that's certainly what I would do now.

Create a "generic" domain user that's power user on every computer but remove the right to "Logon interactively" for that user. That user will have read/write acces everywhere but not being able to logon this lessen the security risk. Use that user the start the Scheduled Task. That way you're not forced to use a domain admin account to run the task.

Syldra
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Sleestack90
ID: 33458695
I created a command file which runs the following: C:\Program Files\BTSMain\BGinfo\BGinfo.exe C:\Program Files\BTSMain\BGinfo\Server.bgi /nolicprompt /log /timer:0

However that doesn't seem to work for me. Any suggenstions?
0
 
LVL 8

Accepted Solution

by:
SylvainDrapeau earned 500 total points
ID: 33461224
Hello !

in your batch file, is it written exactly as you put it or do you use quotes ? Do you provide the log file/db path ?

The line should look like this :

"C:\Program Files\BTSMain\BGinfo\BGinfo.exe" "C:\Program Files\BTSMain\BGinfo\Server.bgi" /nolicprompt /silent /log:"Path to log file" /timer:0
0
 

Author Comment

by:Sleestack90
ID: 33480005
That worked, thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question