The only thing that GP will do around script execution is limit the combined time that all scripts will run, to prevent hanging scripts from hanging up a startup or logon process. The default total time for script execution is 10 minutes but you can adjust this using the policy at Computer Configuration\Admin Templates\System\Scripts\Maximum wait time for GP scripts. If someone adjusted this down dramatically, that would explain why your scripts are terminating before completing.
Darren
From: "joe" <[EMAIL PROTECTED]>
Sent: Monday, May 22, 2006 10:08 PM
To: [email protected]
Subject: RE: [ActiveDir] I try to execute applications in a script of a GPO but close after a few seconds
You need a GPO expert here but it sounds like the GPO processing is finishing up and it is closing out all of the outstanding processes it spawned.
Hello,
We have three domains controller in w2000 server, and Windows XP SP2 workstations. All users and machines are configure with group policies, in one of this GPO there are several _vbscript_, one of the scripts execute some applications.
I try to execute the applications with this code (in this I try to execute the notepad).
Dim WShell
Set WShell = Wscript.CreateObject("Wscript.Shell")
WShell.Run("c:\WINDOWS\notepad.exe")
The script run when user logon, and at the beginning the applications run correctly but in a few seconds all applications are closed.
Like additional information the antivirus program (Viruscan 8.0) don't report anything about a possible lock.
Thanks for your time, and sorry for my terrible English.
Sergio Sánchez Trujillo.
|
|
Sergio Sánchez Trujillo
|
|
iSOFT
|
|
Datos de contacto: Tel:
Fax:
Email:
[EMAIL PROTECTED]
/
[EMAIL PROTECTED]
Web:
http://www.isoftsanidad.es/
Web Grupo iSOFT:http
://www.isoftplc.com/
|
|
|
ESTE E-MAIL ES CONFIDENCIAL y solo podrá ser utilizado por la persona a la que va dirigido o cualquier otro receptor expresamente autorizado por iSOFT Sanidad y/o Grupo iSOFT plc, por escrito o de cualquier otro modo, para recibir el mismo. Si no está dirigido a usted o no es el receptor autorizado de este documento, cualquier revelación, reproducción, copia, distribución u otra difusión o uso de esta comunicación está estrictamente prohibida.
THIS E-MAIL IS CONFIDENTIAL and intended solely for the use of the individual to whom it is addressed. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited.
|
|