Re: Shuting down windows with batch file

From: Karl Levinson [x y] MVP (levinson_k@excite.com)
Date: 10/23/02


From: "Karl Levinson [x y] MVP" <levinson_k@excite.com>
Date: Wed, 23 Oct 2002 11:30:41 -0400


"Matěj Pilát" <matej.pilat@tiscali.cz> wrote in message
news:uPk5yeneCHA.2020@tkmsftngp09...
> Does anybody know how to shutdown w2k with batch file? The syntax?
> In the system w9x was like this
> C:\WINDOWS\RUNDLL.EXE USER.EXE,EXITWINDOWS
>
> I suppose, that in w2k should be similar like this
>
> C:\WINDOWS\SYSTEM32\RUNDDLL32.EXE USER.EXE,EXITWINDOWS
>
> But it doesn´t work. Is it possible at all in w2k shutdown the system with
> batch file???

If you have the Windows Resource Kit, you could use SHUTDOWN.EXE

If you search www.google.com for SHUTDOWN.EXE, I believe there are several
freeware versions as well.



Relevant Pages

  • Re: Scheduling a Reboot
    ... I've read that and I am using the right syntax! ... >> What command would I use in a shutdown.bat file that would shutdown ... >> over in the command prompt, ... > Then you should be able to make a Batch file with the correct Syntax. ...
    (microsoft.public.windows.server.sbs)
  • Re: Improved solution for the slow Exchange2003 shutdown problem
    ... timeout on exchange, hence it not being supported on a non SBS machine. ... > to do it and end up waiting the 15 minutes for the shutdown. ... > 1) Create a batch file named Exchange_Shutdown.bat with this one line " ... > Shutdown script icon. ...
    (microsoft.public.windows.server.sbs)
  • Re: Need help with a "Shutdown" Script...
    ... appropriate thing here is to run the shutdown batch file and give ... Task" executing this batch file if the computer has been idling for 45 ...
    (microsoft.public.windowsxp.general)
  • Re: Boot Win XP Home too long
    ... Open a command prompt and type or paste: ... >> I don't honestly know of a way to make the batch file run at shutdown ... >> to try to run it at boot. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Elegant shutdown method
    ... I generally use the command line Shutdown.exe command with ... I also believe there is a shutdown tool in the Psutils (available ... I schedule with the scheduler so I am not sure about the time. ... I simply setup a batch file on the Main ...
    (microsoft.public.windows.server.active_directory)