Windows XP Community - XPHeads



Registry Mechanic - Free Scan Now

scheduled shutdown

microsoft.public.windowsxp.general


Reply
  #1 (permalink)  
Old 03-20-2008, 01:47 PM
Howard - JC Publishing
 
Posts: n/a
scheduled shutdown
I want to setup a shutdown command using schedule. When I run it something
comes up on the screen very briefly and then nothing. Shutdown does not run.
Could this be a permission issue? I know how to make changes through
gpedit.msc when logged in as an administrator but I cannot find anything
about shutdown permissions.

Thank you.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-20-2008, 02:03 PM
Lanwench [MVP - Exchange]
 
Posts: n/a
Re: scheduled shutdown
Howard - JC Publishing <HowardJCPublishing@discussions.microsoft.com>
wrote:
> I want to setup a shutdown command using schedule. When I run it
> something comes up on the screen very briefly and then nothing.
> Shutdown does not run. Could this be a permission issue?


Could be (I'd presume you were doing this as an administrator, though), but
how'd you run it? In a command window?

Since you say "schedule" - use a batch file & task scheduler, and
supply admin credentials to run the task.

In the batch file,

shutdown -r -t 3

....will shut down the PC in 3 seconds, and then restart it

shutdown -t 10

will shut down in 10 seconds.

Etc.

In a command prompt run shutdown /? for all the parameters.


> I know how
> to make changes through gpedit.msc when logged in as an administrator
> but I cannot find anything about shutdown permissions.
>
> Thank you.





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-20-2008, 02:05 PM
Avi Greenbury
 
Posts: n/a
Re: scheduled shutdown
On Thu, 20 Mar 2008 06:47:02 -0700, Howard - JC Publishing wrote:

> I want to setup a shutdown command using schedule. When I run it
> something comes up on the screen very briefly and then nothing.
> Shutdown does not run.
> Could this be a permission issue? I know how to make changes through
> gpedit.msc when logged in as an administrator but I cannot find anything
> about shutdown permissions.


How are you scheduling the shutdown?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-20-2008, 02:34 PM
VanguardLH
 
Posts: n/a
Re: scheduled shutdown
"Howard - JC Publishing"
<HowardJCPublishing@discussions.microsoft.com> wrote in message
news:90FC0B11-C57B-45CE-BD24-43D2BCCAB48C@microsoft.com...
> When I run it something comes up on the screen very briefly and then
> nothing.


You are running a console-mode program. It doesn't have a GUI window.
Its stdout goes to the console window. When you exit the program, the
console window closes. So when 'shutdown' exits, its console window
closes. Run the program in a command shell (aka DOS shell).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-24-2008, 03:05 PM
Howard - JC Publishing
 
Posts: n/a
Re: scheduled shutdown
I am using Schedule Tasks with the shutdown -s command. I tried just
entering that command in the CMD window and get a permission error message.


"Avi Greenbury" wrote:

> On Thu, 20 Mar 2008 06:47:02 -0700, Howard - JC Publishing wrote:
>
> > I want to setup a shutdown command using schedule. When I run it
> > something comes up on the screen very briefly and then nothing.
> > Shutdown does not run.
> > Could this be a permission issue? I know how to make changes through
> > gpedit.msc when logged in as an administrator but I cannot find anything
> > about shutdown permissions.

>
> How are you scheduling the shutdown?
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-24-2008, 09:55 PM
Lanwench [MVP - Exchange]
 
Posts: n/a
Re: scheduled shutdown
Howard - JC Publishing <HowardJCPublishing@discussions.microsoft.com>
wrote:
> I am using Schedule Tasks with the shutdown -s command. I tried just
> entering that command in the CMD window and get a permission error
> message.


Please see my reply.
>
>
> "Avi Greenbury" wrote:
>
>> On Thu, 20 Mar 2008 06:47:02 -0700, Howard - JC Publishing wrote:
>>
>>> I want to setup a shutdown command using schedule. When I run it
>>> something comes up on the screen very briefly and then nothing.
>>> Shutdown does not run.
>>> Could this be a permission issue? I know how to make changes
>>> through gpedit.msc when logged in as an administrator but I cannot
>>> find anything about shutdown permissions.

>>
>> How are you scheduling the shutdown?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:55 AM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74