Re: Shutdown chaos
- From: "Nepatsfan" <nepatsfan@xxxxxxxxxxx>
- Date: Sat, 21 May 2005 17:14:44 -0400
You might want to try entering shutdown.exe instead of just
shutdown. Enter this in you batch file:
shutdown.exe -i -l -s -t 30
Also, I believe that you need to put the -m switch in front of
\\computername.
shutdown.exe -i -l -s -m \\computername
I also suspect that the message you're receiving about "Directory
Service" might be referring to the Active Directory service used
in a domain. It has nothing to do with the services running on
the local computer.
--
Nepatsfan
<tonyboten@xxxxxxxxxxx> wrote in message
news:1116705851.079076.113880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>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.
>
.
- References:
- Shutdown chaos
- From: tonyboten
- Shutdown chaos
- Prev by Date: Losing Control of my Computer
- Next by Date: RE: Registry Restore
- Previous by thread: Re: Shutdown chaos
- Next by thread: Re: Shutdown chaos
- Index(es):
Relevant Pages
|