I have made a small script (rstop.cmd) to shutdown a remote computer :
"shutdown /m \\huttesrv001.hutte.local /s /f" which works fine.
Now I would like to to shutdown the remote computer when I shutdown my own computer so I put that script in:
GpEdit.msc
Computer Configuration
Windows Settings
Scripts
Shutdown
and there it is: it doesn't work. Other scripts work well within this configuration.
Also, I have a similar script for starting the remote computer and put it in
GpEdit.msc
Computer Configuration
Windows Settings
Scripts
Startup
which works fine.
Does anyone know why the shutdown script doesn't work in GPEdit.msc?
Thanks in advance.