Re: shutdown command

From: Mark Wilson (dearolblighty_at_hotmail.com)
Date: 08/12/04


Date: Thu, 12 Aug 2004 19:44:41 +0100

the command 'rundll32 shell32,SHExitWindowsEx 0' can be used to shutdown
your PC - you could set that as a scheduled task

M

"sam" <anonymous@discussions.microsoft.com> wrote in message
news:52e001c48096$275bbdb0$a401280a@phx.gbl...
>I would like to set a scheduled task to auto shutdown my
> computer each night, but i'm not sure where that command
> is. Anyone know where the command is that will start the
> shutdown process and turn off my computer? thanks



Relevant Pages

  • Re: remote Shutdown Command
    ... The flavour you use is different again from the three flavours I previously ... Where does the command reside? ... Instead of just running shutdown, ... \\Computer Specifies a remote computer to shutdown. ...
    (microsoft.public.win2000.general)
  • RE: packaged received but didnt run
    ... first you need to make sure your package is set to run whether someone is ... Run the shutdown command as an admin so it will have command over everything. ... timeout period.If this switch is used, ...
    (microsoft.public.sms.swdist)
  • Re: Scheduled Shutdown with GP
    ... Using the /l command with shutdown will only log the user out, ... Try configuring the scheduled task at 430 under an admin account. ... either that - or you could configure a batch script to run on a server as a ...
    (microsoft.public.windows.group_policy)
  • Re: Script works well, but not as scheduled tasks ?
    ... Then, the script is very long (if a PC is already shutdown, just one shutdown command can take 5 minutes, and I have 226 PCs). ... Note that if a batch file expects to find another file in the same folder, it needs to know it is in the same folder. ... I have 226 log files of the form of Log.txt too. ...
    (microsoft.public.scripting.vbscript)
  • Re: Logoff on idle with lock already active
    ... scheduled task, but I'm not sure it will work for all user on the ... I could imagine that using the built-in Windows "shutdown" command with the /c switch could work for you as well. ... You can schedule the shutdown using Group Policy Scripts and the AT command: ...
    (microsoft.public.windows.server.active_directory)

Loading