Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shutdown script

Status
Not open for further replies.

tbalazs

IS-IT--Management
Joined
Dec 18, 2000
Messages
158
Location
GB
I'm a bit confused here. I want 2 Win2K Pro PCs (whoever is logged onto the domain via them) to run a shutdown script. How do I set this up?
Thanks.
Tony.
 
OK Thank you.

I have the following batch file in c:\windows\system32\grouppolicy\machine\scripts\shutdown on the client machine:
xcopy e:\logs\*.xls Y:\*.xls
Simple, for now.
Whe I run the batch file manually, the relevant files are copied correctly (Y: is automatically established at logon) but the batch does not run at shutdown, even though it is there under admin$\system32\grouppolicy\machine\scripts\shutdown in computer configuration | windows settings | scripts | shutdown on the server.
Why would it not run? Is there something I need to activate on the server or the client first?
Thanks.
Tony.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top