PDA

View Full Version : Using a shortcut to shutdown.exe to shutdown the computer


Bill in Co.
November 18th 09, 07:56 AM
I've got a shortcut on the desktop to shutdown the computer (linked to
shutdown.exe, as it's more convenient and simpler to use than the Start
Menu), and it works pretty well, but something puzzles me.

For some strange reason, it has been logging the shutdown process under the
name "USER32" (in System Event Viewer), unlike anything else listed in
there. Why isn't it under the normal ownership name of Service Control
Manager like everything else?

I think this "change" in "apparent ownership" happened some time ago (around
9/14) when I was trying to clean up the Tray Notify Icon Streams and Past
Icon Streams in the registry by deleting those two keys, so they'd get
cleanly rebuilt on reboot. (thereby removing some of the old junk left in
there from the past; doing so also removes past items from the Notification
Area).

Is there a way to change the shutdown ownership back to what I think its
supposed to be (i.e, used to be as I recall), e.g: Service Control Manager,
instead of this weird USER32 thing? I mean, I'm the only user and am
automatically logged in as such, on this XP Home computer, so I don't think
there should be a USER32 entry here.

Bill in Co.
November 18th 09, 08:37 AM
Addended below with the actual desktop shortcut info to do this (shutdown
XP).

Bill in Co. wrote:
> I've got a shortcut on the desktop to shutdown the computer (linked to
> shutdown.exe, as it's more convenient and simpler to use than the Start
> Menu), and it works pretty well, but something puzzles me.
>
> For some strange reason, it has been logging the shutdown process under
> the
> name "USER32" (in System Event Viewer), unlike anything else listed in
> there. Why isn't it under the normal ownership name of Service Control
> Manager like everything else?
>
> I think this "change" in "apparent ownership" happened some time ago
> (around
> 9/14) when I was trying to clean up the Tray Notify Icon Streams and Past
> Icon Streams in the registry by deleting those two keys, so they'd get
> cleanly rebuilt on reboot. (thereby removing some of the old junk left in
> there from the past; doing so also removes past items from the
> Notification
> Area).
>
> Is there a way to change the shutdown ownership back to what I think its
> supposed to be (i.e, used to be as I recall), e.g: Service Control
> Manager,
> instead of this weird USER32 thing? I mean, I'm the only user and am
> automatically logged in as such, on this XP Home computer, so I don't
> think
> there should be a USER32 entry here.

In case anyone wants to try it, you can create a WindowsXPShutdown shortcut
on the desktop, and set its properties, as follows:

Target: %windir%\system32\shutdown.exe -s -t 4
Start in: %windir%

This ends up giving a nice 4 sec delay before shutdown.

If anyone tries it, I'd be interested in what the Event Viewer owner name
is, as listed in the Event Viewer for this event (after you power up again).
It's easy to find it there if you know the approx time you shut down the
computer (just look in the System Event Viewer for it). TIA.

Gordon
November 18th 09, 09:14 AM
"Bill in Co." > wrote in message
...
> I've got a shortcut on the desktop to shutdown the computer (linked to
> shutdown.exe, as it's more convenient and simpler to use than the Start
> Menu),

How is Start-Turn off computer-shutdown "inconvenient"? Click click click -
done. Three seconds.

Pegasus [MVP]
November 18th 09, 10:39 AM
"Bill in Co." > wrote in message
...
> I've got a shortcut on the desktop to shutdown the computer (linked to
> shutdown.exe, as it's more convenient and simpler to use than the Start
> Menu), and it works pretty well, but something puzzles me.
>
> For some strange reason, it has been logging the shutdown process under
> the name "USER32" (in System Event Viewer), unlike anything else listed in
> there. Why isn't it under the normal ownership name of Service Control
> Manager like everything else?
>
> I think this "change" in "apparent ownership" happened some time ago
> (around 9/14) when I was trying to clean up the Tray Notify Icon Streams
> and Past Icon Streams in the registry by deleting those two keys, so
> they'd get cleanly rebuilt on reboot. (thereby removing some of the old
> junk left in there from the past; doing so also removes past items from
> the Notification Area).
>
> Is there a way to change the shutdown ownership back to what I think its
> supposed to be (i.e, used to be as I recall), e.g: Service Control
> Manager, instead of this weird USER32 thing? I mean, I'm the only user
> and am automatically logged in as such, on this XP Home computer, so I
> don't think there should be a USER32 entry here.

