Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Sleep problem

01 Jul 2012   #11
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

If i didn't make any typo's this command should disable your wireless keyboard.

Powercfg -devicedisablewake "Microsoft USB Dual Receiver Wireless Keyboard (IntelliType Pro)"

I just realized you have 2 keyboards that can wake the PC, but no mice are listed.
You also have the Network device that can wake the PC.

Make sure you have the quote marks at the beginning and end of the device name...


My System SpecsSystem Spec
.
01 Jul 2012   #12
PSCO2007

Windows 7 Professional X64
 
 

Quote   Quote: Originally Posted by DavidW7ncus View Post
If i didn't make any typo's this command should disable your wireless keyboard.

Powercfg -devicedisablewake "Microsoft USB Dual Receiver Wireless Keyboard (IntelliType Pro)"

I just realized you have 2 keyboards that can wake the PC, but no mice are listed.
You also have the Network device that can wake the PC.




Make sure you have the quote marks at the beginning and end of the device name...
I only have one keyboard (hard wired) and the wireless mouse connected.
My System SpecsSystem Spec
01 Jul 2012   #13
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

interesting - you can see it lists a wireless keyboard.
A mouse is not listed as being able to wake the PC.

did you try that last command i gave you?

did you do anything with media sharing recently, or add any PC's to your network?
My System SpecsSystem Spec
.

01 Jul 2012   #14
PSCO2007

Windows 7 Professional X64
 
 

Quote   Quote: Originally Posted by DavidW7ncus View Post
interesting - you can see it lists a wireless keyboard.
A mouse is not listed as being able to wake the PC.

did you try that last command i gave you?

did you do anything with media sharing recently, or add any PC's to your network?
Last command gave same message.
I don't do Media Sharing and have no network.
My System SpecsSystem Spec
01 Jul 2012   #15
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Quote:
Last command gave same message.
Same message as what?

The first command you entered in post #10 was missing the ending double-quote
, and you used MY device name.

I gave you an example of the command, but you should copy your device name(s) from the CMD window, and paste them into Notepad.
Then build your command to disable a device in Notepad.
Then copy the text back into the CMD window and run it.

That's what i do - makes it easier to fix and modify the text if there are errors...
My System SpecsSystem Spec
01 Jul 2012   #16
F5ing

Windows 7 Ultimate x64
 
 

It might be that the listing of two keyboards in that screenshot may be just referencing the wireless dongle as one device and the keyboard itself as a second device.
My System SpecsSystem Spec
02 Jul 2012   #17
Ernesto

64 bit windows 7 home premium
 
 

Quote   Quote: Originally Posted by tman69 View Post
network adapter should be set as attached pic shows--or else--'any' network activity will wake your machine
All ready tried that but it did work for a few hours
My System SpecsSystem Spec
02 Jul 2012   #18
PSCO2007

Windows 7 Professional X64
 
 
Sleep problem

Quote   Quote: Originally Posted by DavidW7ncus View Post
Quote:
Last command gave same message.
Same message as what?

The first command you entered in post #10 was missing the ending double-quote
, and you used MY device name.

I gave you an example of the command, but you should copy your device name(s) from the CMD window, and paste them into Notepad.
Then build your command to disable a device in Notepad.
Then copy the text back into the CMD window and run it.

That's what i do - makes it easier to fix and modify the text if there are errors...
After going through solutions. and failing, I was ready to do a restore from a previous Acronis backup.

By accident, I left the mouse untouched for 2 minutes ( I have set power option to sleep at that setting) and the monitor went dark AND the computer went to sleep and stayed there.

The mouse won't wake it, but pushing the power button immediately brings it out of Sleep.
I don't know why I can't set the box in Power Mgmt to turn off since it is grayed out, but at least this irritating problem is solved.

BTW, I tried entering the info with MY mouse in CMD, but kept getting "invalid parameter."
My System SpecsSystem Spec
02 Jul 2012   #19
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Glad you got this working, but i'm not sure what fixed it.

If case you're interested, one possibility for the invalid "parameter issue" is the CMD Buffer size.

Left click the icon in the upper left corner of the CMD window.
Click Properties.
Click the Layout tab.
Increase the Width of the Screen Buffer Size.
The default is 80, you could try 140, or whatever.

Your device name is so long (compared to mine) it might be too long for the std 80 width and wrapping to a 2nd line is an issue.

Increase the width so the powercfg command fits on one line in the CMD window.
My System SpecsSystem Spec
02 Jul 2012   #20
PSCO2007

Windows 7 Professional X64
 
 
sleep prob

Quote   Quote: Originally Posted by DavidW7ncus View Post
Glad you got this working, but i'm not sure what fixed it.

If case you're interested, one possibility for the invalid "parameter issue" is the CMD Buffer size.

Left click the icon in the upper left corner of the CMD window.
Click Properties.
Click the Layout tab.
Increase the Width of the Screen Buffer Size.
The default is 80, you could try 140, or whatever.

Your device name is so long (compared to mine) it might be too long for the std 80 width and wrapping to a 2nd line is an issue.

Increase the width so the powercfg command fits on one line in the CMD window.
I also found out what was causing the problem.
The Wifi adapter wasn't set to "turn off" and this was the only one I was able to "click"

I have no idea how this change happened, but I'm glad to finally put this sucker to bed.
Thanks for your help - I'll add to your rep.


Attached Images
Sleep problem-wifi-properties-pic.jpg 
My System SpecsSystem Spec
Reply

 Sleep problem




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Odd Sleep Problem
Well, of course this problem is odd: After all, it happens to me.... I've had sleep problems in the past, which have usually been due to an unsolved failure of Home Group to find an existing printer. Based on that, starting last Saturday, I pursued that when my computer would not go to sleep . ...
Performance & Maintenance
Sleep Problem
Hi Brink, Hope I am not hijacking thread. This problem just started. Followed your link for "last wake."
Performance & Maintenance
Problem with Sleep?
Hey everyone, I happened to be streaming some media to my PS3 from my desktop when it decided to go to sleep. I knocked the mouse to wake it up before it had shut off (the display had turned off ten minutes before) and it wasn't happy. The display did not turn back on for half an hour though the...
General Discussion
Sleep problem
My computer (hp pavilion dv3) will sleep the first time after a fresh boot and wake up fine (windows 7 ultimate) but after the first sleep, if I try to put it to sleep again it doesnt completely sleep, the screen goes black and it hangs, does anyone know why this occurs?
Performance & Maintenance
sleep problem
hi (sorry 4 bad english) i use RTM. i "sleep" my PC and when i turn it on , monitor does not turn on and stay off and i have to reset my system to fix it. but i dont have any problme with RC ! please help me.
General Discussion
Sleep problem; Goes into deeper sleep w/shortcut
I have a notebook connected to a monitor with external mouse/keyboard. When I put the notebook to sleep via the Start menu or the keyboard, it is able to wake out of it by moving the mouse around or pressing a key. However, when I create a shortcut to it for Windows Task Scheduler to enter...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App