I'm using Windows 7 x64 Ultimate and I would like some help from a Windows 7 Guru with Windows 7 power saving defaults.
The problem that I am having is that my USB keyboard and mouse both default to wake up after the drivers have installed which gets annoying having to keep remembering to disable the wake up in device manager. Whenever either the keyboard or mouse are unplugged and replugged they default to waking up the computer. I keep getting my PC waking up whenever the mouse is moved or the keyboard is touched.
I would rather have the defaults set to wakeup disabled.
Is this possible to do? Any way around this except for not unplugging them? I cannot believe that this default behaviour is acceptable to most people except for the extremely lazy.
Thanks for the suggestion GokAy, I don't think that my Bios has such an option but I will check when I next reboot. I think that this needs to be solved from the driver level, unless there is some registry tweak that can force the driver to do it by default. It might need a tweak to the driver but seeing as it is a standard M$ driver, doing that represents a problem. Unless the driver could be altered and then installed. However this is all wild guessing ATM.
BTW, yes it's one of the few uses for the power button and I don't like letting things go to waste.
Yes, I did mention that I could disable it and that is not the problem. It's that if the keyboard/mouse are unplugged and replugged, windows re-installs the driver and forgets the disabled wake up and then I get the mouse waking the PC because I forget to disable it again.
I am looking for a driver to see if I can make any modifications to prevent the default behaviour.
Then get https://win7suspendresume.codeplex.com/ and select sleep.bat for Suspend action, so just before every time you go to sleep, they are auto-disabled.
Would this work?
Note: I see 4 devices that can wake my PC. 2 keyboards, 1 mouse and the Ethernet card. So 3 devices to disable. Yours may be different.
I have tried the first cmd you posted and it did not show anything which is expected because everything was disabled. However after enabling the wakeup for the mouse and re-running it it does list the mouse.
I have downloaded the program and tried it but it is not doing the job. My PC enters sleep very quickly and the script never has time to complete even if I set it to wait. Therefore the device wakeup do not get disabled until after my PC resumes. The script is taking about 15-16 seconds to run which seems very slow. The powercfg command runs very slowly, even the first one you posted took a lot of seconds to run.
sleep.bat:WaitForExit
The command window is opening at suspend, I do see it just before my PC sleeps, but the script is not completing so it does not stop the re-awaking. Not until afterwards when my system resumes. I did check device manager and the devices wake up is disabled.
Anyway it's getting very late so I will have to resume this after sleep. I just hope there is no unplanned wake up enabled. lol
The first command (listing devices) is instant for me by the way. I will try disabling later as I mentioned.
--Make sure you are running bat with suspend and not resume in the meanwhile.-- I see you set it up correctly, try the batch file manually and see how long it takes.
My Computer
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
AMD Phenom 2 1090T
Motherboard
Gigabyte GA-890FXA-UD5
Memory
2x8GB Kingston HyperX Fury Black 1600Mhz Unganged
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Realtek On-Board HD 7.1 Audio / Logitech G35
Monitor(s) Displays
3xAcer GD245HQ
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro 512GB SSD - OS /
WD Caviar Black SATA 3 - 1 TBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GB - Internal Backup /
Seagate Barracude SATA 3 - 3TB - External Backup/ Sync
PSU
HighPower 1000W
Case
Cooler Master HAF 932
Cooling
Noctua NH-D14
Keyboard
Logitech G19
Mouse
Logitech G500
Internet Speed
100/4 Mbit Cable (100GB quota)
Antivirus
ZoneAlarm Extreme Security / MBAM Pro / MBAE Free / SAS Free