Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

No more blah, blah, blah! -- Kirk, "Miri", stardate 2713.6


computers / alt.comp.os.windows-10 / Re: Eliminating the start menu when waking

SubjectAuthor
* Eliminating the start menu when wakingsticks
+* Eliminating the start menu when wakingPaul
|`* Eliminating the start menu when wakingsticks
| `* Eliminating the start menu when wakingsticks
|  `* Eliminating the start menu when wakingPaul
|   `* Eliminating the start menu when wakingsticks
|    `* Eliminating the start menu when wakingFrank Slootweg
|     +- Eliminating the start menu when wakingsticks
|     `- Eliminating the start menu when wakingPaul
`- Eliminating the start menu when wakingFrank Slootweg

1
Eliminating the start menu when waking

<ueqset$1nts1$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74282&group=alt.comp.os.windows-10#74282

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wolverine01@charter.net (sticks)
Newsgroups: alt.comp.os.windows-10
Subject: Eliminating the start menu when waking
Date: Sun, 24 Sep 2023 21:49:01 -0500
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <ueqset$1nts1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 25 Sep 2023 02:49:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8395f7a0206d331a9d7d8bb5bff01245";
logging-data="1832833"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gljGLMBiqPEYVHAVMkJna"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Betterbird/102.15.1
Cancel-Lock: sha1:nQWTQUGRJOVpzQ1cKlB7XX+BpzA=
Content-Language: en-US
 by: sticks - Mon, 25 Sep 2023 02:49 UTC

I am thinking about how to get rid of the start menu opening up every
time I wake the computer from sleep. I am unaware of a current system
option to do this. I have read if you restart from the command prompt,
the menu will not appear.

Has anyone made a batch file to run that would do the shutdown to sleep
to accomplish this? If so, what would the command be, and are there any
other steps, like granting permissions that would be necessary?

TIA

Re: Eliminating the start menu when waking

<uer1lr$1olpp$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74283&group=alt.comp.os.windows-10#74283

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: Mon, 25 Sep 2023 00:18:01 -0400
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <uer1lr$1olpp$1@dont-email.me>
References: <ueqset$1nts1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Sep 2023 04:18:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7e9b9b501cafb48d4f4f9af83bcb631c";
logging-data="1857337"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/n5Ahj8SGq23uE8QmLva9pYN0Wp8cD5YA="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:bij0C2Sag/GGsHkm5yLp9JyXbVU=
In-Reply-To: <ueqset$1nts1$1@dont-email.me>
Content-Language: en-US
 by: Paul - Mon, 25 Sep 2023 04:18 UTC

On 9/24/2023 10:49 PM, sticks wrote:
> I am thinking about how to get rid of the start menu opening up every time I wake the computer from sleep.  I am unaware of a current system option to do this. I have read if you restart from the command prompt, the menu will not appear.
>
> Has anyone made a batch file to run that would do the shutdown to sleep to accomplish this?  If so, what would the command be, and are there any other steps, like granting permissions that would be necessary?
>
> TIA

https://www.thewindowsclub.com/windows-10-start-menu-always-opening-up

"if you used Power Options > Restart, which is present in the Start Menu,
your Start Menu would have been open before your computer went to Sleep
and so it would remain open after you came back to your desktop after Sleep."

Try clicking the desktop, press Alt-F4 and use the shutdown menu to select Sleep.

Paul

Re: Eliminating the start menu when waking

<ues8j5$1vquk$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74289&group=alt.comp.os.windows-10#74289

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wolverine01@charter.net (sticks)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: Mon, 25 Sep 2023 10:22:11 -0500
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <ues8j5$1vquk$1@dont-email.me>
References: <ueqset$1nts1$1@dont-email.me> <uer1lr$1olpp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Sep 2023 15:22:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8395f7a0206d331a9d7d8bb5bff01245";
logging-data="2091988"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bdIPrNOG2A1LVomZ9wjx1"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Betterbird/102.15.1
Cancel-Lock: sha1:4O0yCnuQg4XzIWZqwnwaib6NkVA=
Content-Language: en-US
In-Reply-To: <uer1lr$1olpp$1@dont-email.me>
 by: sticks - Mon, 25 Sep 2023 15:22 UTC

On 9/24/2023 11:18 PM, Paul wrote:
> On 9/24/2023 10:49 PM, sticks wrote:
>> I am thinking about how to get rid of the start menu opening up every time I wake the computer from sleep.  I am unaware of a current system option to do this. I have read if you restart from the command prompt, the menu will not appear.
>>
>> Has anyone made a batch file to run that would do the shutdown to sleep to accomplish this?  If so, what would the command be, and are there any other steps, like granting permissions that would be necessary?
>>
>> TIA
>
> https://www.thewindowsclub.com/windows-10-start-menu-always-opening-up
>
> "if you used Power Options > Restart, which is present in the Start Menu,
> your Start Menu would have been open before your computer went to Sleep
> and so it would remain open after you came back to your desktop after Sleep."
>
> Try clicking the desktop, press Alt-F4 and use the shutdown menu to select Sleep.
>
> Paul
>

Thanks. Both of those options work. I'll experiment later with a batch
to make it simpler and see if it can be done that way.

Re: Eliminating the start menu when waking

<uesh7b.n3k.1@ID-201911.user.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74291&group=alt.comp.os.windows-10#74291

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: 25 Sep 2023 15:49:43 GMT
Organization: NOYB
Lines: 23
Message-ID: <uesh7b.n3k.1@ID-201911.user.individual.net>
References: <ueqset$1nts1$1@dont-email.me>
X-Trace: individual.net gxj0aOen635tFMawu99DvQ+yzw3fQmz2zCkyL9vafmHazawxRt
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:tQgOXUZgz+srdkAphWVSzAc2qsg= sha256:3xMCXVmNRZUio6UqCDuZsmmCwyqCYTJspkRVf/71kLw=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
 by: Frank Slootweg - Mon, 25 Sep 2023 15:49 UTC

sticks <wolverine01@charter.net> wrote:
> I am thinking about how to get rid of the start menu opening up every
> time I wake the computer from sleep. I am unaware of a current system
> option to do this. I have read if you restart from the command prompt,
> the menu will not appear.
>
> Has anyone made a batch file to run that would do the shutdown to sleep
> to accomplish this? If so, what would the command be, and are there any
> other steps, like granting permissions that would be necessary?

On my wife's system, I use NirSoft's 'ndircmd' with the 'standby'
option, to initiate a Sleep.

I put '<path>\ndircmd.exe standby' as the 'Target' of a shortcut,
change the icon of the shortcut to a power button and put the shortcut
on the Taskbar, so it can be easily clicked.

Bad news: This probably won't work on a Windows 11 system, because
those systems often have 'Hybrid sleep' instead of old-style sleep and
'ndircmd.exe standby' will probably do a hibernate on those systems (it
does no mine).

HTH.

Re: Eliminating the start menu when waking

<uesog6$230fn$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74304&group=alt.comp.os.windows-10#74304

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wolverine01@charter.net (sticks)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: Mon, 25 Sep 2023 14:53:40 -0500
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <uesog6$230fn$1@dont-email.me>
References: <ueqset$1nts1$1@dont-email.me> <uer1lr$1olpp$1@dont-email.me>
<ues8j5$1vquk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Sep 2023 19:53:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8395f7a0206d331a9d7d8bb5bff01245";
logging-data="2195959"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188YaCE1h0eE8eoYfKSC79Z"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Betterbird/102.15.1
Cancel-Lock: sha1:/iICraPhIqCxl5ZUBKR4di0ztp4=
In-Reply-To: <ues8j5$1vquk$1@dont-email.me>
Content-Language: en-US
 by: sticks - Mon, 25 Sep 2023 19:53 UTC

On 9/25/2023 10:22 AM, sticks wrote:
> On 9/24/2023 11:18 PM, Paul wrote:
>> On 9/24/2023 10:49 PM, sticks wrote:
>>> I am thinking about how to get rid of the start menu opening up every
>>> time I wake the computer from sleep.  I am unaware of a current
>>> system option to do this. I have read if you restart from the command
>>> prompt, the menu will not appear.
>>>
>>> Has anyone made a batch file to run that would do the shutdown to
>>> sleep to accomplish this?  If so, what would the command be, and are
>>> there any other steps, like granting permissions that would be
>>> necessary?
>>>
>>> TIA
>>
>> https://www.thewindowsclub.com/windows-10-start-menu-always-opening-up
>>
>>     "if you used Power Options > Restart, which is present in the
>> Start Menu,
>>      your Start Menu would have been open before your computer went to
>> Sleep
>>      and so it would remain open after you came back to your desktop
>> after Sleep."
>>
>> Try clicking the desktop, press Alt-F4 and use the shutdown menu to
>> select Sleep.
>>
>>     Paul
>>
>
> Thanks.  Both of those options work.  I'll experiment later with a batch
> to make it simpler and see if it can be done that way.

OK. The batch file does what I want. Wakes up without the start menu
opening. One more step, though.
------------
@echo off
:home
cls
Rundll32.exe Powrprof.dll,SetSuspendState Sleep
------------

I placed the bat in my documents and sent a shortcut to the desktop.
Gave it administrator privileges
Renamed to "Sleep"
Changed icon.

This worked but you still had to go through the popup from User Account
Control asking if you wanted to allow Windows Command Prompt Processor
to make changes.
To get rid of this I went to the Control Panel/User Accounts/Change User
Accounts Control Settings, and dropped the slider all the way to the
bottom "Never Notify".

If you want to do this but don't want to change the control settings,
the other two options above are almost as easy. Just a few more
keystrokes or mouse clicks.

Re: Eliminating the start menu when waking

<uetj2o$2b485$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74308&group=alt.comp.os.windows-10#74308

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: Mon, 25 Sep 2023 23:27:19 -0400
Organization: A noiseless patient Spider
Lines: 94
Message-ID: <uetj2o$2b485$1@dont-email.me>
References: <ueqset$1nts1$1@dont-email.me> <uer1lr$1olpp$1@dont-email.me>
<ues8j5$1vquk$1@dont-email.me> <uesog6$230fn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Sep 2023 03:27:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1f915ccf3451c59f30a2aabab9ab8daf";
logging-data="2461957"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19u3aXUmWh9LJIbiWKKvBAPxBSiWnj1bRw="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:tZ/vPZpuvi2KltgBl7AlJnopYds=
Content-Language: en-US
In-Reply-To: <uesog6$230fn$1@dont-email.me>
X-Mozilla-News-Host: news://nntp.aioe.org
 by: Paul - Tue, 26 Sep 2023 03:27 UTC

On 9/25/2023 3:53 PM, sticks wrote:
> On 9/25/2023 10:22 AM, sticks wrote:
>> On 9/24/2023 11:18 PM, Paul wrote:
>>> On 9/24/2023 10:49 PM, sticks wrote:
>>>> I am thinking about how to get rid of the start menu opening up every time I wake the computer from sleep.  I am unaware of a current system option to do this. I have read if you restart from the command prompt, the menu will not appear.
>>>>
>>>> Has anyone made a batch file to run that would do the shutdown to sleep to accomplish this?  If so, what would the command be, and are there any other steps, like granting permissions that would be necessary?
>>>>
>>>> TIA
>>>
>>> https://www.thewindowsclub.com/windows-10-start-menu-always-opening-up
>>>
>>>     "if you used Power Options > Restart, which is present in the Start Menu,
>>>      your Start Menu would have been open before your computer went to Sleep
>>>      and so it would remain open after you came back to your desktop after Sleep."
>>>
>>> Try clicking the desktop, press Alt-F4 and use the shutdown menu to select Sleep.
>>>
>>>     Paul
>>>
>>
>> Thanks.  Both of those options work.  I'll experiment later with a batch to make it simpler and see if it can be done that way.
>
> OK.  The batch file does what I want.  Wakes up without the start menu opening.  One more step, though.
> ------------
> @echo off
> :home
> cls
> Rundll32.exe Powrprof.dll,SetSuspendState Sleep
> ------------
>
> I placed the bat in my documents and sent a shortcut to the desktop.
> Gave it administrator privileges
> Renamed to "Sleep"
> Changed icon.
>
> This worked but you still had to go through the popup from User Account Control asking if you wanted to allow Windows Command Prompt Processor to make changes.
> To get rid of this I went to the Control Panel/User Accounts/Change User Accounts Control Settings, and dropped the slider all the way to the bottom "Never Notify".
>
> If you want to do this but don't want to change the control settings, the other two options above are almost as easy.  Just a few more keystrokes or mouse clicks.

whoami /user /priv # This command, gives privilege level.
# If you have five privileges, you're unelevated
# If you have somewhere around eighteen privileges, you're likely an elevated admin group member

When you click on a .bat file, you are likely launching it as unelevated admin group member.
And you aren't really elevated. If you launch from the scheduled tasks, that launches
items as SYSTEM account.

This command allows you to run things as SYSTEM account.
Similar to how the Task Scheduler runs things (as SYSTEM).
On Windows 11, this worked once for me, then stopped.
Maybe it will help you on Win10, but the similarity of the
two OSes, and the changes pushed out, who knows. The Sysinternals
stuff used to work just fine, at one time, but it's fun to break
things, for those 7000 staff.

https://learn.microsoft.com/en-us/sysinternals/downloads/psexec

psexec -hsi cmd <=== 32 bit OS, opens SYSTEM cmd.exe window
psexec64 -hsi cmd <=== 64 bit OS, opens SYSTEM cmd.exe window

*******

After testing this stuff, I found this one works whether Hibernation
is enabled or disabled. One of the other Sleep methods, gets tangled
in Hibernation, and then the script to go to Sleep ends up a silly
piece of crap.

So this is the winner so far. Put this in your script.

https://www.nirsoft.net/utils/nircmd.html # Downloads are at the bottom of each page

nircmd standby # sleep S3

I don't normally use Sleep, and I am annoyed to discover my mouse is set
to wake the computer, and the mouse buttons don't do anything. I had to
use the power button on the front (momentary press is enough), as that
always works for sleep. Whereas other "wakers" can be "flaky".

I tested with hibernation on and off, and it slept properly for both,
without doing a hybrid sleep on me and burning up SSD. I ran the
command from an unelevated terminal window.

Maybe that will work for your script.

The rundll32 is apparently only valid for library calls of type VOID,
and does not tolerate things returned on the stack. Consequently, the
invocation you were trying, causes stack corruption. (Not that it matters)

There is also a powershell script for invoking sleep. Maybe four or five lines.
I didn't bother pasting this in, as the nircmd looks like a winner.

Paul

Re: Eliminating the start menu when waking

<ueuqdl$2hvj2$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74313&group=alt.comp.os.windows-10#74313

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wolverine01@charter.net (sticks)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: Tue, 26 Sep 2023 09:38:44 -0500
Organization: A noiseless patient Spider
Lines: 102
Message-ID: <ueuqdl$2hvj2$1@dont-email.me>
References: <ueqset$1nts1$1@dont-email.me> <uer1lr$1olpp$1@dont-email.me>
<ues8j5$1vquk$1@dont-email.me> <uesog6$230fn$1@dont-email.me>
<uetj2o$2b485$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Sep 2023 14:38:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c824415f03971e95c0a9bbd04d3d3711";
logging-data="2686562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DOoDhH2ZT+RBJcU71AOPu"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Betterbird/102.15.1
Cancel-Lock: sha1:vDQ9TJYMhyxBkZ0oeGDGcwasZPQ=
Content-Language: en-US
In-Reply-To: <uetj2o$2b485$1@dont-email.me>
 by: sticks - Tue, 26 Sep 2023 14:38 UTC

On 9/25/2023 10:27 PM, Paul wrote:
> On 9/25/2023 3:53 PM, sticks wrote:
>> On 9/25/2023 10:22 AM, sticks wrote:
>>> On 9/24/2023 11:18 PM, Paul wrote:
>>>> On 9/24/2023 10:49 PM, sticks wrote:
>>>>> I am thinking about how to get rid of the start menu opening up every time I wake the computer from sleep.  I am unaware of a current system option to do this. I have read if you restart from the command prompt, the menu will not appear.
>>>>>
>>>>> Has anyone made a batch file to run that would do the shutdown to sleep to accomplish this?  If so, what would the command be, and are there any other steps, like granting permissions that would be necessary?
>>>>>
>>>>> TIA
>>>>
>>>> https://www.thewindowsclub.com/windows-10-start-menu-always-opening-up
>>>>
>>>>     "if you used Power Options > Restart, which is present in the Start Menu,
>>>>      your Start Menu would have been open before your computer went to Sleep
>>>>      and so it would remain open after you came back to your desktop after Sleep."
>>>>
>>>> Try clicking the desktop, press Alt-F4 and use the shutdown menu to select Sleep.
>>>>
>>>>     Paul
>>>>
>>>
>>> Thanks.  Both of those options work.  I'll experiment later with a batch to make it simpler and see if it can be done that way.
>>
>> OK.  The batch file does what I want.  Wakes up without the start menu opening.  One more step, though.
>> ------------
>> @echo off
>> :home
>> cls
>> Rundll32.exe Powrprof.dll,SetSuspendState Sleep
>> ------------
>>
>> I placed the bat in my documents and sent a shortcut to the desktop.
>> Gave it administrator privileges
>> Renamed to "Sleep"
>> Changed icon.
>>
>> This worked but you still had to go through the popup from User Account Control asking if you wanted to allow Windows Command Prompt Processor to make changes.
>> To get rid of this I went to the Control Panel/User Accounts/Change User Accounts Control Settings, and dropped the slider all the way to the bottom "Never Notify".
>>
>> If you want to do this but don't want to change the control settings, the other two options above are almost as easy.  Just a few more keystrokes or mouse clicks.
>
> whoami /user /priv # This command, gives privilege level.
> # If you have five privileges, you're unelevated
> # If you have somewhere around eighteen privileges, you're likely an elevated admin group member
>
> When you click on a .bat file, you are likely launching it as unelevated admin group member.
> And you aren't really elevated. If you launch from the scheduled tasks, that launches
> items as SYSTEM account.
>
> This command allows you to run things as SYSTEM account.
> Similar to how the Task Scheduler runs things (as SYSTEM).
> On Windows 11, this worked once for me, then stopped.
> Maybe it will help you on Win10, but the similarity of the
> two OSes, and the changes pushed out, who knows. The Sysinternals
> stuff used to work just fine, at one time, but it's fun to break
> things, for those 7000 staff.
>
> https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
>
> psexec -hsi cmd <=== 32 bit OS, opens SYSTEM cmd.exe window
> psexec64 -hsi cmd <=== 64 bit OS, opens SYSTEM cmd.exe window
>
> *******
>
> After testing this stuff, I found this one works whether Hibernation
> is enabled or disabled. One of the other Sleep methods, gets tangled
> in Hibernation, and then the script to go to Sleep ends up a silly
> piece of crap.
>
> So this is the winner so far. Put this in your script.
>
> https://www.nirsoft.net/utils/nircmd.html # Downloads are at the bottom of each page
>
> nircmd standby # sleep S3
>
> I don't normally use Sleep, and I am annoyed to discover my mouse is set
> to wake the computer, and the mouse buttons don't do anything. I had to
> use the power button on the front (momentary press is enough), as that
> always works for sleep. Whereas other "wakers" can be "flaky".
>
> I tested with hibernation on and off, and it slept properly for both,
> without doing a hybrid sleep on me and burning up SSD. I ran the
> command from an unelevated terminal window.
>
> Maybe that will work for your script.
>
> The rundll32 is apparently only valid for library calls of type VOID,
> and does not tolerate things returned on the stack. Consequently, the
> invocation you were trying, causes stack corruption. (Not that it matters)
>
> There is also a powershell script for invoking sleep. Maybe four or five lines.
> I didn't bother pasting this in, as the nircmd looks like a winner.
>
> Paul

I guess I am a little confused as to the benefit of doing it with
nirsoft. Are you saying installing the utility and using their script
will do the same thing, but not require the User Account Control
Settings to be lowered? It just does the shutdown without asking for
anything?

Re: Eliminating the start menu when waking

<uev4h2.k68.1@ID-201911.user.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74314&group=alt.comp.os.windows-10#74314

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: 26 Sep 2023 15:31:28 GMT
Organization: NOYB
Lines: 18
Message-ID: <uev4h2.k68.1@ID-201911.user.individual.net>
References: <ueqset$1nts1$1@dont-email.me> <uer1lr$1olpp$1@dont-email.me> <ues8j5$1vquk$1@dont-email.me> <uesog6$230fn$1@dont-email.me> <uetj2o$2b485$1@dont-email.me> <ueuqdl$2hvj2$1@dont-email.me>
X-Trace: individual.net GsBnKuaO3F0EBhF7BhD1xgp3t4hteNbGMd5UdRGe+qxL4KAKZ6
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:dIxrtFrAGikZYSTfSDGRL4m/MPQ= sha256:JXYWZaCvTR3cYfKVHUjYptvy+v6VwbyvN9Hiizdei20=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
 by: Frank Slootweg - Tue, 26 Sep 2023 15:31 UTC

sticks <wolverine01@charter.net> wrote:
> On 9/25/2023 10:27 PM, Paul wrote:

[Lots deleted.]

> I guess I am a little confused as to the benefit of doing it with
> nirsoft. Are you saying installing the utility and using their script
> will do the same thing, but not require the User Account Control
> Settings to be lowered? It just does the shutdown without asking for
> anything?

In short: Yes and yes.

Long: 'nircmd standby' indeed does not trigger a UAC popup. And yes,
it just does the *sleep* (not "shutdown") without asking for anything.

See my response (Earlier than Paul's. Didn't you see it?) and note the
part about it maybe not working in Windows 11 ('Hybrid sleep').

Re: Eliminating the start menu when waking

<uev37b$2jijm$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74315&group=alt.comp.os.windows-10#74315

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wolverine01@charter.net (sticks)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: Tue, 26 Sep 2023 12:09:00 -0500
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uev37b$2jijm$1@dont-email.me>
References: <ueqset$1nts1$1@dont-email.me> <uer1lr$1olpp$1@dont-email.me>
<ues8j5$1vquk$1@dont-email.me> <uesog6$230fn$1@dont-email.me>
<uetj2o$2b485$1@dont-email.me> <ueuqdl$2hvj2$1@dont-email.me>
<uev4h2.k68.1@ID-201911.user.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Sep 2023 17:09:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c824415f03971e95c0a9bbd04d3d3711";
logging-data="2738806"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Lxk6BStcwYekPH4enPOz/"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Betterbird/102.15.1
Cancel-Lock: sha1:vndqafCx3d6XSFkLsprjX9FLeqw=
Content-Language: en-US
In-Reply-To: <uev4h2.k68.1@ID-201911.user.individual.net>
 by: sticks - Tue, 26 Sep 2023 17:09 UTC

On 9/26/2023 10:31 AM, Frank Slootweg wrote:
> sticks <wolverine01@charter.net> wrote:
>> On 9/25/2023 10:27 PM, Paul wrote:
>
> [Lots deleted.]
>
>> I guess I am a little confused as to the benefit of doing it with
>> nirsoft. Are you saying installing the utility and using their script
>> will do the same thing, but not require the User Account Control
>> Settings to be lowered? It just does the shutdown without asking for
>> anything?
>
> In short: Yes and yes.

OK, I guess this is probably better, though I don't recall ever seeing a
user control box pop up for anything other than something I initiated.
I have the slider back up two notches and it just does it.

> Long: 'nircmd standby' indeed does not trigger a UAC popup. And yes,
> it just does the *sleep* (not "shutdown") without asking for anything.

First time I tried it, without administrator privileges, it worked as
desired. Out of curiosity, I checked the properties box on my shortcut
to allow it to run with executive privileges and the user control box
popped up. I switched back and un-clicked it and it is again gone. I
would have thought it would be the other way around, but I have no idea
why checking the box does that. Alas, it works.

> See my response (Earlier than Paul's. Didn't you see it?) and note the
> part about it maybe not working in Windows 11 ('Hybrid sleep').

I did see your response, but didn't answer because the post didn't
include any reference to the user control issue. Once I had figured
that out without having to add the nirsoft utility, I figured that was
good enough. But I now agree your way is better. I really should keep
the slider up to notify for safety.

Thanks to you and Paul.

Re: Eliminating the start menu when waking

<uev6mj$2kc6m$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=74317&group=alt.comp.os.windows-10#74317

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Eliminating the start menu when waking
Date: Tue, 26 Sep 2023 14:08:19 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <uev6mj$2kc6m$2@dont-email.me>
References: <ueqset$1nts1$1@dont-email.me> <uer1lr$1olpp$1@dont-email.me>
<ues8j5$1vquk$1@dont-email.me> <uesog6$230fn$1@dont-email.me>
<uetj2o$2b485$1@dont-email.me> <ueuqdl$2hvj2$1@dont-email.me>
<uev4h2.k68.1@ID-201911.user.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Sep 2023 18:08:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1f915ccf3451c59f30a2aabab9ab8daf";
logging-data="2765014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xhCsahaW9QCL9jMmKwfS+NcE9dIaEiA8="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:I+9tfIOu3LIeTZGnDpbaVJPSh68=
In-Reply-To: <uev4h2.k68.1@ID-201911.user.individual.net>
Content-Language: en-US
 by: Paul - Tue, 26 Sep 2023 18:08 UTC

On 9/26/2023 11:31 AM, Frank Slootweg wrote:
> sticks <wolverine01@charter.net> wrote:
>> On 9/25/2023 10:27 PM, Paul wrote:
>
> [Lots deleted.]
>
>> I guess I am a little confused as to the benefit of doing it with
>> nirsoft. Are you saying installing the utility and using their script
>> will do the same thing, but not require the User Account Control
>> Settings to be lowered? It just does the shutdown without asking for
>> anything?
>
> In short: Yes and yes.
>
> Long: 'nircmd standby' indeed does not trigger a UAC popup. And yes,
> it just does the *sleep* (not "shutdown") without asking for anything.
>
> See my response (Earlier than Paul's. Didn't you see it?) and note the
> part about it maybe not working in Windows 11 ('Hybrid sleep').
>

First I tested my "collection" of elevation tricks,
and I was getting nowhere. Some of the tricks being broken now.

I researched the rundll32 thing and saw comments to the
effect that one is not perfect.

Then I had to descend to third party (wizmo or nircmd),
and I was relieved to get "something" to work :-/

So that's how my day went.

Paul


computers / alt.comp.os.windows-10 / Re: Eliminating the start menu when waking

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor