Dear Osis,
Thank you for your post here!
Just like Chris said, you can rely on the following polices when facing
such scenarios with Group Policy:
Computer Configuration\Adminstrative Templates\System\Logon
- Run logon scripts synchronously
- Run legacy logon scripts hidden
- Run startup scripts visible
- Run shutdown scripts visible
- Maximum wait time for Group Policy scripts
These policies are responsible for computer/user logon scripts, if the user
closes the cmd window, the script will not run per your words. However, we
can set the policy "Run startup scripts visible" => Disable so that clients
will not view the script.
You can refer to this KB article for more information:
265016 How to Run a Domain Logon Script in the Foreground with the Start.exe
http://support.microsoft.com/?id=265016
NOTE: The third party product is manufactured by vendors independent of
Microsoft; we make no warranty, implied or otherwise, regarding their
products' performance or reliability.
I hope it helps!
Best Regards,
Frank Chen, MCSE
Microsoft Partner Support Professional
Get Secure! -
www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<From: "osis" <
[email protected]>
<Subject: startup script ?
<Date: Wed, 25 Feb 2004 12:28:03 -0500
<Lines: 13
<X-Priority: 3
<X-MSMail-Priority: Normal
<X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
<X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
<Message-ID: <uMbKqS8#
[email protected]>
<Newsgroups: microsoft.public.win2000.active_directory
<NNTP-Posting-Host: 216.68.37.130
<Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
<Xref: cpmsftngxa06.phx.gbl microsoft.public.win2000.active_directory:68109
<X-Tomcat-NG: microsoft.public.win2000.active_directory
<
<An anti-virus vendor does not supply/support installing the latest version
<of their antivirus client via an msi file. They do provide a script that
<they suggest assigning as a users logon script. This is not a workable
<solution for this environment (or many others). Rather than using this
<script as a users logon script I have assigned this script as a machine
<startup script. In my testing this seems to work just fine. My question
<is...if the user closes the cmd window does the script continue to run?
This
<script calls an exe if the executable begins to run before the user closes
<the cmd window will it continue to run?
<
<Thanks
<
<
<