Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I deploy to a client the BgInfo utility via a GPO,I am receiving the following error.

Error code:800A408

here is my script code.

Set objShell = CreateObject(“Wscript.Shell”)

objShell.Run “\\Server2008\deploy\bginfo\bginfo.exe 
\\Server2008\deploy\bginfo\test.bgi /NOLICPROMPT /timer:0”, 1, True

thanks.

share|improve this question
    
Where is that error code indicated? Can you run bginfo from your script using the /log switch to capture more info? –  jscott Apr 18 '11 at 21:21
add comment

1 Answer

up vote 1 down vote accepted

If this is a .vbs file make sure you deploy the aplication using cscript.exe filename.vbs within startup scripts (.cmd file) under GPO's Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown) -> Startup.

Also, I would add a little code to check if it's already installed like this:

dim filesys
Set filesys = CreateObject("Scripting.FileSystemObject") 
If not filesys.FileExists("c:\program files\bginfo\somefile.txt") Then
  Set objShell = CreateObject(“Wscript.Shell”)
  objShell.Run “\\Server2008\deploy\bginfo\bginfo.exe \\Server2008\deploy\bginfo\test.bgi /NOLICPROMPT /timer:0”, 1, True
End If
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.