Solved

BGinfo: Auto Refresh

Posted on 2010-08-16
6
5,182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Simple Linear Regression

636 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