Can't tell unless you post the exact command that your shortcut executes.

dadiOH[_2_]
November 18th 09, 11:59 AM
Bill in Co. wrote:
> I've got a shortcut on the desktop to shutdown the computer (linked to
> shutdown.exe, as it's more convenient and simpler to use than the
> Start Menu), and it works pretty well, but something puzzles me.
>
> For some strange reason, it has been logging the shutdown process
> under the name "USER32" (in System Event Viewer), unlike anything
> else listed in there. Why isn't it under the normal ownership name
> of Service Control Manager like everything else?
>
> I think this "change" in "apparent ownership" happened some time ago
> (around 9/14) when I was trying to clean up the Tray Notify Icon
> Streams and Past Icon Streams in the registry by deleting those two
> keys, so they'd get cleanly rebuilt on reboot. (thereby removing some
> of the old junk left in there from the past; doing so also removes
> past items from the Notification Area).
>
> Is there a way to change the shutdown ownership back to what I think
> its supposed to be (i.e, used to be as I recall), e.g: Service
> Control Manager, instead of this weird USER32 thing? I mean, I'm
> the only user and am automatically logged in as such, on this XP Home
> computer, so I don't think there should be a USER32 entry here.

My shortcut to shutdown logs as user32, always has. Doesn't bother me, I
take it to mean "user of a 32 bit system".

--

dadiOH
____________________________

dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico

Bob I
November 18th 09, 02:00 PM
ALT+F4 then Enter. You can't get much faster.

Bill in Co. wrote:

> I've got a shortcut on the desktop to shutdown the computer (linked to
> shutdown.exe, as it's more convenient and simpler to use than the Start
> Menu), and it works pretty well, but something puzzles me.
>
> For some strange reason, it has been logging the shutdown process under the
> name "USER32" (in System Event Viewer), unlike anything else listed in
> there. Why isn't it under the normal ownership name of Service Control
> Manager like everything else?
>
> I think this "change" in "apparent ownership" happened some time ago (around
> 9/14) when I was trying to clean up the Tray Notify Icon Streams and Past
> Icon Streams in the registry by deleting those two keys, so they'd get
> cleanly rebuilt on reboot. (thereby removing some of the old junk left in
> there from the past; doing so also removes past items from the Notification
> Area).
>
> Is there a way to change the shutdown ownership back to what I think its
> supposed to be (i.e, used to be as I recall), e.g: Service Control Manager,
> instead of this weird USER32 thing? I mean, I'm the only user and am
> automatically logged in as such, on this XP Home computer, so I don't think
> there should be a USER32 entry here.
>
>

Roy Smith[_7_]
November 18th 09, 03:03 PM
Gordon wrote:
>
> "Bill in Co." > wrote in message
> ...
>> I've got a shortcut on the desktop to shutdown the computer (linked to
>> shutdown.exe, as it's more convenient and simpler to use than the
>> Start Menu),
>
> How is Start-Turn off computer-shutdown "inconvenient"? Click click
> click - done. Three seconds.


Better yet, just open power settings and on the advanced tab change the
option for the power button to shut down. Then all you have to do is
push the power button to turn off the PC. More intuitive IMHO.


--

Roy Smith
Windows XP Pro SP3

Bill in Co.
November 18th 09, 07:49 PM
Pegasus [MVP] wrote:
> "Bill in Co." > wrote in message
> ...
>> I've got a shortcut on the desktop to shutdown the computer (linked to
>> shutdown.exe, as it's more convenient and simpler to use than the Start
>> Menu), and it works pretty well, but something puzzles me.
>>
>> For some strange reason, it has been logging the shutdown process under
>> the name "USER32" (in System Event Viewer), unlike anything else listed
>> in
>> there. Why isn't it under the normal ownership name of Service Control
>> Manager like everything else?
>>
>> I think this "change" in "apparent ownership" happened some time ago
>> (around 9/14) when I was trying to clean up the Tray Notify Icon Streams
>> and Past Icon Streams in the registry by deleting those two keys, so
>> they'd get cleanly rebuilt on reboot. (thereby removing some of the old
>> junk left in there from the past; doing so also removes past items from
>> the Notification Area).
>>
>> Is there a way to change the shutdown ownership back to what I think its
>> supposed to be (i.e, used to be as I recall), e.g: Service Control
>> Manager, instead of this weird USER32 thing? I mean, I'm the only user
>> and am automatically logged in as such, on this XP Home computer, so I
>> don't think there should be a USER32 entry here.
>
> Can't tell unless you post the exact command that your shortcut executes.

