Clay-
Are you sure you're talking about user logon and logout scripts here? My
tests have always shown the these scripts run in the context of the user
while machine startup and shutdown scripts run under LocalSystem. A
quick test that I've done to confirm this is to use the whoami.exe
utility in my scripts and have it just pipe its output to a file on the
client running the scripts.

Darren 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clay Perrine
Sent: Tuesday, January 27, 2004 12:38 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Logout script

Login and logout scripts run under the machine context, not the user
context. The machine account may not have access to the network share
that it is located on.

  Try this...  Use the AT scheduler to open a command prompt
interactively.  The command is AT 11:00a  /interactive "cmd.exe".  This
will pop a command window ON THE CONSOLE.  It won't open in a terminal
server session.  When It opens, try to connect to the network location
that the logout script is located.  


If you can't access the logout script, then check the share and file
level permissions on the network share that the script is located, and
add the everyone group read and execute permissions.

Hope that helps!

Clay Perrine, MCSE
Microsoft Active Directory Support Team. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce Clingaman
Sent: Tuesday, January 27, 2004 2:02 PM
To: ActiveDir (E-mail)
Subject: [ActiveDir] Logout script


I have a logout script assigned on a Test Users OU, permissions set for
the test users group to read and apply but the script doesn't seem to
run. The test user can browse to the script and execute it manually,
proving the script functions correctly, but the gp doesn't seem to work.
Other settings in the GPO are being applied.

Any ideas?

bclingaman

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to