Solved

BGinfo: Auto Refresh

Posted on 2010-08-16
6
4,516 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now