Link to home
Start Free TrialLog in
Avatar of Sleestack90
Sleestack90

asked on

BGinfo: Auto Refresh

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.

Avatar of Sylvain Drapeau
Sylvain Drapeau
Flag of Canada image

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
Avatar of Sleestack90
Sleestack90

ASKER

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.
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
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?
ASKER CERTIFIED SOLUTION
Avatar of Sylvain Drapeau
Sylvain Drapeau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That worked, thanks!