Link to home
Start Free TrialLog in
Avatar of ayha1999
ayha1999

asked on

BgInfo popup

Hi,

I am using the follwoing vbscript to apply BGInfo wallpaper on users desktop on windows 2003.

Set objShell = CreateObject("Wscript.Shell")
objShell.Run "\\home\Netlogon\BGinfo\BGinfo.exe \\home\Netlogon\BGinfo\Networknet.bgi timer:0 /silent /NOLICPROMPT", 1, True

User generated image
the script is working but it pop up a windows on users desktop. How can I disable it and apply the wallpaper automatically?

Please help.

Ayha
Avatar of helpfinder
helpfinder
Flag of Slovakia image

create .bgi file as you want and save it. then create .cmd file and set it under startup folder

example:
create background.bgi file and save it under C:\BgInfo
then open notepad and put:

@echo off
C:\BgInfo\bginfo.exe C:\BgInfo\Background.bgi /timer:0

Open in new window


save as Bginfo.cmd (be aware to don´t save as .txt and put into startup items (C:\Documents and Settings\All Users\Start Menu\Programs\Startup (it make it to be in startup folder)
Avatar of Gerwin Jansen
In your commandline you should have "/timer:0" instead of "timer:0" - that's probably the reason why you get the popup. You could put the commandline in a batch file and call that in your logon script for example. Put this in your bat file:

\\home\Netlogon\BGinfo\BGinfo.exe \\home\Netlogon\BGinfo\Networknet.bgi /timer:0 /Silent /NoLicPrompt
Avatar of ayha1999
ayha1999

ASKER

None of your solutions work. Now even no pop up. This wallpaper should be updated on clients' desktop when they log in.

Thanks
For testing, can you add /log %TEMP%\bginfo.log and look in the logfile to see what is going wrong?

/silent causes errors that may appear to be suppressed
where can I add /log %TEMP%\bginfo.log?
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands 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
Thanks