I've got a .bat file that works flawlessly if I manually run it. But when put in a GPO as a startup or shutdown script it does not. As a startup script it does nothing. As a shutdown script it stops for 10-15 min at "running shutdown scripts" but it dosent install.
Do you guys see anything differnt I should do or how I should start my trouble shooting?


@echo off
IF EXIST "C:\Program Files\Internet Explorer\Plugins\Hyperion\9.3.1\axbqs32.dll" GOTO :eof
\\10.1.xxx.xxx\Software_Deployment\HyperionPlugin\setup.exe /ieinstall -s
END

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
When you push the script through GPO, does the account running the script (LocalSystem?) have access to the network location?
Answered 07/14/2010 by: pjgeutjens
Red Belt

Please log in to comment
0
Yes I gave Domain PCs read access to that location.

But I figured it out.
I was using the IP address in the path. This apparently does not work. As soon as I changed it to the server name it started working!!! And after some tweaking this morning I now have this, and i'm about to start some more testing with our remote sites.


@echo off
IF EXIST "C:\Program Files\Internet Explorer\Plugins\Hyperion\9.3.1\axbqs32.dll" GOTO :checkfile
\\server-01\Software_Deployment\HyperionPlugin\setup.exe /ieinstall -s
:checkloop
If not exist "C:\Program Files\Internet Explorer\Plugins\Hyperion\9.3.1\axbqs32.dll" then goto checkloop
:checkfile
If exist "C:\WINDOWS\brioqplg_ev.ini" then goto :eof
If not exist "C:\WINDOWS\brioqplg_ev.ini" then xcopy "\\server-01\Software_Deployment\HyperionPlugin\bqformat_ev.ini" c:\WINDOWS /y
END


Cant belive I struggled with this for days, then as soon as I make a post for help..... I started making progress.
Answered 07/14/2010 by: MrVal
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity