DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How to prevent Win+S from sending the system to sleep?  (Read 17,661 times)

sri

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 689
How to prevent Win+S from sending the system to sleep?
« on: July 21, 2008, 02:08 AM »
On both Windows XP and Vista, pressing Windows+S key stores the session into memory (not sure if it is standby/sleep or hibernate) and resumes when the system is restarted. How do I prevent this? I don't want Win+S key to do anything to do w/ power management.

Thanks in advance.

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
Re: How to prevent Win+S from sending the system to sleep?
« Reply #1 on: July 21, 2008, 02:26 AM »
create an autohotkey script that uses the win+s shortcut.
[Insert really cool signature here]

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: How to prevent Win+S from sending the system to sleep?
« Reply #2 on: July 21, 2008, 02:37 AM »
On both Windows XP and Vista, pressing Windows+S key stores the session into memory (not sure if it is standby/sleep or hibernate) and resumes when the system is restarted. How do I prevent this? I don't want Win+S key to do anything to do w/ power management.

Thanks in advance.

That doesn't seem to be one of the standard listed Windows key shortcuts, (Shortcuts - not saying it's a complete list).

On mine it opens up Stickies and I don't think the author would have grabbed an existing standard Windows shortcut.

Are you sure it's not your keyboard driver, (if using 3rd party kb - I've got a Logitech G15), or some software you're running that is mapping the key combination?

Does it do it in Safe Mode?   If not, then it's definitely a driver or software.

Also, normally power management by way of keyboard is usually handled by dedicated keys: power, sleep and wakeup, (at least on all the keyboards I've seen).

EDIT: Just had a look at Microsoft's site, they use 'Windows + S' for toggling CAPS Lock on their Natural keyboard.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903
« Last Edit: July 21, 2008, 02:41 AM by 4wd »

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: How to prevent Win+S from sending the system to sleep?
« Reply #3 on: July 21, 2008, 02:49 AM »
I have never had Win+S do anything on any of my PCs - PS/2 keyboard, wireless USB, G11, or laptops - it must be some weird software triggering it...

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: How to prevent Win+S from sending the system to sleep?
« Reply #4 on: July 21, 2008, 06:29 PM »
I'm not currently at my own computer, but Win+S does not make this PC sleep. It is a Microsoft Natural Multimedia. Win+S doesn't seem to do anything.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: How to prevent Win+S from sending the system to sleep?
« Reply #5 on: July 21, 2008, 07:05 PM »
in Opera at the moment,
Win+S selects the "Greetings tomos" text in top-left of page :)
Tom

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: How to prevent Win+S from sending the system to sleep?
« Reply #6 on: July 21, 2008, 07:15 PM »
in Opera at the moment,
Win+S selects the "Greetings tomos" text in top-left of page :)
Which would be pretty much the same as pressing 's' only ;) ('s' and 'w' cycle the selection on links of the page)

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: How to prevent Win+S from sending the system to sleep?
« Reply #7 on: July 21, 2008, 09:48 PM »
Win+S doesn't do anything here either, on XP64... so either it's a Vista feature, or some custom keyboard hotkey thingie?
- carpe noctem

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: How to prevent Win+S from sending the system to sleep?
« Reply #8 on: July 21, 2008, 09:52 PM »
@f0dder: nope, not on Vista64. From the testimonials on this thread, I think it must be related to some software sri has running.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: How to prevent Win+S from sending the system to sleep?
« Reply #9 on: July 21, 2008, 11:24 PM »
From the testimonials on this thread, I think it must be related to some software sri has running.

And it should be easy to track down since it's happening on both XP and Vista.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

cthorpe

  • Discount Coordinator
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 738
Re: How to prevent Win+S from sending the system to sleep?
« Reply #10 on: July 22, 2008, 02:25 AM »
On Vista Home Premium here and Win+S does a screen clipping in One Note 2007.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: How to prevent Win+S from sending the system to sleep?
« Reply #11 on: July 22, 2008, 02:45 AM »
@sri: do you have Phrase Express?  ;)  i vaguely remember someone here at DC complaining that a program assigns that key (Win+s) to System sleep, thereby conflicting with another program on that person's computer.

ok, found it.

...
Yikes!  I once tried Phrase Express and had fits with it. It took over the Win + S key and made it the Sleep key. But I use MS OneNote 2007, which uses the Win + S key for screen grabs - and Phrase Express does not allow their hotkeys to be disabled or modified. The developer's response to my query about this was to tell me to close all other programs that used Hotkeys whenever I used Phrase Express!!

I never used Phrase Express again!

Thanks.

Jim

Source: http://www.donationcoder.com/forum/index.php?topic=12040.0
« Last Edit: July 22, 2008, 02:50 AM by lanux128 »

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: How to prevent Win+S from sending the system to sleep?
« Reply #12 on: July 22, 2008, 08:11 AM »
@sri: do you have Phrase Express? 

- yes, I think sri uses/used-to use Phrase Express:

tinny, did you try the free Phrase Express. I am curious to understand why you would pay up for DA when you can have Phrase Express for free.

Well, sri, now you have at least one reason to try out DA ...  ;)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: How to prevent Win+S from sending the system to sleep?
« Reply #13 on: July 22, 2008, 12:06 PM »
good program, Direct Access - i got my copy from a recent giveaway.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: How to prevent Win+S from sending the system to sleep?
« Reply #14 on: July 22, 2008, 02:56 PM »
just found another thread where TucknDar reports that "PhraseExpress doesn't do that" anymore. so now we can only wait for sri's confirmation. ;)

PhraseExpress doesn't do that now, though. Just tried ;)

Original address: https://www.donationcoder.com/forum/index.php?topic=14137.0