Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > Shutdown GPO Script

Reply
Thread Tools Display Modes

Shutdown GPO Script

 
 
news.eternal-september.org
Guest
Posts: n/a

 
      11-12-2009
I have defined a GPO to delete some files from profile directories under
"documents and settings". However, I am a little uncertain about which
environment the script takes on when it runs. Since the script is on the
domain controller, does it take on that environment, or the environment of
the computer that the policy is applied against.

This is the output of the script, and it appears to me that it is running
against the DC. There are more profiles than "Administrator" on the target
computer.

I'd appreciate any enlightenment. Thanks.


'\\mydomain.mycomp.com\SysVol\Policies\{288E854F-0B06-42C9-BCB2-ACF5CC72DE227}\Machine\Scripts\Shutdown'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
Nothing to do for "Administrator"
Press any key to continue . . .



 
Reply With Quote
 
 
 
 
Marcin
Guest
Posts: n/a

 
      11-12-2009
apply http://support.microsoft.com/kb/156276 or script the task to avoid
running CMD...
Btw. as far as I can tell, this should be implemented as a logoff - rather
than shutdown - script...

hth
Marcin

"news.eternal-september.org" <> wrote in message
news:hdh4kt$pam$...
>I have defined a GPO to delete some files from profile directories under
>"documents and settings". However, I am a little uncertain about which
>environment the script takes on when it runs. Since the script is on the
>domain controller, does it take on that environment, or the environment of
>the computer that the policy is applied against.
>
> This is the output of the script, and it appears to me that it is running
> against the DC. There are more profiles than "Administrator" on the
> target computer.
>
> I'd appreciate any enlightenment. Thanks.
>
>
> '\\mydomain.mycomp.com\SysVol\Policies\{288E854F-0B06-42C9-BCB2-ACF5CC72DE227}\Machine\Scripts\Shutdown'
> CMD.EXE was started with the above path as the current directory.
> UNC paths are not supported. Defaulting to Windows directory.
> Nothing to do for "Administrator"
> Press any key to continue . . .
>
>
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
After SP2 Installation, VISTA will NOT Shutdown RickB Windows Vista Installation 4 10-24-2009 10:10 PM
Trivial startup script won't run in Vista Jeff Vandervoort Windows Vista Administration 1 10-07-2008 08:23 PM
Vista Startup Script problem (loading registry hive issue) ejmichaud@hotmail.com Windows Vista Administration 5 03-11-2008 11:27 AM
message at shutdown Diane Windows Vista Performance 2 11-08-2007 09:07 PM
Very Slow Shutdown Times Deren Smith Windows Vista Performance 2 04-25-2007 08:44 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59