Shutdown Scripts

G

Guest

Hi

I am having difficulty getting a shutdown script to work using GPO's. I create the GPO and link it to an OU that contains the Workstaion accounts that I want to affect, I chose the 'ShutdownScripts' setting and add in the script I want to run. However when the target machine is logged in and then shut down the script does not execute..

I have done the same thing as a local group policy by running GPEdit and this proved successful... script executed successfully. However, I happened to notice that the registry settings that are used for the Shutdown script policy are not written to the Registry.POL file which is fine for a local policy, but not what I would expect in an AD environment

Are there any pre-requisites to being able to run Shutdown scripts?? Am I going about this in the wrong way?? Why doesn't it work? :-

Cheers

Timshel
 
T

Tim Hines [MSFT]

The first thing that you should do is verify that the client machine is
receiving the policy. You can run gpresult.exe to determine this. If the
client does receive the policy then you should verify that the client can
reach the share that the script is stored in. It should be stored in the
policy that you configured. For example
\\mydomain.com\SYSVOL\mydomain.com\Policies\{8218CE31-5B28-4E40-BCB1-91B7F78
64795}\Machine\Scripts .


--
--
Tim Hines, MCSE, MCSA
Windows 2000 Directory Services

=====================================================
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.



UberSchnell said:
Hi,

I am having difficulty getting a shutdown script to work using GPO's. I
create the GPO and link it to an OU that contains the Workstaion accounts
that I want to affect, I chose the 'ShutdownScripts' setting and add in the
script I want to run. However when the target machine is logged in and then
shut down the script does not execute...
I have done the same thing as a local group policy by running GPEdit and
this proved successful... script executed successfully. However, I happened
to notice that the registry settings that are used for the Shutdown script
policy are not written to the Registry.POL file which is fine for a local
policy, but not what I would expect in an AD environment.
Are there any pre-requisites to being able to run Shutdown scripts?? Am I
going about this in the wrong way?? Why doesn't it work? :-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top