Sbrown95
2007-11-06 22:51:39 UTC
First I'd like to say hi to all and thank you for reading my post. I
know we all get busy sometimes and we (especially me) get too involved
with our own issues to help others. I appreciate EVERYONE for their
participation in the IT community. Now here goes...
I know some of you out there have seen this:
Desired Outcome:
Trend OfficeScan client to be installed via the Autopcc.exe located in
a startup script(Startup - not login) due to my restricted user
environment. It needs to be Autopcc, not a custom package, because i
need the AutoPcc to install the client if not present and perform a
component update each time a machine is rebooted after that. This
should be simple. Right?
My Problem:
When I place the AutoPcc.exe to be run in a startup script, the
script, and all applications accociated terminate prematurely. I
believe it has to do with the fact that AutoPcc.exe calls other
executables to be run and autopcc itself terminates. I'm not a
scripter and have little experience with writing custom scritps. I
have tried simple scripts like:
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Set objShell = CreateObject("WScript.Shell")
Set objScriptExec = objShell.Exec("\\ctrendsrv\ofcscan
\autoopcc.exe.exe")
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
This script will start autopcc, then terminate. If i set a delay in
the script like:
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Do While (objScriptExec.Status = 0)
WScript.Sleep 1000 'msec
Loop
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
the prescan, and installation will begin(meaning this is not a
permissions issue), but they will close once the delay is timed out.
I cannot set a long delay on a script that runs everytime a machine is
started for obvious reasons.
The only support i get from Trend is to launch AutoPcc using "Run as"
in a "login" script. Due to security policies in place, I cannot do
this.
Can anyone out there help me with this?? Thanks to all!!
know we all get busy sometimes and we (especially me) get too involved
with our own issues to help others. I appreciate EVERYONE for their
participation in the IT community. Now here goes...
I know some of you out there have seen this:
Desired Outcome:
Trend OfficeScan client to be installed via the Autopcc.exe located in
a startup script(Startup - not login) due to my restricted user
environment. It needs to be Autopcc, not a custom package, because i
need the AutoPcc to install the client if not present and perform a
component update each time a machine is rebooted after that. This
should be simple. Right?
My Problem:
When I place the AutoPcc.exe to be run in a startup script, the
script, and all applications accociated terminate prematurely. I
believe it has to do with the fact that AutoPcc.exe calls other
executables to be run and autopcc itself terminates. I'm not a
scripter and have little experience with writing custom scritps. I
have tried simple scripts like:
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Set objShell = CreateObject("WScript.Shell")
Set objScriptExec = objShell.Exec("\\ctrendsrv\ofcscan
\autoopcc.exe.exe")
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
This script will start autopcc, then terminate. If i set a delay in
the script like:
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Do While (objScriptExec.Status = 0)
WScript.Sleep 1000 'msec
Loop
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
the prescan, and installation will begin(meaning this is not a
permissions issue), but they will close once the delay is timed out.
I cannot set a long delay on a script that runs everytime a machine is
started for obvious reasons.
The only support i get from Trend is to launch AutoPcc using "Run as"
in a "login" script. Due to security policies in place, I cannot do
this.
Can anyone out there help me with this?? Thanks to all!!