Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Small Business Server
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Group Policy Startup Script Issue (Trend OfficeScan) - Autopcc

Small Business Server


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-11-2007
Member
 
Join Date: Aug 2006
Posts: 162
Group Policy Startup Script Issue (Trend OfficeScan) - Autopcc

I am trying to install Trend OfficeScann client via the Autopcc.exe that is located in a startup script and not login, due to my restricted user environment. It has to be Autopcc, not a custom package, because I want the Autopcc to install the client if not present and perform a component update each time a machine is restarted after that. The issue that I am facing is that when I place the Autopcc.exe to be run in a startup script, the script, and all applications associated terminate prematurely. I think that it has to do with the fact that AutoPcc.exe calls other executables to be run and autopcc itself terminates. I am not a scripter and have little experience with writing custom scripts. I have tried the 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 start but they will close once the delay is timed out. I am not able to set a long delay on a script that runs everytime a machine which is started for some reasons. The only support that I get from Trend is to launch AutoPcc using "Run as" in a login script. But because of security policies in place, I am not able to do that. Any help would be appreciated.

Reply With Quote
  #2  
Old 09-11-2007
Member
 
Join Date: Jan 2006
Posts: 4,545
Can you try to run it as a vbscript or you can also try to use a batch file. I have used a shutdown batch file script to stop services when a server is restarted, so I am sure that the batch files are supported. If you can use the 'start /wait' command in a batch file then it wil keep that process alive ubtil it has completed running.
Reply With Quote
  #3  
Old 23-09-2010
Member
 
Join Date: Aug 2010
Posts: 2
Re: Group Policy Startup Script Issue (Trend OfficeScan) - Autopcc

Has anyone found a solution to this? I need to do exactly the same thing: run AutoPcc.exe via GPO Startup script - not logon script.
Reply With Quote
  #4  
Old 23-09-2010
Member
 
Join Date: Oct 2008
Posts: 107
Re: Group Policy Startup Script Issue (Trend OfficeScan) - Autopcc

I would like to suggest you to situate the AutoPcc.exe to be run in a startup script, the script, and all applications associated terminate precipitately. I consider 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:
Code:
Set objShell = CreateObject("WScript.Shell")
Set objScriptExec = objShell.Exec("\\ctrendsrv\ofcscan\autoopcc.exe.exe")
I think that will help you to some extent.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Small Business Server


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Group Policy Startup Script Issue (Trend OfficeScan) - Autopcc"
Thread Thread Starter Forum Replies Last Post
Group Policy logon script not applied if connected by WiFi Alister Active Directory 8 09-01-2010 01:10 AM
Group Policy Object for startup scripts on computers doesn't work Ikram Active Directory 3 03-09-2009 07:30 AM
Group policy logon script doesn't run CryptiniteDemon Windows Server Help 5 21-07-2009 06:44 PM
Win2000 Group Policy strange issue techguru1 Operating Systems 4 24-06-2009 09:51 AM
installing software using startup scripts in group policy 2003 JR Windows Server Help 2 29-05-2008 06:33 AM


All times are GMT +5.5. The time now is 05:59 AM.