T
tonyboten
A simple problem; I want to automate the shutdown of the pc
at a specified time. But, to be sure that the process is
error free, I start in the Windows Command Processor before
scheduling the task.
I type:-
shutdown -i -l -s -t 30. Perfect.
This is copied into a batch file and run. Chaos. CPU
useage rises to 100% and the Command Processor scrolls my
commands at an almost unreadable rate.
Try 'shutdown/?', then add the computer name, as specified in
System Properties. i.e. shutdown -i -l -s \\computername
- t 30.
Doing this at the Command line produces the Remote Shutdown
Dialog which requires me to provide the name of a computer
(already given) AND a reason for shutdown. Obligingly, I
provide a specious reason and shutdown dutifully occurs.
Transferring this to the batch file - sans reason - repeat
of the former chaos.
Perhaps the location is at fault. The batch file is moved
from Desktop to Windows. No improvement.
Back to the Remote Shutdown Dialog: I try to browse for
the computer name and receive the message "The Directory
Service is currently unavailable"
Search 'Services' in Control Panel but can find no
'Directory Services'; but I change a couple of disabled
sevices to automatic on the offchance that they might be
responsible. Again, no joy.
Tried navigating to "shutdown.exe" in system32, creating a
shortcut, then amending the target line with the above
options, but this, when double clicked, merely brought me
back to the Remote Shutdown Dialog.
Am now totally at a loss. Since'Bill's bloatware' cannot be
at fault, I must bear the burden of resposibility. Can anyone
tell me, please, where I go from here to perform this simple
task? The administrator password could, conceivably, have a
bearing on this but, since I am already logged on, I don't see
how.
Tony.
at a specified time. But, to be sure that the process is
error free, I start in the Windows Command Processor before
scheduling the task.
I type:-
shutdown -i -l -s -t 30. Perfect.
This is copied into a batch file and run. Chaos. CPU
useage rises to 100% and the Command Processor scrolls my
commands at an almost unreadable rate.
Try 'shutdown/?', then add the computer name, as specified in
System Properties. i.e. shutdown -i -l -s \\computername
- t 30.
Doing this at the Command line produces the Remote Shutdown
Dialog which requires me to provide the name of a computer
(already given) AND a reason for shutdown. Obligingly, I
provide a specious reason and shutdown dutifully occurs.
Transferring this to the batch file - sans reason - repeat
of the former chaos.
Perhaps the location is at fault. The batch file is moved
from Desktop to Windows. No improvement.
Back to the Remote Shutdown Dialog: I try to browse for
the computer name and receive the message "The Directory
Service is currently unavailable"
Search 'Services' in Control Panel but can find no
'Directory Services'; but I change a couple of disabled
sevices to automatic on the offchance that they might be
responsible. Again, no joy.
Tried navigating to "shutdown.exe" in system32, creating a
shortcut, then amending the target line with the above
options, but this, when double clicked, merely brought me
back to the Remote Shutdown Dialog.
Am now totally at a loss. Since'Bill's bloatware' cannot be
at fault, I must bear the burden of resposibility. Can anyone
tell me, please, where I go from here to perform this simple
task? The administrator password could, conceivably, have a
bearing on this but, since I am already logged on, I don't see
how.
Tony.