Already posted in my addended reply. Here it is again, Pegasus:

WindowsXPShutdown shortcut properties, as follows:

Target: %windir%\system32\shutdown.exe -s -t 4 (gives a 4 sec delay)
Start in: %windir%

Bill in Co.
November 18th 09, 07:59 PM
dadiOH wrote:
> Bill in Co. wrote:
>> I've got a shortcut on the desktop to shutdown the computer (linked to
>> shutdown.exe, as it's more convenient and simpler to use than the
>> Start Menu), and it works pretty well, but something puzzles me.
>>
>> For some strange reason, it has been logging the shutdown process
>> under the name "USER32" (in System Event Viewer), unlike anything
>> else listed in there. Why isn't it under the normal ownership name
>> of Service Control Manager like everything else?
>>
>> I think this "change" in "apparent ownership" happened some time ago
>> (around 9/14) when I was trying to clean up the Tray Notify Icon
>> Streams and Past Icon Streams in the registry by deleting those two
>> keys, so they'd get cleanly rebuilt on reboot. (thereby removing some
>> of the old junk left in there from the past; doing so also removes
>> past items from the Notification Area).
>>
>> Is there a way to change the shutdown ownership back to what I think
>> its supposed to be (i.e, used to be as I recall), e.g: Service
>> Control Manager, instead of this weird USER32 thing? I mean, I'm
>> the only user and am automatically logged in as such, on this XP Home
>> computer, so I don't think there should be a USER32 entry here.
>
> My shortcut to shutdown logs as user32, always has. Doesn't bother me, I
> take it to mean "user of a 32 bit system".

Then maybe I've misrembered it. In and of itself, admitedly it's no big
deal.

See, I originally noticed something seemed different, when often before it
shut down, a short message would come up saying it was waiting for explorer
to close (and then it shutdown). Why that happens I have no idea, since I
didn't have a windows explorer window open at the time.

Before I had made those previous changes I talked about, I didn't think that
ever happened, so that's when I started looking into the Event Viewer thing
more.

Well anyways, have you ever seen that brief waiting for explorer to close
message thing?

dadiOH[_2_]
November 18th 09, 08:38 PM
Bill in Co. wrote:

> Well anyways, have you ever seen that brief waiting for explorer to
> close message thing?

No. It has to be shut down though, window open or not, as it is always
running.

--

dadiOH
____________________________

dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico

Pegasus [MVP]
November 18th 09, 08:41 PM
"Bill in Co." > wrote in message
...
> Pegasus [MVP] wrote:
>> "Bill in Co." > wrote in message
>> ...
>>> I've got a shortcut on the desktop to shutdown the computer (linked to
>>> shutdown.exe, as it's more convenient and simpler to use than the Start
>>> Menu), and it works pretty well, but something puzzles me.
>>>
>>> For some strange reason, it has been logging the shutdown process under
>>> the name "USER32" (in System Event Viewer), unlike anything else listed
>>> in
>>> there. Why isn't it under the normal ownership name of Service Control
>>> Manager like everything else?
>>>
>>> I think this "change" in "apparent ownership" happened some time ago
>>> (around 9/14) when I was trying to clean up the Tray Notify Icon Streams
>>> and Past Icon Streams in the registry by deleting those two keys, so
>>> they'd get cleanly rebuilt on reboot. (thereby removing some of the old
>>> junk left in there from the past; doing so also removes past items from
>>> the Notification Area).
>>>
>>> Is there a way to change the shutdown ownership back to what I think its
>>> supposed to be (i.e, used to be as I recall), e.g: Service Control
>>> Manager, instead of this weird USER32 thing? I mean, I'm the only user
>>> and am automatically logged in as such, on this XP Home computer, so I
>>> don't think there should be a USER32 entry here.
>>
>> Can't tell unless you post the exact command that your shortcut executes.
>
> Already posted in my addended reply. Here it is again, Pegasus:
>
> WindowsXPShutdown shortcut properties, as follows:
>
> Target: %windir%\system32\shutdown.exe -s -t 4 (gives a 4 sec delay)
> Start in: %windir%
>

Sorry, overlooked your appended reply. Anyway, I tend to go with dadiOH's
assessment: Nothing much to worry about. If it was a big deal then I'd spend
5 or 10 minutes testing it on my own machine but I don't quite see the
point.

Google