Shutdown script

  • Thread starter Thread starter Luc Snoekx
  • Start date Start date
L

Luc Snoekx

I would like to run a script (myscript.cmd) at the moment
a person shuts down the workstation. ????
Can anyone help me please.
 
Luc Snoekx said:
I would like to run a script (myscript.cmd) at the moment
a person shuts down the workstation. ????
Can anyone help me please.

Are you working in a Windows Server 2003 or 2000 Active Directory Domain ?
If so this is set through a Group Policy Object on the OU your computer
account is in.

If you are standalone then use the local policy editor ( Start .. Run ...
mmc /a ... then add the Group Policy snap in.)
Open the Local Computer Policy \ Computer Configuration\Windows Settings
\Scripts node and you can add startup and shutdown scripts there.

--
Regards,

Mike
--
Mike Brannigan [Microsoft]

This posting is provided "AS IS" with no warranties, and confers no
rights

Please note I cannot respond to e-mailed questions, please use these
newsgroups
 
Mike Brannigan said:
Are you working in a Windows Server 2003 or 2000 Active Directory Domain ?
If so this is set through a Group Policy Object on the OU your computer
account is in.

If you are standalone then use the local policy editor ( Start .. Run ...
mmc /a ... then add the Group Policy snap in.)

Or just run gpedit.msc instead of mmc.exe. Another small note: The local policy
editor is not available for WinXP Home, only Pro.
 
Back
Top