Jan 28, 2014 How to bring a tablet into standby mode via batch/run command?%windir% system32 rundll32.exe PowrProf.dll, SetSuspendState Standby. You can create simple desktop shortcuts to hibernate, sleep or turn off Windows from. C: Windows System32 rundll32.exe powrprof.dll, SetSuspendState 0,1,0.
![]() I have an old desktop with out of date bios that will not sleep
Check and make sure that your graphics card/device is using an OEM driver. Drivers for Windows 8/8.1 may work if you cannot find a driver for Windows 10. If it's using a Microsoft Basic Display driver (or something like that), sleep will not work.
Secondly, Windows 10 fully supports hibernating, and hibernation sometimes works even if sleep will not. Just in case, it may be worth following the steps below to enable hibernation:
If the hibernate option is missing in steps 7 and/or 8, your laptop probably has a driver issue preventing it from using low power states.
Regarding commands, the very popular 'rundll32.exe powrprof.dll,SetSuspendState 0,0,0' command on the Internet is totally invalid. It is not supposed to work, and does only inadvertently. The SetSuspendState function expects three parameters:
All would be fine and dandy if Rundll32 passed the parameters on as specified. However, it does not. Rundll32 uses the following preset parameters, regardless of the arguments passed to it:
All those parameters will be non-zero numbers regardless of what you specify in the command line. Therefore, any call to SetSuspendState from Rundll32 will equal calling SetSuspendState (True, True, True), which asks the system to force hibernate and disable all scheduled tasks that are scheduled to wake the computer up. Disabling hibernation and then asking Windows to enter hibernation is not a very good workaround to accomplish standby.
So, here are some valid commands:
Follow-up post could be on how / whether / to what extent FIXPARALLEL changes all this. Can you get that done by the end of the week?:-). Serial crystal ball 11.1.2.3. TimG, Thank you for your kind words but they should be aimed solely at Peter. These are probably discussions for a beer rather than a blog comment.
![]()
Unfortunately, after all the features it has, the Microsoft shutdown command is missing the standby feature! So, it you want to put your computer to sleep via command line, you'll need to install a more capable tool before you can use the last command above:
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |